Class HostedZoneOwner
- java.lang.Object
-
- software.amazon.awssdk.services.route53.model.HostedZoneOwner
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HostedZoneOwner.Builder,HostedZoneOwner>
@Generated("software.amazon.awssdk:codegen") public final class HostedZoneOwner extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HostedZoneOwner.Builder,HostedZoneOwner>
A complex type that identifies a hosted zone that a specified Amazon VPC is associated with and the owner of the hosted zone. If there is a value for
OwningAccount, there is no value forOwningService, and vice versa.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHostedZoneOwner.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostedZoneOwner.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringowningAccount()If the hosted zone was created by an Amazon Web Services account, or was created by an Amazon Web Services service that creates hosted zones using the current account,OwningAccountcontains the account ID of that account.StringowningService()If an Amazon Web Services service uses its own account to create a hosted zone and associate the specified VPC with that hosted zone,OwningServicecontains an abbreviation that identifies the service.List<SdkField<?>>sdkFields()static Class<? extends HostedZoneOwner.Builder>serializableBuilderClass()HostedZoneOwner.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
owningAccount
public final String owningAccount()
If the hosted zone was created by an Amazon Web Services account, or was created by an Amazon Web Services service that creates hosted zones using the current account,
OwningAccountcontains the account ID of that account. For example, when you use Cloud Map to create a hosted zone, Cloud Map creates the hosted zone using the current Amazon Web Services account.- Returns:
- If the hosted zone was created by an Amazon Web Services account, or was created by an Amazon Web
Services service that creates hosted zones using the current account,
OwningAccountcontains the account ID of that account. For example, when you use Cloud Map to create a hosted zone, Cloud Map creates the hosted zone using the current Amazon Web Services account.
-
owningService
public final String owningService()
If an Amazon Web Services service uses its own account to create a hosted zone and associate the specified VPC with that hosted zone,
OwningServicecontains an abbreviation that identifies the service. For example, if Amazon Elastic File System (Amazon EFS) created a hosted zone and associated a VPC with the hosted zone, the value ofOwningServiceisefs.amazonaws.com.- Returns:
- If an Amazon Web Services service uses its own account to create a hosted zone and associate the
specified VPC with that hosted zone,
OwningServicecontains an abbreviation that identifies the service. For example, if Amazon Elastic File System (Amazon EFS) created a hosted zone and associated a VPC with the hosted zone, the value ofOwningServiceisefs.amazonaws.com.
-
toBuilder
public HostedZoneOwner.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HostedZoneOwner.Builder,HostedZoneOwner>
-
builder
public static HostedZoneOwner.Builder builder()
-
serializableBuilderClass
public static Class<? extends HostedZoneOwner.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.
-
-