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) Indicates whether some other object is "equal to" this one by SDK fields.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> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()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,
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<HostedZoneOwner.Builder,HostedZoneOwner> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-