public class PeeringConnectionOptions
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the VPC peering connection options.
Modifier and Type | Field and Description |
---|---|
private java.lang.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.
|
private java.lang.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.
|
Constructor and Description |
---|
PeeringConnectionOptions() |
Modifier and Type | Method and Description |
---|---|
PeeringConnectionOptions |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.lang.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() |
java.lang.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.
|
java.lang.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(java.lang.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(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PeeringConnectionOptions |
withAllowEgressFromLocalClassicLinkToRemoteVpc(java.lang.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(java.lang.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.
|
private java.lang.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.
private java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PeeringConnectionOptions clone()
clone
in class java.lang.Object