@Generated(value="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 for OwningService,
and vice versa.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HostedZoneOwner.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HostedZoneOwner.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
owningAccount()
If the hosted zone was created by an AWS account, or was created by an AWS service that creates hosted zones
using the current account,
OwningAccount contains the account ID of that account. |
String |
owningService()
If an AWS service uses its own account to create a hosted zone and associate the specified VPC with that hosted
zone,
OwningService contains an abbreviation that identifies the service. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends HostedZoneOwner.Builder> |
serializableBuilderClass() |
HostedZoneOwner.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String owningAccount()
If the hosted zone was created by an AWS account, or was created by an AWS service that creates hosted zones
using the current account, OwningAccount contains the account ID of that account. For example, when
you use AWS Cloud Map to create a hosted zone, Cloud Map creates the hosted zone using the current AWS account.
OwningAccount contains the account ID of that account. For
example, when you use AWS Cloud Map to create a hosted zone, Cloud Map creates the hosted zone using the
current AWS account.public final String owningService()
If an AWS service uses its own account to create a hosted zone and associate the specified VPC with that hosted
zone, OwningService contains 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 of
OwningService is efs.amazonaws.com.
OwningService contains 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 of OwningService is efs.amazonaws.com.public HostedZoneOwner.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HostedZoneOwner.Builder,HostedZoneOwner>public static HostedZoneOwner.Builder builder()
public static Class<? extends HostedZoneOwner.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.