ToCopyableBuilder<PeeringConnectionOptionsRequest.Builder,PeeringConnectionOptionsRequest>
@Generated("software.amazon.awssdk:codegen") public class PeeringConnectionOptionsRequest extends Object implements ToCopyableBuilder<PeeringConnectionOptionsRequest.Builder,PeeringConnectionOptionsRequest>
The VPC peering connection options.
Modifier and Type | Class | Description |
---|---|---|
static interface |
PeeringConnectionOptionsRequest.Builder |
Modifier and Type | Method | 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 via 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 via ClassicLink.
|
static PeeringConnectionOptionsRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
static Class<? extends PeeringConnectionOptionsRequest.Builder> |
serializableBuilderClass() |
|
PeeringConnectionOptionsRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public 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 Boolean allowEgressFromLocalClassicLinkToRemoteVpc()
If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via 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 via ClassicLink.
public PeeringConnectionOptionsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PeeringConnectionOptionsRequest.Builder,PeeringConnectionOptionsRequest>
public static PeeringConnectionOptionsRequest.Builder builder()
public static Class<? extends PeeringConnectionOptionsRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.