public class PeeringConnectionOptions extends Object implements Serializable, Cloneable
Describes the VPC peering connection options.
Constructor and Description |
---|
PeeringConnectionOptions() |
Modifier and Type | Method and Description |
---|---|
PeeringConnectionOptions |
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.
|
PeeringConnectionOptions |
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.
|
PeeringConnectionOptions |
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.
|
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.
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.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.
public PeeringConnectionOptions 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.
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.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.
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.
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.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.
public PeeringConnectionOptions 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.
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.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.
public String toString()
toString
in class Object
Object.toString()
public PeeringConnectionOptions clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.