Class GetHostedZoneResult
- java.lang.Object
-
- com.amazonaws.services.route53.model.GetHostedZoneResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetHostedZoneResult extends Object implements Serializable, Cloneable
A complex type containing information about the specified hosted zone.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetHostedZoneResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetHostedZoneResult
clone()
boolean
equals(Object obj)
DelegationSet
getDelegationSet()
A complex type that contains information about the name servers for the specified hosted zone.HostedZone
getHostedZone()
A complex type that contains the information about the specified hosted zone.List<VPC>
getVPCs()
A complex type that contains information about VPCs associated with the specified hosted zone.int
hashCode()
void
setDelegationSet(DelegationSet delegationSet)
A complex type that contains information about the name servers for the specified hosted zone.void
setHostedZone(HostedZone hostedZone)
A complex type that contains the information about the specified hosted zone.void
setVPCs(Collection<VPC> vPCs)
A complex type that contains information about VPCs associated with the specified hosted zone.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetHostedZoneResult
withDelegationSet(DelegationSet delegationSet)
A complex type that contains information about the name servers for the specified hosted zone.GetHostedZoneResult
withHostedZone(HostedZone hostedZone)
A complex type that contains the information about the specified hosted zone.GetHostedZoneResult
withVPCs(VPC... vPCs)
A complex type that contains information about VPCs associated with the specified hosted zone.GetHostedZoneResult
withVPCs(Collection<VPC> vPCs)
A complex type that contains information about VPCs associated with the specified hosted zone.
-
-
-
Method Detail
-
setHostedZone
public void setHostedZone(HostedZone hostedZone)
A complex type that contains the information about the specified hosted zone.
- Parameters:
hostedZone
- A complex type that contains the information about the specified hosted zone.
-
getHostedZone
public HostedZone getHostedZone()
A complex type that contains the information about the specified hosted zone.
- Returns:
- A complex type that contains the information about the specified hosted zone.
-
withHostedZone
public GetHostedZoneResult withHostedZone(HostedZone hostedZone)
A complex type that contains the information about the specified hosted zone.
- Parameters:
hostedZone
- A complex type that contains the information about the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDelegationSet
public void setDelegationSet(DelegationSet delegationSet)
A complex type that contains information about the name servers for the specified hosted zone.
- Parameters:
delegationSet
- A complex type that contains information about the name servers for the specified hosted zone.
-
getDelegationSet
public DelegationSet getDelegationSet()
A complex type that contains information about the name servers for the specified hosted zone.
- Returns:
- A complex type that contains information about the name servers for the specified hosted zone.
-
withDelegationSet
public GetHostedZoneResult withDelegationSet(DelegationSet delegationSet)
A complex type that contains information about the name servers for the specified hosted zone.
- Parameters:
delegationSet
- A complex type that contains information about the name servers for the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getVPCs
public List<VPC> getVPCs()
A complex type that contains information about VPCs associated with the specified hosted zone.
- Returns:
- A complex type that contains information about VPCs associated with the specified hosted zone.
-
setVPCs
public void setVPCs(Collection<VPC> vPCs)
A complex type that contains information about VPCs associated with the specified hosted zone.
- Parameters:
vPCs
- A complex type that contains information about VPCs associated with the specified hosted zone.
-
withVPCs
public GetHostedZoneResult withVPCs(VPC... vPCs)
A complex type that contains information about VPCs associated with the specified hosted zone.
NOTE: This method appends the values to the existing list (if any). Use
setVPCs(java.util.Collection)
orwithVPCs(java.util.Collection)
if you want to override the existing values.- Parameters:
vPCs
- A complex type that contains information about VPCs associated with the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVPCs
public GetHostedZoneResult withVPCs(Collection<VPC> vPCs)
A complex type that contains information about VPCs associated with the specified hosted zone.
- Parameters:
vPCs
- A complex type that contains information about VPCs associated with the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetHostedZoneResult clone()
-
-