@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 |
getAllowDnsResolutionFromRemoteVpc()
If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when queried
from instances in the peer VPC.
|
Boolean |
getAllowEgressFromLocalClassicLinkToRemoteVpc()
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC using
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 using ClassicLink.
|
int |
hashCode() |
Boolean |
isAllowDnsResolutionFromRemoteVpc()
If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when queried
from instances in the peer VPC.
|
Boolean |
isAllowEgressFromLocalClassicLinkToRemoteVpc()
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC using
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 using ClassicLink.
|
void |
setAllowDnsResolutionFromRemoteVpc(Boolean allowDnsResolutionFromRemoteVpc)
If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when queried
from instances in the peer VPC.
|
void |
setAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC using
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 using ClassicLink.
|
String |
toString()
Returns a string representation of this object.
|
PeeringConnectionOptions |
withAllowDnsResolutionFromRemoteVpc(Boolean allowDnsResolutionFromRemoteVpc)
If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when queried
from instances in the peer VPC.
|
PeeringConnectionOptions |
withAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC using
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 using ClassicLink.
|
public void setAllowDnsResolutionFromRemoteVpc(Boolean allowDnsResolutionFromRemoteVpc)
If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when queried from instances in the peer VPC.
allowDnsResolutionFromRemoteVpc
- If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when
queried from instances in the peer VPC.public Boolean getAllowDnsResolutionFromRemoteVpc()
If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when queried from instances in the peer VPC.
public PeeringConnectionOptions withAllowDnsResolutionFromRemoteVpc(Boolean allowDnsResolutionFromRemoteVpc)
If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when queried from instances in the peer VPC.
allowDnsResolutionFromRemoteVpc
- If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when
queried from instances in the peer VPC.public Boolean isAllowDnsResolutionFromRemoteVpc()
If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when queried from instances in the peer VPC.
public void setAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC using 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 using
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 using 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 using 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 using
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 using 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 using 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 using 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 using 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 using 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 using 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 using ClassicLink.
public String toString()
toString
in class Object
Object.toString()
public PeeringConnectionOptions clone()