@Generated(value="software.amazon.awssdk:codegen") public final class PeeringConnectionOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PeeringConnectionOptions.Builder,PeeringConnectionOptions>
Describes the VPC peering connection options.
Modifier and Type | Class and Description |
---|---|
static interface |
PeeringConnectionOptions.Builder |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
static PeeringConnectionOptions.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PeeringConnectionOptions.Builder> |
serializableBuilderClass() |
PeeringConnectionOptions.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
public 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.
public 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 PeeringConnectionOptions.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PeeringConnectionOptions.Builder,PeeringConnectionOptions>
public static PeeringConnectionOptions.Builder builder()
public static Class<? extends PeeringConnectionOptions.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.