Class CfnFieldMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cases.CfnFieldMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFieldMixinProps>
- Enclosing interface:
CfnFieldMixinProps
@Stability(Stable)
public static final class CfnFieldMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFieldMixinProps>
A builder for
CfnFieldMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(CfnFieldPropsMixin.FieldAttributesProperty attributes) Sets the value ofCfnFieldMixinProps.getAttributes()attributes(IResolvable attributes) Sets the value ofCfnFieldMixinProps.getAttributes()build()Builds the configured instance.description(String description) Sets the value ofCfnFieldMixinProps.getDescription()Sets the value ofCfnFieldMixinProps.getDomainId()Sets the value ofCfnFieldMixinProps.getName()Sets the value ofCfnFieldMixinProps.getTags()Sets the value ofCfnFieldMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
Sets the value ofCfnFieldMixinProps.getAttributes()- Parameters:
attributes- Union of field attributes.- Returns:
this
-
attributes
@Stability(Stable) public CfnFieldMixinProps.Builder attributes(CfnFieldPropsMixin.FieldAttributesProperty attributes) Sets the value ofCfnFieldMixinProps.getAttributes()- Parameters:
attributes- Union of field attributes.- Returns:
this
-
description
Sets the value ofCfnFieldMixinProps.getDescription()- Parameters:
description- Description of the field.- Returns:
this
-
domainId
Sets the value ofCfnFieldMixinProps.getDomainId()- Parameters:
domainId- The unique identifier of the Cases domain.- Returns:
this
-
name
Sets the value ofCfnFieldMixinProps.getName()- Parameters:
name- Name of the field.- Returns:
this
-
tags
Sets the value ofCfnFieldMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
type
Sets the value ofCfnFieldMixinProps.getType()- Parameters:
type- Type of the field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFieldMixinProps>- Returns:
- a new instance of
CfnFieldMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-