Class CfnPredefinedAttributeProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnPredefinedAttributeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPredefinedAttributeProps>
- Enclosing interface:
CfnPredefinedAttributeProps
@Stability(Stable)
public static final class CfnPredefinedAttributeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPredefinedAttributeProps>
A builder for
CfnPredefinedAttributeProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.instanceArn
(String instanceArn) Sets the value ofCfnPredefinedAttributeProps.getInstanceArn()
Sets the value ofCfnPredefinedAttributeProps.getName()
values
(IResolvable values) Sets the value ofCfnPredefinedAttributeProps.getValues()
Sets the value ofCfnPredefinedAttributeProps.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnPredefinedAttributeProps.getInstanceArn()
- Parameters:
instanceArn
- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnPredefinedAttributeProps.getName()
- Parameters:
name
- The name of the predefined attribute. This parameter is required.- Returns:
this
-
values
Sets the value ofCfnPredefinedAttributeProps.getValues()
- Parameters:
values
- The values of a predefined attribute. This parameter is required.- Returns:
this
-
values
@Stability(Stable) public CfnPredefinedAttributeProps.Builder values(CfnPredefinedAttribute.ValuesProperty values) Sets the value ofCfnPredefinedAttributeProps.getValues()
- Parameters:
values
- The values of a predefined attribute. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPredefinedAttributeProps>
- Returns:
- a new instance of
CfnPredefinedAttributeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-