@Generated(value="software.amazon.awssdk:codegen") public final class VpcDestinationProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VpcDestinationProperties.Builder,VpcDestinationProperties>
The properties of a virtual private cloud (VPC) destination.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VpcDestinationProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VpcDestinationProperties.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSecurityGroups()
For responses, this returns true if the service returned a value for the SecurityGroups property.
|
boolean |
hasSubnetIds()
For responses, this returns true if the service returned a value for the SubnetIds property.
|
String |
roleArn()
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroups()
The security groups of the VPC destination.
|
static Class<? extends VpcDestinationProperties.Builder> |
serializableBuilderClass() |
List<String> |
subnetIds()
The subnet IDs of the VPC destination.
|
VpcDestinationProperties.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The ID of the VPC.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasSubnetIds()
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<String> subnetIds()
The subnet IDs of the VPC destination.
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 hasSubnetIds() method.
public final boolean hasSecurityGroups()
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<String> securityGroups()
The security groups of the VPC destination.
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 hasSecurityGroups() method.
public final String vpcId()
The ID of the VPC.
public final String roleArn()
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
public VpcDestinationProperties.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VpcDestinationProperties.Builder,VpcDestinationProperties>public static VpcDestinationProperties.Builder builder()
public static Class<? extends VpcDestinationProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.