@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HostedZoneSummary extends Object implements Serializable, Cloneable
In the response to a ListHostedZonesByVPC
request, the HostedZoneSummaries
element contains
one HostedZoneSummary
element for each hosted zone that the specified Amazon VPC is associated with.
Each HostedZoneSummary
element contains the hosted zone name and ID, and information about who owns the
hosted zone.
Constructor and Description |
---|
HostedZoneSummary() |
Modifier and Type | Method and Description |
---|---|
HostedZoneSummary |
clone() |
boolean |
equals(Object obj) |
String |
getHostedZoneId()
The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.
|
String |
getName()
The name of the private hosted zone, such as
example.com . |
HostedZoneOwner |
getOwner()
The owner of a private hosted zone that the specified VPC is associated with.
|
int |
hashCode() |
void |
setHostedZoneId(String hostedZoneId)
The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.
|
void |
setName(String name)
The name of the private hosted zone, such as
example.com . |
void |
setOwner(HostedZoneOwner owner)
The owner of a private hosted zone that the specified VPC is associated with.
|
String |
toString()
Returns a string representation of this object.
|
HostedZoneSummary |
withHostedZoneId(String hostedZoneId)
The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.
|
HostedZoneSummary |
withName(String name)
The name of the private hosted zone, such as
example.com . |
HostedZoneSummary |
withOwner(HostedZoneOwner owner)
The owner of a private hosted zone that the specified VPC is associated with.
|
public void setHostedZoneId(String hostedZoneId)
The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.
hostedZoneId
- The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.public String getHostedZoneId()
The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.
public HostedZoneSummary withHostedZoneId(String hostedZoneId)
The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.
hostedZoneId
- The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.public void setName(String name)
The name of the private hosted zone, such as example.com
.
name
- The name of the private hosted zone, such as example.com
.public String getName()
The name of the private hosted zone, such as example.com
.
example.com
.public HostedZoneSummary withName(String name)
The name of the private hosted zone, such as example.com
.
name
- The name of the private hosted zone, such as example.com
.public void setOwner(HostedZoneOwner owner)
The owner of a private hosted zone that the specified VPC is associated with. The owner can be either an Amazon Web Services account or an Amazon Web Services service.
owner
- The owner of a private hosted zone that the specified VPC is associated with. The owner can be either an
Amazon Web Services account or an Amazon Web Services service.public HostedZoneOwner getOwner()
The owner of a private hosted zone that the specified VPC is associated with. The owner can be either an Amazon Web Services account or an Amazon Web Services service.
public HostedZoneSummary withOwner(HostedZoneOwner owner)
The owner of a private hosted zone that the specified VPC is associated with. The owner can be either an Amazon Web Services account or an Amazon Web Services service.
owner
- The owner of a private hosted zone that the specified VPC is associated with. The owner can be either an
Amazon Web Services account or an Amazon Web Services service.public String toString()
toString
in class Object
Object.toString()
public HostedZoneSummary clone()