public static final class HostedZoneAttributes.Builder
extends java.lang.Object
HostedZoneAttributes
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostedZoneAttributes |
build()
Builds the configured instance.
|
HostedZoneAttributes.Builder |
hostedZoneId(java.lang.String hostedZoneId)
Sets the value of
HostedZoneAttributes.getHostedZoneId() |
HostedZoneAttributes.Builder |
zoneName(java.lang.String zoneName)
Sets the value of
HostedZoneAttributes.getZoneName() |
public HostedZoneAttributes.Builder hostedZoneId(java.lang.String hostedZoneId)
HostedZoneAttributes.getHostedZoneId()
hostedZoneId
- Identifier of the hosted zone. This parameter is required.this
public HostedZoneAttributes.Builder zoneName(java.lang.String zoneName)
HostedZoneAttributes.getZoneName()
zoneName
- Name of the hosted zone. This parameter is required.this
public HostedZoneAttributes build()
HostedZoneAttributes
java.lang.NullPointerException
- if any required attribute was not provided