Class CfnProfileProps.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnProfileProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProfileProps>
- Enclosing interface:
CfnProfileProps
@Stability(Stable)
public static final class CfnProfileProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProfileProps>
A builder for
CfnProfileProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.businessName
(String businessName) Sets the value ofCfnProfileProps.getBusinessName()
Sets the value ofCfnProfileProps.getEmail()
Sets the value ofCfnProfileProps.getLogging()
Sets the value ofCfnProfileProps.getName()
Sets the value ofCfnProfileProps.getPhone()
Sets the value ofCfnProfileProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
businessName
Sets the value ofCfnProfileProps.getBusinessName()
- Parameters:
businessName
- Returns the name for the business associated with this profile. This parameter is required.- Returns:
this
-
logging
Sets the value ofCfnProfileProps.getLogging()
- Parameters:
logging
- Specifies whether or not logging is enabled for this profile. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnProfileProps.getName()
- Parameters:
name
- Returns the display name for profile. This parameter is required.- Returns:
this
-
phone
Sets the value ofCfnProfileProps.getPhone()
- Parameters:
phone
- the value to be set. This parameter is required.- Returns:
this
-
email
Sets the value ofCfnProfileProps.getEmail()
- Parameters:
email
- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnProfileProps.getTags()
- Parameters:
tags
- A key-value pair for a specific profile. Tags are metadata that you can use to search for and group capabilities for various purposes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProfileProps>
- Returns:
- a new instance of
CfnProfileProps
- Throws:
NullPointerException
- if any required attribute was not provided
-