@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2VpcPeeringConnectionDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a VPC peering connection between two VPCs: a requester VPC that you own and an accepter VPC with which to create the connection.
Constructor and Description |
---|
AwsEc2VpcPeeringConnectionDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2VpcPeeringConnectionDetails |
clone() |
boolean |
equals(Object obj) |
AwsEc2VpcPeeringConnectionVpcInfoDetails |
getAccepterVpcInfo()
Information about the accepter VPC.
|
String |
getExpirationTime()
The time at which an unaccepted VPC peering connection will expire.
|
AwsEc2VpcPeeringConnectionVpcInfoDetails |
getRequesterVpcInfo()
Information about the requester VPC.
|
AwsEc2VpcPeeringConnectionStatusDetails |
getStatus()
The status of the VPC peering connection.
|
String |
getVpcPeeringConnectionId()
The ID of the VPC peering connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccepterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails accepterVpcInfo)
Information about the accepter VPC.
|
void |
setExpirationTime(String expirationTime)
The time at which an unaccepted VPC peering connection will expire.
|
void |
setRequesterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails requesterVpcInfo)
Information about the requester VPC.
|
void |
setStatus(AwsEc2VpcPeeringConnectionStatusDetails status)
The status of the VPC peering connection.
|
void |
setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2VpcPeeringConnectionDetails |
withAccepterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails accepterVpcInfo)
Information about the accepter VPC.
|
AwsEc2VpcPeeringConnectionDetails |
withExpirationTime(String expirationTime)
The time at which an unaccepted VPC peering connection will expire.
|
AwsEc2VpcPeeringConnectionDetails |
withRequesterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails requesterVpcInfo)
Information about the requester VPC.
|
AwsEc2VpcPeeringConnectionDetails |
withStatus(AwsEc2VpcPeeringConnectionStatusDetails status)
The status of the VPC peering connection.
|
AwsEc2VpcPeeringConnectionDetails |
withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
|
public void setAccepterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails accepterVpcInfo)
Information about the accepter VPC.
accepterVpcInfo
- Information about the accepter VPC.public AwsEc2VpcPeeringConnectionVpcInfoDetails getAccepterVpcInfo()
Information about the accepter VPC.
public AwsEc2VpcPeeringConnectionDetails withAccepterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails accepterVpcInfo)
Information about the accepter VPC.
accepterVpcInfo
- Information about the accepter VPC.public void setExpirationTime(String expirationTime)
The time at which an unaccepted VPC peering connection will expire.
expirationTime
- The time at which an unaccepted VPC peering connection will expire.public String getExpirationTime()
The time at which an unaccepted VPC peering connection will expire.
public AwsEc2VpcPeeringConnectionDetails withExpirationTime(String expirationTime)
The time at which an unaccepted VPC peering connection will expire.
expirationTime
- The time at which an unaccepted VPC peering connection will expire.public void setRequesterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails requesterVpcInfo)
Information about the requester VPC.
requesterVpcInfo
- Information about the requester VPC.public AwsEc2VpcPeeringConnectionVpcInfoDetails getRequesterVpcInfo()
Information about the requester VPC.
public AwsEc2VpcPeeringConnectionDetails withRequesterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails requesterVpcInfo)
Information about the requester VPC.
requesterVpcInfo
- Information about the requester VPC.public void setStatus(AwsEc2VpcPeeringConnectionStatusDetails status)
The status of the VPC peering connection.
status
- The status of the VPC peering connection.public AwsEc2VpcPeeringConnectionStatusDetails getStatus()
The status of the VPC peering connection.
public AwsEc2VpcPeeringConnectionDetails withStatus(AwsEc2VpcPeeringConnectionStatusDetails status)
The status of the VPC peering connection.
status
- The status of the VPC peering connection.public void setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
vpcPeeringConnectionId
- The ID of the VPC peering connection.public String getVpcPeeringConnectionId()
The ID of the VPC peering connection.
public AwsEc2VpcPeeringConnectionDetails withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
vpcPeeringConnectionId
- The ID of the VPC peering connection.public String toString()
toString
in class Object
Object.toString()
public AwsEc2VpcPeeringConnectionDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.