@Generated(value="software.amazon.awssdk:codegen") public final class AwsEc2VpcDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2VpcDetails.Builder,AwsEc2VpcDetails>
Details about an EC2 VPC.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEc2VpcDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsEc2VpcDetails.Builder |
builder() |
List<CidrBlockAssociation> |
cidrBlockAssociationSet()
Information about the IPv4 CIDR blocks associated with the VPC.
|
String |
dhcpOptionsId()
The identifier of the set of Dynamic Host Configuration Protocol (DHCP) options that are associated with the VPC.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCidrBlockAssociationSet()
For responses, this returns true if the service returned a value for the CidrBlockAssociationSet property.
|
int |
hashCode() |
boolean |
hasIpv6CidrBlockAssociationSet()
For responses, this returns true if the service returned a value for the Ipv6CidrBlockAssociationSet property.
|
List<Ipv6CidrBlockAssociation> |
ipv6CidrBlockAssociationSet()
Information about the IPv6 CIDR blocks associated with the VPC.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsEc2VpcDetails.Builder> |
serializableBuilderClass() |
String |
state()
The current state of the VPC.
|
AwsEc2VpcDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasCidrBlockAssociationSet()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<CidrBlockAssociation> cidrBlockAssociationSet()
Information about the IPv4 CIDR blocks associated with the VPC.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCidrBlockAssociationSet() method.
public final boolean hasIpv6CidrBlockAssociationSet()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<Ipv6CidrBlockAssociation> ipv6CidrBlockAssociationSet()
Information about the IPv6 CIDR blocks associated with the VPC.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasIpv6CidrBlockAssociationSet() method.
public final String dhcpOptionsId()
The identifier of the set of Dynamic Host Configuration Protocol (DHCP) options that are associated with the VPC. If the default options are associated with the VPC, then this is default.
public final String state()
The current state of the VPC. Valid values are available or pending.
available or pending.public AwsEc2VpcDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsEc2VpcDetails.Builder,AwsEc2VpcDetails>public static AwsEc2VpcDetails.Builder builder()
public static Class<? extends AwsEc2VpcDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.