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 VpcPeeringConnectionOptionsDescriptionclone()booleanequals(Object obj)BooleangetAllowEgressFromLocalClassicLinkToRemoteVpc()Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.BooleangetAllowEgressFromLocalVpcToRemoteClassicLink()Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.inthashCode()BooleanisAllowEgressFromLocalClassicLinkToRemoteVpc()Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.BooleanisAllowEgressFromLocalVpcToRemoteClassicLink()Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.voidsetAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.voidsetAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.StringtoString()Returns a string representation of this object; useful for testing and debugging.VpcPeeringConnectionOptionsDescriptionwithAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.VpcPeeringConnectionOptionsDescriptionwithAllowEgressFromLocalVpcToRemoteClassicLink(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public VpcPeeringConnectionOptionsDescription clone()
-
-