Class GetHostedZoneLimitResponse

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<GetHostedZoneLimitResponse.Builder,GetHostedZoneLimitResponse>

@Generated("software.amazon.awssdk:codegen") public final class GetHostedZoneLimitResponse extends Route53Response implements ToCopyableBuilder<GetHostedZoneLimitResponse.Builder,GetHostedZoneLimitResponse>

A complex type that contains the requested limit.

  • Method Details

    • limit

      public final HostedZoneLimit limit()

      The current setting for the specified limit. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Limit is the maximum number of records that you can create in the specified hosted zone.

      Returns:
      The current setting for the specified limit. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Limit is the maximum number of records that you can create in the specified hosted zone.
    • count

      public final Long count()

      The current number of entities that you have created of the specified type. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Count is the current number of records that you have created in the specified hosted zone.

      Returns:
      The current number of entities that you have created of the specified type. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Count is the current number of records that you have created in the specified hosted zone.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<GetHostedZoneLimitResponse.Builder,GetHostedZoneLimitResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

      public static GetHostedZoneLimitResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends GetHostedZoneLimitResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo