Class CfnHostedZone.HostedZoneTagProperty.Builder
java.lang.Object
software.amazon.awscdk.services.route53.CfnHostedZone.HostedZoneTagProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHostedZone.HostedZoneTagProperty>
- Enclosing interface:
CfnHostedZone.HostedZoneTagProperty
@Stability(Stable)
public static final class CfnHostedZone.HostedZoneTagProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHostedZone.HostedZoneTagProperty>
A builder for
CfnHostedZone.HostedZoneTagProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnHostedZone.HostedZoneTagProperty.getKey()
Sets the value ofCfnHostedZone.HostedZoneTagProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnHostedZone.HostedZoneTagProperty.getKey()
- Parameters:
key
- The value ofKey
depends on the operation that you want to perform:. This parameter is required.- Add a tag to a health check or hosted zone :
Key
is the name that you want to give the new tag. - Edit a tag :
Key
is the name of the tag that you want to change theValue
for. - Delete a key :
Key
is the name of the tag you want to remove. - Give a name to a health check : Edit the default
Name
tag. In the Amazon Route 53 console, the list of your health checks includes a Name column that lets you see the name that you've given to each health check.
- Add a tag to a health check or hosted zone :
- Returns:
this
-
value
Sets the value ofCfnHostedZone.HostedZoneTagProperty.getValue()
- Parameters:
value
- The value ofValue
depends on the operation that you want to perform:. This parameter is required.- Add a tag to a health check or hosted zone :
Value
is the value that you want to give the new tag. - Edit a tag :
Value
is the new value that you want to assign the tag.
- Add a tag to a health check or hosted zone :
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHostedZone.HostedZoneTagProperty>
- Returns:
- a new instance of
CfnHostedZone.HostedZoneTagProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-