Interface PutRecordsResultEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PutRecordsResultEntry.Builder,PutRecordsResultEntry>,SdkBuilder<PutRecordsResultEntry.Builder,PutRecordsResultEntry>,SdkPojo
- Enclosing class:
- PutRecordsResultEntry
public static interface PutRecordsResultEntry.Builder extends SdkPojo, CopyableBuilder<PutRecordsResultEntry.Builder,PutRecordsResultEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutRecordsResultEntry.BuildererrorCode(String errorCode)The error code for an individual record result.PutRecordsResultEntry.BuildererrorMessage(String errorMessage)The error message for an individual record result.PutRecordsResultEntry.BuildersequenceNumber(String sequenceNumber)The sequence number for an individual record result.PutRecordsResultEntry.BuildershardId(String shardId)The shard ID for an individual record result.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
sequenceNumber
PutRecordsResultEntry.Builder sequenceNumber(String sequenceNumber)
The sequence number for an individual record result.
- Parameters:
sequenceNumber- The sequence number for an individual record result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shardId
PutRecordsResultEntry.Builder shardId(String shardId)
The shard ID for an individual record result.
- Parameters:
shardId- The shard ID for an individual record result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
PutRecordsResultEntry.Builder errorCode(String errorCode)
The error code for an individual record result.
ErrorCodescan be eitherProvisionedThroughputExceededExceptionorInternalFailure.- Parameters:
errorCode- The error code for an individual record result.ErrorCodescan be eitherProvisionedThroughputExceededExceptionorInternalFailure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
PutRecordsResultEntry.Builder errorMessage(String errorMessage)
The error message for an individual record result. An
ErrorCodevalue ofProvisionedThroughputExceededExceptionhas an error message that includes the account ID, stream name, and shard ID. AnErrorCodevalue ofInternalFailurehas the error message"Internal Service Failure".- Parameters:
errorMessage- The error message for an individual record result. AnErrorCodevalue ofProvisionedThroughputExceededExceptionhas an error message that includes the account ID, stream name, and shard ID. AnErrorCodevalue ofInternalFailurehas the error message"Internal Service Failure".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-