Interface EndpointAccess.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EndpointAccess.Builder,EndpointAccess>,SdkBuilder<EndpointAccess.Builder,EndpointAccess>,SdkPojo
- Enclosing class:
- EndpointAccess
public static interface EndpointAccess.Builder extends SdkPojo, CopyableBuilder<EndpointAccess.Builder,EndpointAccess>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EndpointAccess.Builderaddress(String address)The DNS address of the endpoint.EndpointAccess.BuilderendpointArn(String endpointArn)The Amazon Resource Name (ARN) of the VPC endpoint.EndpointAccess.BuilderendpointCreateTime(Instant endpointCreateTime)The time that the endpoint was created.EndpointAccess.BuilderendpointName(String endpointName)The name of the VPC endpoint.EndpointAccess.BuilderendpointStatus(String endpointStatus)The status of the VPC endpoint.EndpointAccess.Builderport(Integer port)The port number on which Amazon Redshift Serverless accepts incoming connections.EndpointAccess.BuildersubnetIds(String... subnetIds)The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.EndpointAccess.BuildersubnetIds(Collection<String> subnetIds)The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.default EndpointAccess.BuildervpcEndpoint(Consumer<VpcEndpoint.Builder> vpcEndpoint)The connection endpoint for connecting to Amazon Redshift Serverless.EndpointAccess.BuildervpcEndpoint(VpcEndpoint vpcEndpoint)The connection endpoint for connecting to Amazon Redshift Serverless.EndpointAccess.BuildervpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)The security groups associated with the endpoint.EndpointAccess.BuildervpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups)The security groups associated with the endpoint.EndpointAccess.BuildervpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)The security groups associated with the endpoint.EndpointAccess.BuilderworkgroupName(String workgroupName)The name of the workgroup associated with the endpoint.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
address
EndpointAccess.Builder address(String address)
The DNS address of the endpoint.
- Parameters:
address- The DNS address of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointArn
EndpointAccess.Builder endpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the VPC endpoint.
- Parameters:
endpointArn- The Amazon Resource Name (ARN) of the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointCreateTime
EndpointAccess.Builder endpointCreateTime(Instant endpointCreateTime)
The time that the endpoint was created.
- Parameters:
endpointCreateTime- The time that the endpoint was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointName
EndpointAccess.Builder endpointName(String endpointName)
The name of the VPC endpoint.
- Parameters:
endpointName- The name of the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointStatus
EndpointAccess.Builder endpointStatus(String endpointStatus)
The status of the VPC endpoint.
- Parameters:
endpointStatus- The status of the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
EndpointAccess.Builder port(Integer port)
The port number on which Amazon Redshift Serverless accepts incoming connections.
- Parameters:
port- The port number on which Amazon Redshift Serverless accepts incoming connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
EndpointAccess.Builder subnetIds(Collection<String> subnetIds)
The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.
- Parameters:
subnetIds- The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
EndpointAccess.Builder subnetIds(String... subnetIds)
The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.
- Parameters:
subnetIds- The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoint
EndpointAccess.Builder vpcEndpoint(VpcEndpoint vpcEndpoint)
The connection endpoint for connecting to Amazon Redshift Serverless.
- Parameters:
vpcEndpoint- The connection endpoint for connecting to Amazon Redshift Serverless.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoint
default EndpointAccess.Builder vpcEndpoint(Consumer<VpcEndpoint.Builder> vpcEndpoint)
The connection endpoint for connecting to Amazon Redshift Serverless.
This is a convenience method that creates an instance of theVpcEndpoint.Builderavoiding the need to create one manually viaVpcEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcEndpoint(VpcEndpoint).- Parameters:
vpcEndpoint- a consumer that will call methods onVpcEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcEndpoint(VpcEndpoint)
-
vpcSecurityGroups
EndpointAccess.Builder vpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
The security groups associated with the endpoint.
- Parameters:
vpcSecurityGroups- The security groups associated with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroups
EndpointAccess.Builder vpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)
The security groups associated with the endpoint.
- Parameters:
vpcSecurityGroups- The security groups associated with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroups
EndpointAccess.Builder vpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups)
The security groups associated with the endpoint.
This is a convenience method that creates an instance of theVpcSecurityGroupMembership.Builderavoiding the need to create one manually viaVpcSecurityGroupMembership.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#vpcSecurityGroups(List.) - Parameters:
vpcSecurityGroups- a consumer that will call methods onVpcSecurityGroupMembership.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#vpcSecurityGroups(java.util.Collection)
-
workgroupName
EndpointAccess.Builder workgroupName(String workgroupName)
The name of the workgroup associated with the endpoint.
- Parameters:
workgroupName- The name of the workgroup associated with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-