Class HostedZoneOwner
- All Implemented Interfaces:
Serializable,SdkPojo,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic HostedZoneOwner.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringIf 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.final StringIf 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.static Class<? extends HostedZoneOwner.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<HostedZoneOwner.Builder,HostedZoneOwner>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-