@Generated(value="software.amazon.awssdk:codegen") public final class PublishResponse extends SnsResponse implements ToCopyableBuilder<PublishResponse.Builder,PublishResponse>
Response for Publish action.
Modifier and Type | Class and Description |
---|---|
static interface |
PublishResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static PublishResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
messageId()
Unique identifier assigned to the published message.
|
List<SdkField<?>> |
sdkFields() |
String |
sequenceNumber()
This response element applies only to FIFO (first-in-first-out) topics.
|
static Class<? extends PublishResponse.Builder> |
serializableBuilderClass() |
PublishResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String messageId()
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
Length Constraint: Maximum 100 characters
public 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 each
MessageGroupId
.
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
each MessageGroupId
.
public PublishResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<PublishResponse.Builder,PublishResponse>
toBuilder
in class AwsResponse
public static PublishResponse.Builder builder()
public static Class<? extends PublishResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsResponse
public boolean equals(Object obj)
equals
in class AwsResponse
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2020. All rights reserved.