Class CfnService.EBSTagSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnService.EBSTagSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.EBSTagSpecificationProperty>
- Enclosing interface:
CfnService.EBSTagSpecificationProperty
@Stability(Stable)
public static final class CfnService.EBSTagSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.EBSTagSpecificationProperty>
A builder for
CfnService.EBSTagSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.propagateTags(String propagateTags) Sets the value ofCfnService.EBSTagSpecificationProperty.getPropagateTags()resourceType(String resourceType) Sets the value ofCfnService.EBSTagSpecificationProperty.getResourceType()Sets the value ofCfnService.EBSTagSpecificationProperty.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceType
@Stability(Stable) public CfnService.EBSTagSpecificationProperty.Builder resourceType(String resourceType) Sets the value ofCfnService.EBSTagSpecificationProperty.getResourceType()- Parameters:
resourceType- the value to be set. This parameter is required.- Returns:
this
-
propagateTags
@Stability(Stable) public CfnService.EBSTagSpecificationProperty.Builder propagateTags(String propagateTags) Sets the value ofCfnService.EBSTagSpecificationProperty.getPropagateTags()- Parameters:
propagateTags- the value to be set.- Returns:
this
-
tags
@Stability(Stable) public CfnService.EBSTagSpecificationProperty.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnService.EBSTagSpecificationProperty.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.EBSTagSpecificationProperty>- Returns:
- a new instance of
CfnService.EBSTagSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-