Interface ExecuteStatementResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ExecuteStatementResponse.Builder,ExecuteStatementResponse>,RedshiftDataResponse.Builder,SdkBuilder<ExecuteStatementResponse.Builder,ExecuteStatementResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ExecuteStatementResponse
public static interface ExecuteStatementResponse.Builder extends RedshiftDataResponse.Builder, SdkPojo, CopyableBuilder<ExecuteStatementResponse.Builder,ExecuteStatementResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecuteStatementResponse.BuilderclusterIdentifier(String clusterIdentifier)The cluster identifier.ExecuteStatementResponse.BuildercreatedAt(Instant createdAt)The date and time (UTC) the statement was created.ExecuteStatementResponse.Builderdatabase(String database)The name of the database.ExecuteStatementResponse.BuilderdbGroups(String... dbGroups)A list of colon (:) separated names of database groups.ExecuteStatementResponse.BuilderdbGroups(Collection<String> dbGroups)A list of colon (:) separated names of database groups.ExecuteStatementResponse.BuilderdbUser(String dbUser)The database user name.ExecuteStatementResponse.Builderid(String id)The identifier of the SQL statement whose results are to be fetched.ExecuteStatementResponse.BuildersecretArn(String secretArn)The name or ARN of the secret that enables access to the database.ExecuteStatementResponse.BuildersessionId(String sessionId)The session identifier of the query.ExecuteStatementResponse.BuilderworkgroupName(String workgroupName)The serverless workgroup name or Amazon Resource Name (ARN).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshiftdata.model.RedshiftDataResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
clusterIdentifier
ExecuteStatementResponse.Builder clusterIdentifier(String clusterIdentifier)
The cluster identifier. This element is not returned when connecting to a serverless workgroup.
- Parameters:
clusterIdentifier- The cluster identifier. This element is not returned when connecting to a serverless workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
ExecuteStatementResponse.Builder createdAt(Instant createdAt)
The date and time (UTC) the statement was created.
- Parameters:
createdAt- The date and time (UTC) the statement was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
ExecuteStatementResponse.Builder database(String database)
The name of the database.
- Parameters:
database- The name of the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbGroups
ExecuteStatementResponse.Builder dbGroups(Collection<String> dbGroups)
A list of colon (:) separated names of database groups.
- Parameters:
dbGroups- A list of colon (:) separated names of database groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbGroups
ExecuteStatementResponse.Builder dbGroups(String... dbGroups)
A list of colon (:) separated names of database groups.
- Parameters:
dbGroups- A list of colon (:) separated names of database groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbUser
ExecuteStatementResponse.Builder dbUser(String dbUser)
The database user name.
- Parameters:
dbUser- The database user name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
ExecuteStatementResponse.Builder id(String id)
The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
- Parameters:
id- The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretArn
ExecuteStatementResponse.Builder secretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
- Parameters:
secretArn- The name or ARN of the secret that enables access to the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
ExecuteStatementResponse.Builder sessionId(String sessionId)
The session identifier of the query.
- Parameters:
sessionId- The session identifier of the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workgroupName
ExecuteStatementResponse.Builder workgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.
- Parameters:
workgroupName- The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-