Interface CreateEndpointAccessResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateEndpointAccessResponse.Builder,CreateEndpointAccessResponse>,RedshiftResponse.Builder,SdkBuilder<CreateEndpointAccessResponse.Builder,CreateEndpointAccessResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateEndpointAccessResponse
public static interface CreateEndpointAccessResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<CreateEndpointAccessResponse.Builder,CreateEndpointAccessResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateEndpointAccessResponse.Builderaddress(String address)The DNS address of the endpoint.CreateEndpointAccessResponse.BuilderclusterIdentifier(String clusterIdentifier)The cluster identifier of the cluster associated with the endpoint.CreateEndpointAccessResponse.BuilderendpointCreateTime(Instant endpointCreateTime)The time (UTC) that the endpoint was created.CreateEndpointAccessResponse.BuilderendpointName(String endpointName)The name of the endpoint.CreateEndpointAccessResponse.BuilderendpointStatus(String endpointStatus)The status of the endpoint.CreateEndpointAccessResponse.Builderport(Integer port)The port number on which the cluster accepts incoming connections.CreateEndpointAccessResponse.BuilderresourceOwner(String resourceOwner)The Amazon Web Services account ID of the owner of the cluster.CreateEndpointAccessResponse.BuildersubnetGroupName(String subnetGroupName)The subnet group name where Amazon Redshift chooses to deploy the endpoint.default CreateEndpointAccessResponse.BuildervpcEndpoint(Consumer<VpcEndpoint.Builder> vpcEndpoint)Sets the value of the VpcEndpoint property for this object.CreateEndpointAccessResponse.BuildervpcEndpoint(VpcEndpoint vpcEndpoint)Sets the value of the VpcEndpoint property for this object.CreateEndpointAccessResponse.BuildervpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)The security groups associated with the endpoint.CreateEndpointAccessResponse.BuildervpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups)The security groups associated with the endpoint.CreateEndpointAccessResponse.BuildervpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)The security groups associated with the endpoint.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
clusterIdentifier
CreateEndpointAccessResponse.Builder clusterIdentifier(String clusterIdentifier)
The cluster identifier of the cluster associated with the endpoint.
- Parameters:
clusterIdentifier- The cluster identifier of the cluster associated with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceOwner
CreateEndpointAccessResponse.Builder resourceOwner(String resourceOwner)
The Amazon Web Services account ID of the owner of the cluster.
- Parameters:
resourceOwner- The Amazon Web Services account ID of the owner of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetGroupName
CreateEndpointAccessResponse.Builder subnetGroupName(String subnetGroupName)
The subnet group name where Amazon Redshift chooses to deploy the endpoint.
- Parameters:
subnetGroupName- The subnet group name where Amazon Redshift chooses to deploy the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointStatus
CreateEndpointAccessResponse.Builder endpointStatus(String endpointStatus)
The status of the endpoint.
- Parameters:
endpointStatus- The status of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointName
CreateEndpointAccessResponse.Builder endpointName(String endpointName)
The name of the endpoint.
- Parameters:
endpointName- The name of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointCreateTime
CreateEndpointAccessResponse.Builder endpointCreateTime(Instant endpointCreateTime)
The time (UTC) that the endpoint was created.
- Parameters:
endpointCreateTime- The time (UTC) that the endpoint was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
CreateEndpointAccessResponse.Builder port(Integer port)
The port number on which the cluster accepts incoming connections.
- Parameters:
port- The port number on which the cluster accepts incoming connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
CreateEndpointAccessResponse.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.
-
vpcSecurityGroups
CreateEndpointAccessResponse.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
CreateEndpointAccessResponse.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
CreateEndpointAccessResponse.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)
-
vpcEndpoint
CreateEndpointAccessResponse.Builder vpcEndpoint(VpcEndpoint vpcEndpoint)
Sets the value of the VpcEndpoint property for this object.- Parameters:
vpcEndpoint- The new value for the VpcEndpoint property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoint
default CreateEndpointAccessResponse.Builder vpcEndpoint(Consumer<VpcEndpoint.Builder> vpcEndpoint)
Sets the value of the VpcEndpoint property for this object. 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)
-
-