@Generated(value="software.amazon.awssdk:codegen") public final class CreateEndpointAccessRequest extends RedshiftServerlessRequest implements ToCopyableBuilder<CreateEndpointAccessRequest.Builder,CreateEndpointAccessRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateEndpointAccessRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateEndpointAccessRequest.Builder |
builder() |
String |
endpointName()
The name of the VPC endpoint.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSubnetIds()
For responses, this returns true if the service returned a value for the SubnetIds property.
|
boolean |
hasVpcSecurityGroupIds()
For responses, this returns true if the service returned a value for the VpcSecurityGroupIds property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateEndpointAccessRequest.Builder> |
serializableBuilderClass() |
List<String> |
subnetIds()
The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint.
|
CreateEndpointAccessRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
vpcSecurityGroupIds()
The unique identifiers of the security group that defines the ports, protocols, and sources for inbound traffic
that you are authorizing into your endpoint.
|
String |
workgroupName()
The name of the workgroup to associate with the VPC endpoint.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String endpointName()
The name of the VPC endpoint. An endpoint name must contain 1-30 characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't contain two consecutive hyphens or end with a hyphen.
public 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 unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint.
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 hasVpcSecurityGroupIds()
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> vpcSecurityGroupIds()
The unique identifiers of the security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
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 hasVpcSecurityGroupIds() method.
public final String workgroupName()
The name of the workgroup to associate with the VPC endpoint.
public CreateEndpointAccessRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateEndpointAccessRequest.Builder,CreateEndpointAccessRequest>toBuilder in class RedshiftServerlessRequestpublic static CreateEndpointAccessRequest.Builder builder()
public static Class<? extends CreateEndpointAccessRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.