Class VpcPeeringConnection
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a VPC peering connection.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about the accepter VPC.The time that an unaccepted VPC peering connection will expire.Information about the requester VPC.The status of the VPC peering connection.getTags()
Any tags assigned to the resource.The ID of the VPC peering connection.int
hashCode()
void
setAccepterVpcInfo
(VpcPeeringConnectionVpcInfo accepterVpcInfo) Information about the accepter VPC.void
setExpirationTime
(Date expirationTime) The time that an unaccepted VPC peering connection will expire.void
setRequesterVpcInfo
(VpcPeeringConnectionVpcInfo requesterVpcInfo) Information about the requester VPC.void
The status of the VPC peering connection.void
setTags
(Collection<Tag> tags) Any tags assigned to the resource.void
setVpcPeeringConnectionId
(String vpcPeeringConnectionId) The ID of the VPC peering connection.toString()
Returns a string representation of this object; useful for testing and debugging.withAccepterVpcInfo
(VpcPeeringConnectionVpcInfo accepterVpcInfo) Information about the accepter VPC.withExpirationTime
(Date expirationTime) The time that an unaccepted VPC peering connection will expire.withRequesterVpcInfo
(VpcPeeringConnectionVpcInfo requesterVpcInfo) Information about the requester VPC.The status of the VPC peering connection.Any tags assigned to the resource.withTags
(Collection<Tag> tags) Any tags assigned to the resource.withVpcPeeringConnectionId
(String vpcPeeringConnectionId) The ID of the VPC peering connection.
-
Constructor Details
-
VpcPeeringConnection
public VpcPeeringConnection()
-
-
Method Details
-
setAccepterVpcInfo
Information about the accepter VPC. CIDR block information is not returned when creating a VPC peering connection, or when describing a VPC peering connection that's in the
initiating-request
orpending-acceptance
state.- Parameters:
accepterVpcInfo
- Information about the accepter VPC. CIDR block information is not returned when creating a VPC peering connection, or when describing a VPC peering connection that's in theinitiating-request
orpending-acceptance
state.
-
getAccepterVpcInfo
Information about the accepter VPC. CIDR block information is not returned when creating a VPC peering connection, or when describing a VPC peering connection that's in the
initiating-request
orpending-acceptance
state.- Returns:
- Information about the accepter VPC. CIDR block information is not
returned when creating a VPC peering connection, or when
describing a VPC peering connection that's in the
initiating-request
orpending-acceptance
state.
-
withAccepterVpcInfo
Information about the accepter VPC. CIDR block information is not returned when creating a VPC peering connection, or when describing a VPC peering connection that's in the
initiating-request
orpending-acceptance
state.- Parameters:
accepterVpcInfo
- Information about the accepter VPC. CIDR block information is not returned when creating a VPC peering connection, or when describing a VPC peering connection that's in theinitiating-request
orpending-acceptance
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExpirationTime
The time that an unaccepted VPC peering connection will expire.
- Parameters:
expirationTime
- The time that an unaccepted VPC peering connection will expire.
-
getExpirationTime
The time that an unaccepted VPC peering connection will expire.
- Returns:
- The time that an unaccepted VPC peering connection will expire.
-
withExpirationTime
The time that an unaccepted VPC peering connection will expire.
- Parameters:
expirationTime
- The time that an unaccepted VPC peering connection will expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRequesterVpcInfo
Information about the requester VPC.
- Parameters:
requesterVpcInfo
- Information about the requester VPC.
-
getRequesterVpcInfo
Information about the requester VPC.
- Returns:
- Information about the requester VPC.
-
withRequesterVpcInfo
Information about the requester VPC.
- Parameters:
requesterVpcInfo
- Information about the requester VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The status of the VPC peering connection.
- Parameters:
status
- The status of the VPC peering connection.
-
getStatus
The status of the VPC peering connection.
- Returns:
- The status of the VPC peering connection.
-
withStatus
The status of the VPC peering connection.
- Parameters:
status
- The status of the VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
Any tags assigned to the resource.
- Returns:
- Any tags assigned to the resource.
-
setTags
Any tags assigned to the resource.
- Parameters:
tags
- Any tags assigned to the resource.
-
withTags
Any tags assigned to the resource.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- Any tags assigned to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
Any tags assigned to the resource.
- Parameters:
tags
- Any tags assigned to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcPeeringConnectionId
The ID of the VPC peering connection.
- Parameters:
vpcPeeringConnectionId
- The ID of the VPC peering connection.
-
getVpcPeeringConnectionId
The ID of the VPC peering connection.
- Returns:
- The ID of the VPC peering connection.
-
withVpcPeeringConnectionId
The ID of the VPC peering connection.
- Parameters:
vpcPeeringConnectionId
- The ID of the VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-