@Generated(value="software.amazon.awssdk:codegen") public class HostedZoneLimit extends Object implements ToCopyableBuilder<HostedZoneLimit.Builder,HostedZoneLimit>
A complex type that contains the type of limit that you specified in the request and the current value for that limit.
Modifier and Type | Class and Description |
---|---|
static interface |
HostedZoneLimit.Builder |
Modifier and Type | Method and Description |
---|---|
static HostedZoneLimit.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends HostedZoneLimit.Builder> |
serializableBuilderClass() |
HostedZoneLimit.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
HostedZoneLimitType |
type()
The limit that you requested.
|
String |
typeString()
The limit that you requested.
|
Long |
value()
The current value for the limit that is specified by
Type . |
copy
public HostedZoneLimitType type()
The limit that you requested. Valid values include the following:
MAX_RRSETS_BY_ZONE: The maximum number of records that you can create in the specified hosted zone.
MAX_VPCS_ASSOCIATED_BY_TYPE: The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.
If the service returns an enum value that is not available in the current SDK version, type
will return
HostedZoneLimitType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
MAX_RRSETS_BY_ZONE: The maximum number of records that you can create in the specified hosted zone.
MAX_VPCS_ASSOCIATED_BY_TYPE: The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.
HostedZoneLimitType
public String typeString()
The limit that you requested. Valid values include the following:
MAX_RRSETS_BY_ZONE: The maximum number of records that you can create in the specified hosted zone.
MAX_VPCS_ASSOCIATED_BY_TYPE: The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.
If the service returns an enum value that is not available in the current SDK version, type
will return
HostedZoneLimitType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
MAX_RRSETS_BY_ZONE: The maximum number of records that you can create in the specified hosted zone.
MAX_VPCS_ASSOCIATED_BY_TYPE: The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.
HostedZoneLimitType
public Long value()
The current value for the limit that is specified by Type
.
Type
.public HostedZoneLimit.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<HostedZoneLimit.Builder,HostedZoneLimit>
public static HostedZoneLimit.Builder builder()
public static Class<? extends HostedZoneLimit.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.