@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HostedZoneOwner extends Object implements Serializable, Cloneable
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.
Constructor and Description |
---|
HostedZoneOwner() |
Modifier and Type | Method and Description |
---|---|
HostedZoneOwner |
clone() |
boolean |
equals(Object obj) |
String |
getOwningAccount()
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 |
getOwningService()
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. |
int |
hashCode() |
void |
setOwningAccount(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. |
void |
setOwningService(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. |
String |
toString()
Returns a string representation of this object.
|
HostedZoneOwner |
withOwningAccount(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. |
HostedZoneOwner |
withOwningService(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. |
public void setOwningAccount(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
- 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.public String getOwningAccount()
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 HostedZoneOwner withOwningAccount(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
- 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.public void setOwningService(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
- 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
.public String getOwningService()
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 withOwningService(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
- 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
.public String toString()
toString
in class Object
Object.toString()
public HostedZoneOwner clone()