@Generated(value="software.amazon.awssdk:codegen") public final class PeeringConnectionOptionsRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PeeringConnectionOptionsRequest.Builder,PeeringConnectionOptionsRequest>
We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.
The VPC peering connection options.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PeeringConnectionOptionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 PeeringConnectionOptionsRequest.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 PeeringConnectionOptionsRequest.Builder> |
serializableBuilderClass() |
PeeringConnectionOptionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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 PeeringConnectionOptionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PeeringConnectionOptionsRequest.Builder,PeeringConnectionOptionsRequest>public static PeeringConnectionOptionsRequest.Builder builder()
public static Class<? extends PeeringConnectionOptionsRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.