@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEndpointAccessRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateEndpointAccessRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateEndpointAccessRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getEndpointName()
 The name of the VPC endpoint. | 
| String | getOwnerAccount()
 The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup. | 
| List<String> | getSubnetIds()
 The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint. | 
| List<String> | getVpcSecurityGroupIds()
 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 | getWorkgroupName()
 The name of the workgroup to associate with the VPC endpoint. | 
| int | hashCode() | 
| void | setEndpointName(String endpointName)
 The name of the VPC endpoint. | 
| void | setOwnerAccount(String ownerAccount)
 The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup. | 
| void | setSubnetIds(Collection<String> subnetIds)
 The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint. | 
| void | setVpcSecurityGroupIds(Collection<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. | 
| void | setWorkgroupName(String workgroupName)
 The name of the workgroup to associate with the VPC endpoint. | 
| String | toString()Returns a string representation of this object. | 
| CreateEndpointAccessRequest | withEndpointName(String endpointName)
 The name of the VPC endpoint. | 
| CreateEndpointAccessRequest | withOwnerAccount(String ownerAccount)
 The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup. | 
| CreateEndpointAccessRequest | withSubnetIds(Collection<String> subnetIds)
 The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint. | 
| CreateEndpointAccessRequest | withSubnetIds(String... subnetIds)
 The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint. | 
| CreateEndpointAccessRequest | withVpcSecurityGroupIds(Collection<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. | 
| CreateEndpointAccessRequest | withVpcSecurityGroupIds(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. | 
| CreateEndpointAccessRequest | withWorkgroupName(String workgroupName)
 The name of the workgroup to associate with the VPC endpoint. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setEndpointName(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.
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 String getEndpointName()
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 CreateEndpointAccessRequest withEndpointName(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.
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 void setOwnerAccount(String ownerAccount)
The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.
ownerAccount - The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.public String getOwnerAccount()
The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.
public CreateEndpointAccessRequest withOwnerAccount(String ownerAccount)
The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.
ownerAccount - The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.public List<String> getSubnetIds()
The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint.
public void setSubnetIds(Collection<String> subnetIds)
The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint.
subnetIds - The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC
        endpoint.public CreateEndpointAccessRequest withSubnetIds(String... subnetIds)
The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint.
 NOTE: This method appends the values to the existing list (if any). Use
 setSubnetIds(java.util.Collection) or withSubnetIds(java.util.Collection) if you want to
 override the existing values.
 
subnetIds - The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC
        endpoint.public CreateEndpointAccessRequest withSubnetIds(Collection<String> subnetIds)
The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint.
subnetIds - The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC
        endpoint.public List<String> getVpcSecurityGroupIds()
The unique identifiers of the security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
public void setVpcSecurityGroupIds(Collection<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.
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.public CreateEndpointAccessRequest withVpcSecurityGroupIds(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.
 NOTE: This method appends the values to the existing list (if any). Use
 setVpcSecurityGroupIds(java.util.Collection) or withVpcSecurityGroupIds(java.util.Collection)
 if you want to override the existing values.
 
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.public CreateEndpointAccessRequest withVpcSecurityGroupIds(Collection<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.
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.public void setWorkgroupName(String workgroupName)
The name of the workgroup to associate with the VPC endpoint.
workgroupName - The name of the workgroup to associate with the VPC endpoint.public String getWorkgroupName()
The name of the workgroup to associate with the VPC endpoint.
public CreateEndpointAccessRequest withWorkgroupName(String workgroupName)
The name of the workgroup to associate with the VPC endpoint.
workgroupName - The name of the workgroup to associate with the VPC endpoint.public String toString()
toString in class ObjectObject.toString()public CreateEndpointAccessRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()