Interface CreateEndpointAccessRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateEndpointAccessRequest.Builder,
,CreateEndpointAccessRequest> RedshiftRequest.Builder
,SdkBuilder<CreateEndpointAccessRequest.Builder,
,CreateEndpointAccessRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateEndpointAccessRequest
-
Method Summary
Modifier and TypeMethodDescriptionclusterIdentifier
(String clusterIdentifier) The cluster identifier of the cluster to access.endpointName
(String endpointName) The Redshift-managed VPC endpoint name.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceOwner
(String resourceOwner) The Amazon Web Services account ID of the owner of the cluster.subnetGroupName
(String subnetGroupName) The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.vpcSecurityGroupIds
(String... vpcSecurityGroupIds) The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.vpcSecurityGroupIds
(Collection<String> vpcSecurityGroupIds) The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterIdentifier
The cluster identifier of the cluster to access.
- Parameters:
clusterIdentifier
- The cluster identifier of the cluster to access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetGroupName
The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.
- Parameters:
subnetGroupName
- The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupIds
The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
- Parameters:
vpcSecurityGroupIds
- The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupIds
The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
- Parameters:
vpcSecurityGroupIds
- The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateEndpointAccessRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateEndpointAccessRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-