Class GetStatementResultRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.redshiftdata.model.RedshiftDataRequest
-
- software.amazon.awssdk.services.redshiftdata.model.GetStatementResultRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetStatementResultRequest.Builder,GetStatementResultRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetStatementResultRequest extends RedshiftDataRequest implements ToCopyableBuilder<GetStatementResultRequest.Builder,GetStatementResultRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetStatementResultRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetStatementResultRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier of the SQL statement whose results are to be fetched.StringnextToken()A value that indicates the starting point for the next set of response records in a subsequent request.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetStatementResultRequest.Builder>serializableBuilderClass()GetStatementResultRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final 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. A suffix indicates then number of the SQL statement. For example,
d9b6c0c9-0747-4bf4-b142-e8883122f766:2has a suffix of:2that indicates the second SQL statement of a batch query. This identifier is returned byBatchExecuteStatment,ExecuteStatment, andListStatements.- Returns:
- 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. A suffix indicates then number of the SQL
statement. For example,
d9b6c0c9-0747-4bf4-b142-e8883122f766:2has a suffix of:2that indicates the second SQL statement of a batch query. This identifier is returned byBatchExecuteStatment,ExecuteStatment, andListStatements.
-
nextToken
public final String nextToken()
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
- Returns:
- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
-
toBuilder
public GetStatementResultRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetStatementResultRequest.Builder,GetStatementResultRequest>- Specified by:
toBuilderin classRedshiftDataRequest
-
builder
public static GetStatementResultRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetStatementResultRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-