Class HostedZoneSummary

java.lang.Object
software.amazon.awssdk.services.route53.model.HostedZoneSummary
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<HostedZoneSummary.Builder,HostedZoneSummary>

@Generated("software.amazon.awssdk:codegen") public final class HostedZoneSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HostedZoneSummary.Builder,HostedZoneSummary>

In the response to a ListHostedZonesByVPC request, the HostedZoneSummaries element contains one HostedZoneSummary element for each hosted zone that the specified Amazon VPC is associated with. Each HostedZoneSummary element contains the hosted zone name and ID, and information about who owns the hosted zone.

See Also:
  • Method Details

    • hostedZoneId

      public final String hostedZoneId()

      The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.

      Returns:
      The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.
    • name

      public final String name()

      The name of the private hosted zone, such as example.com.

      Returns:
      The name of the private hosted zone, such as example.com.
    • owner

      public final HostedZoneOwner owner()

      The owner of a private hosted zone that the specified VPC is associated with. The owner can be either an Amazon Web Services account or an Amazon Web Services service.

      Returns:
      The owner of a private hosted zone that the specified VPC is associated with. The owner can be either an Amazon Web Services account or an Amazon Web Services service.
    • toBuilder

      public HostedZoneSummary.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<HostedZoneSummary.Builder,HostedZoneSummary>
    • builder

      public static HostedZoneSummary.Builder builder()
    • serializableBuilderClass

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

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

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • 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)
    • 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