Class VpcPeeringConnectionOptionsDescription
- java.lang.Object
-
- com.amazonaws.services.ec2.model.VpcPeeringConnectionOptionsDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class VpcPeeringConnectionOptionsDescription extends Object implements Serializable, Cloneable
Describes the VPC peering connection options.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VpcPeeringConnectionOptionsDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VpcPeeringConnectionOptionsDescription
clone()
boolean
equals(Object obj)
Boolean
getAllowEgressFromLocalClassicLinkToRemoteVpc()
Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.Boolean
getAllowEgressFromLocalVpcToRemoteClassicLink()
Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.int
hashCode()
Boolean
isAllowEgressFromLocalClassicLinkToRemoteVpc()
Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.Boolean
isAllowEgressFromLocalVpcToRemoteClassicLink()
Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.void
setAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.void
setAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.String
toString()
Returns a string representation of this object; useful for testing and debugging.VpcPeeringConnectionOptionsDescription
withAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.VpcPeeringConnectionOptionsDescription
withAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
-
-
-
Method Detail
-
setAllowEgressFromLocalClassicLinkToRemoteVpc
public void setAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.
- Parameters:
allowEgressFromLocalClassicLinkToRemoteVpc
- Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.
-
getAllowEgressFromLocalClassicLinkToRemoteVpc
public Boolean getAllowEgressFromLocalClassicLinkToRemoteVpc()
Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.
- Returns:
- Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.
-
withAllowEgressFromLocalClassicLinkToRemoteVpc
public VpcPeeringConnectionOptionsDescription withAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.
- Parameters:
allowEgressFromLocalClassicLinkToRemoteVpc
- Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAllowEgressFromLocalClassicLinkToRemoteVpc
public Boolean isAllowEgressFromLocalClassicLinkToRemoteVpc()
Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.
- Returns:
- Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.
-
setAllowEgressFromLocalVpcToRemoteClassicLink
public void setAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
- Parameters:
allowEgressFromLocalVpcToRemoteClassicLink
- Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
-
getAllowEgressFromLocalVpcToRemoteClassicLink
public Boolean getAllowEgressFromLocalVpcToRemoteClassicLink()
Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
- Returns:
- Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
-
withAllowEgressFromLocalVpcToRemoteClassicLink
public VpcPeeringConnectionOptionsDescription withAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
- Parameters:
allowEgressFromLocalVpcToRemoteClassicLink
- Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAllowEgressFromLocalVpcToRemoteClassicLink
public Boolean isAllowEgressFromLocalVpcToRemoteClassicLink()
Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
- Returns:
- Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
-
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 VpcPeeringConnectionOptionsDescription clone()
-
-