Class CfnTaskTemplate.ConstraintsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnTaskTemplate.ConstraintsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskTemplate.ConstraintsProperty>
- Enclosing interface:
- CfnTaskTemplate.ConstraintsProperty
@Stability(Stable)
public static final class CfnTaskTemplate.ConstraintsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskTemplate.ConstraintsProperty>
A builder for
CfnTaskTemplate.ConstraintsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.invisibleFields(List<? extends Object> invisibleFields) Sets the value ofCfnTaskTemplate.ConstraintsProperty.getInvisibleFields()invisibleFields(IResolvable invisibleFields) Sets the value ofCfnTaskTemplate.ConstraintsProperty.getInvisibleFields()readOnlyFields(List<? extends Object> readOnlyFields) Sets the value ofCfnTaskTemplate.ConstraintsProperty.getReadOnlyFields()readOnlyFields(IResolvable readOnlyFields) Sets the value ofCfnTaskTemplate.ConstraintsProperty.getReadOnlyFields()requiredFields(List<? extends Object> requiredFields) Sets the value ofCfnTaskTemplate.ConstraintsProperty.getRequiredFields()requiredFields(IResolvable requiredFields) Sets the value ofCfnTaskTemplate.ConstraintsProperty.getRequiredFields()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
invisibleFields
@Stability(Stable) public CfnTaskTemplate.ConstraintsProperty.Builder invisibleFields(IResolvable invisibleFields) Sets the value ofCfnTaskTemplate.ConstraintsProperty.getInvisibleFields()- Parameters:
invisibleFields- Lists the fields that are invisible to agents.- Returns:
this
-
invisibleFields
@Stability(Stable) public CfnTaskTemplate.ConstraintsProperty.Builder invisibleFields(List<? extends Object> invisibleFields) Sets the value ofCfnTaskTemplate.ConstraintsProperty.getInvisibleFields()- Parameters:
invisibleFields- Lists the fields that are invisible to agents.- Returns:
this
-
readOnlyFields
@Stability(Stable) public CfnTaskTemplate.ConstraintsProperty.Builder readOnlyFields(IResolvable readOnlyFields) Sets the value ofCfnTaskTemplate.ConstraintsProperty.getReadOnlyFields()- Parameters:
readOnlyFields- Lists the fields that are read-only to agents, and cannot be edited.- Returns:
this
-
readOnlyFields
@Stability(Stable) public CfnTaskTemplate.ConstraintsProperty.Builder readOnlyFields(List<? extends Object> readOnlyFields) Sets the value ofCfnTaskTemplate.ConstraintsProperty.getReadOnlyFields()- Parameters:
readOnlyFields- Lists the fields that are read-only to agents, and cannot be edited.- Returns:
this
-
requiredFields
@Stability(Stable) public CfnTaskTemplate.ConstraintsProperty.Builder requiredFields(IResolvable requiredFields) Sets the value ofCfnTaskTemplate.ConstraintsProperty.getRequiredFields()- Parameters:
requiredFields- Lists the fields that are required to be filled by agents.- Returns:
this
-
requiredFields
@Stability(Stable) public CfnTaskTemplate.ConstraintsProperty.Builder requiredFields(List<? extends Object> requiredFields) Sets the value ofCfnTaskTemplate.ConstraintsProperty.getRequiredFields()- Parameters:
requiredFields- Lists the fields that are required to be filled by agents.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskTemplate.ConstraintsProperty>- Returns:
- a new instance of
CfnTaskTemplate.ConstraintsProperty - Throws:
NullPointerException- if any required attribute was not provided
-