Class HostedZoneLimit
- java.lang.Object
-
- software.amazon.awssdk.services.route53.model.HostedZoneLimit
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HostedZoneLimit.Builder,HostedZoneLimit>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHostedZoneLimit.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostedZoneLimit.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends HostedZoneLimit.Builder>serializableBuilderClass()HostedZoneLimit.BuildertoBuilder()StringtoString()Returns a string representation of this object.HostedZoneLimitTypetype()The limit that you requested.StringtypeAsString()The limit that you requested.Longvalue()The current value for the limit that is specified byType.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
type
public 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,
typewill returnHostedZoneLimitType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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.
-
- See Also:
HostedZoneLimitType
-
-
typeAsString
public 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,
typewill returnHostedZoneLimitType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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.
-
- See Also:
HostedZoneLimitType
-
-
value
public final Long value()
The current value for the limit that is specified by
Type.- Returns:
- The current value for the limit that is specified by
Type.
-
toBuilder
public HostedZoneLimit.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HostedZoneLimit.Builder,HostedZoneLimit>
-
builder
public static HostedZoneLimit.Builder builder()
-
serializableBuilderClass
public static Class<? extends HostedZoneLimit.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-