@Generated(value="software.amazon.awssdk:codegen") public final class ListSubscriptionsByTopicResponse extends SnsResponse implements ToCopyableBuilder<ListSubscriptionsByTopicResponse.Builder,ListSubscriptionsByTopicResponse>
Response for ListSubscriptionsByTopic action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListSubscriptionsByTopicResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListSubscriptionsByTopicResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSubscriptions()
Returns true if the Subscriptions property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
nextToken()
Token to pass along to the next
ListSubscriptionsByTopic request. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListSubscriptionsByTopicResponse.Builder> |
serializableBuilderClass() |
List<Subscription> |
subscriptions()
A list of subscriptions.
|
ListSubscriptionsByTopicResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasSubscriptions()
public List<Subscription> subscriptions()
A list of subscriptions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSubscriptions() to see if a value was sent in this field.
public String nextToken()
Token to pass along to the next ListSubscriptionsByTopic request. This element is returned if there
are more subscriptions to retrieve.
ListSubscriptionsByTopic request. This element is returned
if there are more subscriptions to retrieve.public ListSubscriptionsByTopicResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListSubscriptionsByTopicResponse.Builder,ListSubscriptionsByTopicResponse>toBuilder in class AwsResponsepublic static ListSubscriptionsByTopicResponse.Builder builder()
public static Class<? extends ListSubscriptionsByTopicResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.