@Generated(value="software.amazon.awssdk:codegen") public final class ListSubscriptionsResponse extends SnsResponse implements ToCopyableBuilder<ListSubscriptionsResponse.Builder,ListSubscriptionsResponse>
Response for ListSubscriptions action
Modifier and Type | Class and Description |
---|---|
static interface |
ListSubscriptionsResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static ListSubscriptionsResponse.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
ListSubscriptions request. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListSubscriptionsResponse.Builder> |
serializableBuilderClass() |
List<Subscription> |
subscriptions()
A list of subscriptions.
|
ListSubscriptionsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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 ListSubscriptions
request. This element is returned if there are
more subscriptions to retrieve.
ListSubscriptions
request. This element is returned if there
are more subscriptions to retrieve.public ListSubscriptionsResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ListSubscriptionsResponse.Builder,ListSubscriptionsResponse>
toBuilder
in class AwsResponse
public static ListSubscriptionsResponse.Builder builder()
public static Class<? extends ListSubscriptionsResponse.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.