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