Class PeeringConnectionOptionsRequest
- java.lang.Object
-
- com.amazonaws.services.ec2.model.PeeringConnectionOptionsRequest
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PeeringConnectionOptionsRequest extends Object implements Serializable, Cloneable
The VPC peering connection options.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PeeringConnectionOptionsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PeeringConnectionOptionsRequest
clone()
boolean
equals(Object obj)
Boolean
getAllowEgressFromLocalClassicLinkToRemoteVpc()
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC.Boolean
getAllowEgressFromLocalVpcToRemoteClassicLink()
If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink.int
hashCode()
Boolean
isAllowEgressFromLocalClassicLinkToRemoteVpc()
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC.Boolean
isAllowEgressFromLocalVpcToRemoteClassicLink()
If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink.void
setAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC.void
setAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink.String
toString()
Returns a string representation of this object; useful for testing and debugging.PeeringConnectionOptionsRequest
withAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC.PeeringConnectionOptionsRequest
withAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink.
-
-
-
Method Detail
-
setAllowEgressFromLocalClassicLinkToRemoteVpc
public void setAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC.
- Parameters:
allowEgressFromLocalClassicLinkToRemoteVpc
- If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC.
-
getAllowEgressFromLocalClassicLinkToRemoteVpc
public Boolean getAllowEgressFromLocalClassicLinkToRemoteVpc()
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC.
- Returns:
- If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC.
-
withAllowEgressFromLocalClassicLinkToRemoteVpc
public PeeringConnectionOptionsRequest withAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC.
- Parameters:
allowEgressFromLocalClassicLinkToRemoteVpc
- If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAllowEgressFromLocalClassicLinkToRemoteVpc
public Boolean isAllowEgressFromLocalClassicLinkToRemoteVpc()
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC.
- Returns:
- If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC.
-
setAllowEgressFromLocalVpcToRemoteClassicLink
public void setAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink.
- Parameters:
allowEgressFromLocalVpcToRemoteClassicLink
- If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink.
-
getAllowEgressFromLocalVpcToRemoteClassicLink
public Boolean getAllowEgressFromLocalVpcToRemoteClassicLink()
If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink.
- Returns:
- If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink.
-
withAllowEgressFromLocalVpcToRemoteClassicLink
public PeeringConnectionOptionsRequest withAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink.
- Parameters:
allowEgressFromLocalVpcToRemoteClassicLink
- If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAllowEgressFromLocalVpcToRemoteClassicLink
public Boolean isAllowEgressFromLocalVpcToRemoteClassicLink()
If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink.
- Returns:
- If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink.
-
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 PeeringConnectionOptionsRequest clone()
-
-