Interface PublishResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<PublishResponse.Builder,PublishResponse>
,SdkBuilder<PublishResponse.Builder,PublishResponse>
,SdkPojo
,SdkResponse.Builder
,SnsResponse.Builder
- Enclosing class:
- PublishResponse
public static interface PublishResponse.Builder extends SnsResponse.Builder, SdkPojo, CopyableBuilder<PublishResponse.Builder,PublishResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PublishResponse.Builder
messageId(String messageId)
Unique identifier assigned to the published message.PublishResponse.Builder
sequenceNumber(String sequenceNumber)
This response element applies only to FIFO (first-in-first-out) topics.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.sns.model.SnsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
messageId
PublishResponse.Builder messageId(String messageId)
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
- Parameters:
messageId
- Unique identifier assigned to the published message.Length Constraint: Maximum 100 characters
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sequenceNumber
PublishResponse.Builder sequenceNumber(String sequenceNumber)
This response element applies only to FIFO (first-in-first-out) topics.
The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of
SequenceNumber
is 128 bits.SequenceNumber
continues to increase for eachMessageGroupId
.- Parameters:
sequenceNumber
- This response element applies only to FIFO (first-in-first-out) topics.The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of
SequenceNumber
is 128 bits.SequenceNumber
continues to increase for eachMessageGroupId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-