@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()
Deprecated.
|
Boolean |
getAllowEgressFromLocalVpcToRemoteClassicLink()
Deprecated.
|
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()
Deprecated.
|
Boolean |
isAllowEgressFromLocalVpcToRemoteClassicLink()
Deprecated.
|
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)
Deprecated.
|
void |
setAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
Deprecated.
|
String |
toString()
Returns a string representation of this object.
|
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)
Deprecated.
|
PeeringConnectionOptionsRequest |
withAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
Deprecated.
|
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)
Deprecated.
allowEgressFromLocalClassicLinkToRemoteVpc
- Deprecated.public Boolean getAllowEgressFromLocalClassicLinkToRemoteVpc()
Deprecated.
public PeeringConnectionOptionsRequest withAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
Deprecated.
allowEgressFromLocalClassicLinkToRemoteVpc
- Deprecated.public Boolean isAllowEgressFromLocalClassicLinkToRemoteVpc()
Deprecated.
public void setAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
Deprecated.
allowEgressFromLocalVpcToRemoteClassicLink
- Deprecated.public Boolean getAllowEgressFromLocalVpcToRemoteClassicLink()
Deprecated.
public PeeringConnectionOptionsRequest withAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
Deprecated.
allowEgressFromLocalVpcToRemoteClassicLink
- Deprecated.public Boolean isAllowEgressFromLocalVpcToRemoteClassicLink()
Deprecated.
public String toString()
toString
in class Object
Object.toString()
public PeeringConnectionOptionsRequest clone()