public class PeeringConnectionOptionsRequest
extends java.lang.Object
implements java.io.Serializable
The VPC peering connection options.
Constructor and Description |
---|
PeeringConnectionOptionsRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
PeeringConnectionOptionsRequest |
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.
|
PeeringConnectionOptionsRequest |
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.
|
public java.lang.Boolean isAllowEgressFromLocalClassicLinkToRemoteVpc()
public void setAllowEgressFromLocalClassicLinkToRemoteVpc(java.lang.Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
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 PeeringConnectionOptionsRequest withAllowEgressFromLocalClassicLinkToRemoteVpc(java.lang.Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
Returns a reference to this object so that method calls can be chained together.
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()
public java.lang.Boolean isAllowEgressFromLocalVpcToRemoteClassicLink()
public void setAllowEgressFromLocalVpcToRemoteClassicLink(java.lang.Boolean allowEgressFromLocalVpcToRemoteClassicLink)
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 PeeringConnectionOptionsRequest withAllowEgressFromLocalVpcToRemoteClassicLink(java.lang.Boolean allowEgressFromLocalVpcToRemoteClassicLink)
Returns a reference to this object so that method calls can be chained together.
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()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.