@Generated(value="software.amazon.awssdk:codegen") public final class HostedZoneLimit extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends HostedZoneLimit.Builder> |
serializableBuilderClass() |
HostedZoneLimit.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
HostedZoneLimitType |
type()
The limit that you requested.
|
String |
typeAsString()
The limit that you requested.
|
Long |
value()
The current value for the limit that is specified by
Type. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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_ZONE: 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
typeAsString().
MAX_RRSETS_BY_ZONE: The maximum number of records that you can create in the specified hosted zone.
MAX_VPCS_ASSOCIATED_BY_ZONE: The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.
HostedZoneLimitTypepublic final String typeAsString()
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_ZONE: 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
typeAsString().
MAX_RRSETS_BY_ZONE: The maximum number of records that you can create in the specified hosted zone.
MAX_VPCS_ASSOCIATED_BY_ZONE: The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.
HostedZoneLimitTypepublic final Long value()
The current value for the limit that is specified by Type.
Type.public HostedZoneLimit.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HostedZoneLimit.Builder,HostedZoneLimit>public static HostedZoneLimit.Builder builder()
public static Class<? extends HostedZoneLimit.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.