@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final 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 final 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 final 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()
toBuilder
in interface ToCopyableBuilder<PeeringConnectionOptions.Builder,PeeringConnectionOptions>
public static PeeringConnectionOptions.Builder builder()
public static Class<? extends PeeringConnectionOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.