@Generated(value="software.amazon.awssdk:codegen") public final class VPC extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VPC.Builder,VPC>
(Private hosted zones only) A complex type that contains information about an Amazon VPC.
If you associate a private hosted zone with an Amazon VPC when you make a CreateHostedZone request, the following parameters are also required.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VPC.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VPC.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 VPC.Builder> |
serializableBuilderClass() |
VPC.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
Returns the value of the VPCId property for this object.
|
VPCRegion |
vpcRegion()
(Private hosted zones only) The region that an Amazon VPC was created in.
|
String |
vpcRegionAsString()
(Private hosted zones only) The region that an Amazon VPC was created in.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final VPCRegion vpcRegion()
(Private hosted zones only) The region that an Amazon VPC was created in.
If the service returns an enum value that is not available in the current SDK version, vpcRegion will
return VPCRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
vpcRegionAsString().
VPCRegionpublic final String vpcRegionAsString()
(Private hosted zones only) The region that an Amazon VPC was created in.
If the service returns an enum value that is not available in the current SDK version, vpcRegion will
return VPCRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
vpcRegionAsString().
VPCRegionpublic final String vpcId()
public VPC.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VPC.Builder,VPC>public static VPC.Builder builder()
public static Class<? extends VPC.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.