@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PeeringConnectionOptionsRequest extends Object implements Serializable, Cloneable
The VPC peering connection options.
Constructor and Description |
---|
PeeringConnectionOptionsRequest() |
Modifier and Type | Method and Description |
---|---|
PeeringConnectionOptionsRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowDnsResolutionFromRemoteVpc()
If true, enables a local VPC to resolve public DNS hostnames 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 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 |
isAllowDnsResolutionFromRemoteVpc()
If true, enables a local VPC to resolve public DNS hostnames 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 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 |
setAllowDnsResolutionFromRemoteVpc(Boolean allowDnsResolutionFromRemoteVpc)
If true, enables a local VPC to resolve public DNS hostnames 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 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 |
withAllowDnsResolutionFromRemoteVpc(Boolean allowDnsResolutionFromRemoteVpc)
If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances
in the peer VPC.
|
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.
|
public void setAllowDnsResolutionFromRemoteVpc(Boolean allowDnsResolutionFromRemoteVpc)
If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.
allowDnsResolutionFromRemoteVpc
- If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from
instances in the peer VPC.public Boolean getAllowDnsResolutionFromRemoteVpc()
If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.
public PeeringConnectionOptionsRequest withAllowDnsResolutionFromRemoteVpc(Boolean allowDnsResolutionFromRemoteVpc)
If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.
allowDnsResolutionFromRemoteVpc
- If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from
instances in the peer VPC.public Boolean isAllowDnsResolutionFromRemoteVpc()
If true, enables a local VPC to resolve public DNS hostnames 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 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 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.
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 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.
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 PeeringConnectionOptionsRequest clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.