Class PeeringConnectionOptions
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.PeeringConnectionOptions
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PeeringConnectionOptions.Builder,PeeringConnectionOptions>
@Generated("software.amazon.awssdk:codegen") public final class PeeringConnectionOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PeeringConnectionOptions.Builder,PeeringConnectionOptions>
Describes the VPC peering connection options.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PeeringConnectionOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
Deprecated.Boolean
allowEgressFromLocalVpcToRemoteClassicLink()
Deprecated.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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
allowDnsResolutionFromRemoteVpc
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.
- Returns:
- 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.
-
allowEgressFromLocalClassicLinkToRemoteVpc
public final Boolean allowEgressFromLocalClassicLinkToRemoteVpc()
Deprecated.
- Returns:
- Deprecated.
-
allowEgressFromLocalVpcToRemoteClassicLink
public final Boolean allowEgressFromLocalVpcToRemoteClassicLink()
Deprecated.
- Returns:
- Deprecated.
-
toBuilder
public PeeringConnectionOptions.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PeeringConnectionOptions.Builder,PeeringConnectionOptions>
-
builder
public static PeeringConnectionOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends PeeringConnectionOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-