|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.VpcPeeringConnection
public class VpcPeeringConnection
Describes a VPC peering connection.
Constructor Summary | |
---|---|
VpcPeeringConnection()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
VpcPeeringConnectionVpcInfo |
getAccepterVpcInfo()
The information of the peer VPC. |
java.util.Date |
getExpirationTime()
The time that an unaccepted VPC peering connection will expire. |
VpcPeeringConnectionVpcInfo |
getRequesterVpcInfo()
The information of the requester VPC. |
VpcPeeringConnectionStateReason |
getStatus()
The status of the VPC peering connection. |
java.util.List<Tag> |
getTags()
Any tags assigned to the resource. |
java.lang.String |
getVpcPeeringConnectionId()
The ID of the VPC peering connection. |
int |
hashCode()
|
void |
setAccepterVpcInfo(VpcPeeringConnectionVpcInfo accepterVpcInfo)
The information of the peer VPC. |
void |
setExpirationTime(java.util.Date expirationTime)
The time that an unaccepted VPC peering connection will expire. |
void |
setRequesterVpcInfo(VpcPeeringConnectionVpcInfo requesterVpcInfo)
The information of the requester VPC. |
void |
setStatus(VpcPeeringConnectionStateReason status)
The status of the VPC peering connection. |
void |
setTags(java.util.Collection<Tag> tags)
Any tags assigned to the resource. |
void |
setVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
The ID of the VPC peering connection. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
VpcPeeringConnection |
withAccepterVpcInfo(VpcPeeringConnectionVpcInfo accepterVpcInfo)
The information of the peer VPC. |
VpcPeeringConnection |
withExpirationTime(java.util.Date expirationTime)
The time that an unaccepted VPC peering connection will expire. |
VpcPeeringConnection |
withRequesterVpcInfo(VpcPeeringConnectionVpcInfo requesterVpcInfo)
The information of the requester VPC. |
VpcPeeringConnection |
withStatus(VpcPeeringConnectionStateReason status)
The status of the VPC peering connection. |
VpcPeeringConnection |
withTags(java.util.Collection<Tag> tags)
Any tags assigned to the resource. |
VpcPeeringConnection |
withTags(Tag... tags)
Any tags assigned to the resource. |
VpcPeeringConnection |
withVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
The ID of the VPC peering connection. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VpcPeeringConnection()
Method Detail |
---|
public VpcPeeringConnectionVpcInfo getAccepterVpcInfo()
public void setAccepterVpcInfo(VpcPeeringConnectionVpcInfo accepterVpcInfo)
accepterVpcInfo
- The information of the peer VPC.public VpcPeeringConnection withAccepterVpcInfo(VpcPeeringConnectionVpcInfo accepterVpcInfo)
Returns a reference to this object so that method calls can be chained together.
accepterVpcInfo
- The information of the peer VPC.
public java.util.Date getExpirationTime()
public void setExpirationTime(java.util.Date expirationTime)
expirationTime
- The time that an unaccepted VPC peering connection will expire.public VpcPeeringConnection withExpirationTime(java.util.Date expirationTime)
Returns a reference to this object so that method calls can be chained together.
expirationTime
- The time that an unaccepted VPC peering connection will expire.
public VpcPeeringConnectionVpcInfo getRequesterVpcInfo()
public void setRequesterVpcInfo(VpcPeeringConnectionVpcInfo requesterVpcInfo)
requesterVpcInfo
- The information of the requester VPC.public VpcPeeringConnection withRequesterVpcInfo(VpcPeeringConnectionVpcInfo requesterVpcInfo)
Returns a reference to this object so that method calls can be chained together.
requesterVpcInfo
- The information of the requester VPC.
public VpcPeeringConnectionStateReason getStatus()
public void setStatus(VpcPeeringConnectionStateReason status)
status
- The status of the VPC peering connection.public VpcPeeringConnection withStatus(VpcPeeringConnectionStateReason status)
Returns a reference to this object so that method calls can be chained together.
status
- The status of the VPC peering connection.
public java.util.List<Tag> getTags()
public void setTags(java.util.Collection<Tag> tags)
tags
- Any tags assigned to the resource.public VpcPeeringConnection withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- Any tags assigned to the resource.
public VpcPeeringConnection withTags(java.util.Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- Any tags assigned to the resource.
public java.lang.String getVpcPeeringConnectionId()
public void setVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
vpcPeeringConnectionId
- The ID of the VPC peering connection.public VpcPeeringConnection withVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
Returns a reference to this object so that method calls can be chained together.
vpcPeeringConnectionId
- The ID of the VPC peering connection.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |