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
Constructors -
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 ofKeydepends on the operation that you want to perform:. This parameter is required.- Add a tag to a health check or hosted zone :
Keyis the name that you want to give the new tag. - Edit a tag :
Keyis the name of the tag that you want to change theValuefor. - Delete a key :
Keyis the name of the tag you want to remove. - Give a name to a health check : Edit the default
Nametag. 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 ofValuedepends on the operation that you want to perform:. This parameter is required.- Add a tag to a health check or hosted zone :
Valueis the value that you want to give the new tag. - Edit a tag :
Valueis 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnHostedZone.HostedZoneTagProperty>- Returns:
- a new instance of
CfnHostedZone.HostedZoneTagProperty - Throws:
NullPointerException- if any required attribute was not provided
-