Class CfnDedicatedIpPool.TagsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpointemail.CfnDedicatedIpPool.TagsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDedicatedIpPool.TagsProperty>
- Enclosing interface:
CfnDedicatedIpPool.TagsProperty
@Stability(Stable)
public static final class CfnDedicatedIpPool.TagsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDedicatedIpPool.TagsProperty>
A builder for
CfnDedicatedIpPool.TagsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDedicatedIpPool.TagsProperty.getKey()
Sets the value ofCfnDedicatedIpPool.TagsProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnDedicatedIpPool.TagsProperty.getKey()
- Parameters:
key
- One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.If you specify tags for the dedicated IP pool, then this value is required.
- Returns:
this
-
value
Sets the value ofCfnDedicatedIpPool.TagsProperty.getValue()
- Parameters:
value
- The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don’t want a resource to have a specific tag value, don’t specify a value for this parameter. Amazon Pinpoint will set the value to an empty string.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDedicatedIpPool.TagsProperty>
- Returns:
- a new instance of
CfnDedicatedIpPool.TagsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-