Class CfnDomainProps.Builder
java.lang.Object
software.amazon.awscdk.services.healthagent.CfnDomainProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainProps>
- Enclosing interface:
CfnDomainProps
@Stability(Stable)
public static final class CfnDomainProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainProps>
A builder for
CfnDomainProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDomainProps.getName()tags(List<? extends CfnDomain.TagsItemsProperty> tags) Sets the value ofCfnDomainProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnDomainProps.getName()- Parameters:
name- The name of the Domain. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnDomainProps.Builder tags(List<? extends CfnDomain.TagsItemsProperty> tags) Sets the value ofCfnDomainProps.getTags()- Parameters:
tags- Tags associated with the Domain.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainProps>- Returns:
- a new instance of
CfnDomainProps - Throws:
NullPointerException- if any required attribute was not provided
-