Interface ExecuteStatementResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ExecuteStatementResponse.Builder,,ExecuteStatementResponse> RdsDataResponse.Builder,SdkBuilder<ExecuteStatementResponse.Builder,,ExecuteStatementResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ExecuteStatementResponse
-
Method Summary
Modifier and TypeMethodDescriptioncolumnMetadata(Collection<ColumnMetadata> columnMetadata) Metadata for the columns included in the results.columnMetadata(Consumer<ColumnMetadata.Builder>... columnMetadata) Metadata for the columns included in the results.columnMetadata(ColumnMetadata... columnMetadata) Metadata for the columns included in the results.formattedRecords(String formattedRecords) A string value that represents the result set of aSELECTstatement in JSON format.generatedFields(Collection<Field> generatedFields) Values for fields generated during a DML request.generatedFields(Consumer<Field.Builder>... generatedFields) Values for fields generated during a DML request.generatedFields(Field... generatedFields) Values for fields generated during a DML request.numberOfRecordsUpdated(Long numberOfRecordsUpdated) The number of records updated by the request.records(Collection<? extends Collection<Field>> records) The records returned by the SQL statement.records(Collection<Field>... records) The records returned by the SQL statement.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rdsdata.model.RdsDataResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
records
The records returned by the SQL statement. This field is blank if the
formatRecordsAsparameter is set toJSON.- Parameters:
records- The records returned by the SQL statement. This field is blank if theformatRecordsAsparameter is set toJSON.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
records
The records returned by the SQL statement. This field is blank if the
formatRecordsAsparameter is set toJSON.- Parameters:
records- The records returned by the SQL statement. This field is blank if theformatRecordsAsparameter is set toJSON.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnMetadata
Metadata for the columns included in the results. This field is blank if the
formatRecordsAsparameter is set toJSON.- Parameters:
columnMetadata- Metadata for the columns included in the results. This field is blank if theformatRecordsAsparameter is set toJSON.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnMetadata
Metadata for the columns included in the results. This field is blank if the
formatRecordsAsparameter is set toJSON.- Parameters:
columnMetadata- Metadata for the columns included in the results. This field is blank if theformatRecordsAsparameter is set toJSON.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnMetadata
Metadata for the columns included in the results. This field is blank if the
This is a convenience method that creates an instance of theformatRecordsAsparameter is set toJSON.ColumnMetadata.Builderavoiding the need to create one manually viaColumnMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocolumnMetadata(List<ColumnMetadata>).- Parameters:
columnMetadata- a consumer that will call methods onColumnMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
numberOfRecordsUpdated
The number of records updated by the request.
- Parameters:
numberOfRecordsUpdated- The number of records updated by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generatedFields
Values for fields generated during a DML request.
The
generatedFieldsdata isn't supported by Aurora PostgreSQL. To get the values of generated fields, use theRETURNINGclause. For more information, see Returning Data From Modified Rows in the PostgreSQL documentation.- Parameters:
generatedFields- Values for fields generated during a DML request.The
generatedFieldsdata isn't supported by Aurora PostgreSQL. To get the values of generated fields, use theRETURNINGclause. For more information, see Returning Data From Modified Rows in the PostgreSQL documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generatedFields
Values for fields generated during a DML request.
The
generatedFieldsdata isn't supported by Aurora PostgreSQL. To get the values of generated fields, use theRETURNINGclause. For more information, see Returning Data From Modified Rows in the PostgreSQL documentation.- Parameters:
generatedFields- Values for fields generated during a DML request.The
generatedFieldsdata isn't supported by Aurora PostgreSQL. To get the values of generated fields, use theRETURNINGclause. For more information, see Returning Data From Modified Rows in the PostgreSQL documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generatedFields
Values for fields generated during a DML request.
This is a convenience method that creates an instance of theThe
generatedFieldsdata isn't supported by Aurora PostgreSQL. To get the values of generated fields, use theRETURNINGclause. For more information, see Returning Data From Modified Rows in the PostgreSQL documentation.Field.Builderavoiding the need to create one manually viaField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeneratedFields(List<Field>).- Parameters:
generatedFields- a consumer that will call methods onField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
formattedRecords
A string value that represents the result set of a
SELECTstatement in JSON format. This value is only present when theformatRecordsAsparameter is set toJSON.The size limit for this field is currently 10 MB. If the JSON-formatted string representing the result set requires more than 10 MB, the call returns an error.
- Parameters:
formattedRecords- A string value that represents the result set of aSELECTstatement in JSON format. This value is only present when theformatRecordsAsparameter is set toJSON.The size limit for this field is currently 10 MB. If the JSON-formatted string representing the result set requires more than 10 MB, the call returns an error.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-