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.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
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,OwningAccount
contains the account ID of that account.final String
If an Amazon Web Services 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.static Class
<? extends HostedZoneOwner.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods 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,
OwningAccount
contains 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,
OwningAccount
contains 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,
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 ofOwningService
isefs.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,
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 ofOwningService
isefs.amazonaws.com
.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<HostedZoneOwner.Builder,
HostedZoneOwner> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-