@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 |
getClusterIdentifier()
The cluster identifier of the cluster to access.
|
String |
getEndpointName()
The Redshift-managed VPC endpoint name.
|
String |
getResourceOwner()
The Amazon Web Services account ID of the owner of the cluster.
|
String |
getSubnetGroupName()
The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.
|
List<String> |
getVpcSecurityGroupIds()
The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing
into your endpoint.
|
int |
hashCode() |
void |
setClusterIdentifier(String clusterIdentifier)
The cluster identifier of the cluster to access.
|
void |
setEndpointName(String endpointName)
The Redshift-managed VPC endpoint name.
|
void |
setResourceOwner(String resourceOwner)
The Amazon Web Services account ID of the owner of the cluster.
|
void |
setSubnetGroupName(String subnetGroupName)
The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing
into your endpoint.
|
String |
toString()
Returns a string representation of this object.
|
CreateEndpointAccessRequest |
withClusterIdentifier(String clusterIdentifier)
The cluster identifier of the cluster to access.
|
CreateEndpointAccessRequest |
withEndpointName(String endpointName)
The Redshift-managed VPC endpoint name.
|
CreateEndpointAccessRequest |
withResourceOwner(String resourceOwner)
The Amazon Web Services account ID of the owner of the cluster.
|
CreateEndpointAccessRequest |
withSubnetGroupName(String subnetGroupName)
The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.
|
CreateEndpointAccessRequest |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
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 security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing
into your 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, withSdkRequestTimeout
public void setClusterIdentifier(String clusterIdentifier)
The cluster identifier of the cluster to access.
clusterIdentifier
- The cluster identifier of the cluster to access.public String getClusterIdentifier()
The cluster identifier of the cluster to access.
public CreateEndpointAccessRequest withClusterIdentifier(String clusterIdentifier)
The cluster identifier of the cluster to access.
clusterIdentifier
- The cluster identifier of the cluster to access.public void setResourceOwner(String resourceOwner)
The Amazon Web Services account ID of the owner of the cluster. This is only required if the cluster is in another Amazon Web Services account.
resourceOwner
- The Amazon Web Services account ID of the owner of the cluster. This is only required if the cluster is in
another Amazon Web Services account.public String getResourceOwner()
The Amazon Web Services account ID of the owner of the cluster. This is only required if the cluster is in another Amazon Web Services account.
public CreateEndpointAccessRequest withResourceOwner(String resourceOwner)
The Amazon Web Services account ID of the owner of the cluster. This is only required if the cluster is in another Amazon Web Services account.
resourceOwner
- The Amazon Web Services account ID of the owner of the cluster. This is only required if the cluster is in
another Amazon Web Services account.public void setEndpointName(String endpointName)
The Redshift-managed VPC endpoint name.
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 Redshift-managed VPC endpoint name.
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 Redshift-managed VPC endpoint name.
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.
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 Redshift-managed VPC endpoint name.
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 Redshift-managed VPC endpoint name.
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 setSubnetGroupName(String subnetGroupName)
The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.
subnetGroupName
- The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.public String getSubnetGroupName()
The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.
public CreateEndpointAccessRequest withSubnetGroupName(String subnetGroupName)
The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.
subnetGroupName
- The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.public List<String> getVpcSecurityGroupIds()
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 security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
vpcSecurityGroupIds
- 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 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 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 security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
vpcSecurityGroupIds
- The security group that defines the ports, protocols, and sources for inbound traffic that you are
authorizing into your endpoint.public String toString()
toString
in class Object
Object.toString()
public CreateEndpointAccessRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()