Class VPC
- java.lang.Object
-
- software.amazon.awssdk.services.route53.model.VPC
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VPC.Builder,VPC>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVPC.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VPC.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends VPC.Builder>serializableBuilderClass()VPC.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvpcId()Returns the value of the VPCId property for this object.VPCRegionvpcRegion()(Private hosted zones only) The region that an Amazon VPC was created in.StringvpcRegionAsString()(Private hosted zones only) The region that an Amazon VPC was created in.-
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
-
vpcRegion
public 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,
vpcRegionwill returnVPCRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvpcRegionAsString().- Returns:
- (Private hosted zones only) The region that an Amazon VPC was created in.
- See Also:
VPCRegion
-
vpcRegionAsString
public 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,
vpcRegionwill returnVPCRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvpcRegionAsString().- Returns:
- (Private hosted zones only) The region that an Amazon VPC was created in.
- See Also:
VPCRegion
-
vpcId
public final String vpcId()
Returns the value of the VPCId property for this object.- Returns:
- The value of the VPCId property for this object.
-
toBuilder
public VPC.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VPC.Builder,VPC>
-
builder
public static VPC.Builder builder()
-
serializableBuilderClass
public static Class<? extends VPC.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-