Class CfnTagSyncTaskProps.Builder
java.lang.Object
software.amazon.awscdk.services.resourcegroups.CfnTagSyncTaskProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTagSyncTaskProps>
- Enclosing interface:
CfnTagSyncTaskProps
@Stability(Stable)
public static final class CfnTagSyncTaskProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTagSyncTaskProps>
A builder for
CfnTagSyncTaskProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTagSyncTaskProps.getGroup()Sets the value ofCfnTagSyncTaskProps.getRoleArn()Sets the value ofCfnTagSyncTaskProps.getTagKey()Sets the value ofCfnTagSyncTaskProps.getTagValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
group
Sets the value ofCfnTagSyncTaskProps.getGroup()- Parameters:
group- The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnTagSyncTaskProps.getRoleArn()- Parameters:
roleArn- The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf. This parameter is required.- Returns:
this
-
tagKey
Sets the value ofCfnTagSyncTaskProps.getTagKey()- Parameters:
tagKey- The tag key. This parameter is required.- Returns:
this
-
tagValue
Sets the value ofCfnTagSyncTaskProps.getTagValue()- Parameters:
tagValue- The tag value. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTagSyncTaskProps>- Returns:
- a new instance of
CfnTagSyncTaskProps - Throws:
NullPointerException- if any required attribute was not provided
-