@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()
Deprecated.
|
Boolean |
getAllowEgressFromLocalVpcToRemoteClassicLink()
Deprecated.
|
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()
Deprecated.
|
Boolean |
isAllowEgressFromLocalVpcToRemoteClassicLink()
Deprecated.
|
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)
Deprecated.
|
void |
setAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
Deprecated.
|
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)
Deprecated.
|
PeeringConnectionOptions |
withAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
Deprecated.
|
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)
Deprecated.
allowEgressFromLocalClassicLinkToRemoteVpc
- Deprecated.public Boolean getAllowEgressFromLocalClassicLinkToRemoteVpc()
Deprecated.
public PeeringConnectionOptions withAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)
Deprecated.
allowEgressFromLocalClassicLinkToRemoteVpc
- Deprecated.public Boolean isAllowEgressFromLocalClassicLinkToRemoteVpc()
Deprecated.
public void setAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
Deprecated.
allowEgressFromLocalVpcToRemoteClassicLink
- Deprecated.public Boolean getAllowEgressFromLocalVpcToRemoteClassicLink()
Deprecated.
public PeeringConnectionOptions withAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)
Deprecated.
allowEgressFromLocalVpcToRemoteClassicLink
- Deprecated.public Boolean isAllowEgressFromLocalVpcToRemoteClassicLink()
Deprecated.
public String toString()
toString
in class Object
Object.toString()
public PeeringConnectionOptions clone()