@Generated(value="software.amazon.awssdk:codegen") public final class GetSmsAttributesRequest extends SnsRequest implements ToCopyableBuilder<GetSmsAttributesRequest.Builder,GetSmsAttributesRequest>
The input for the GetSMSAttributes request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetSmsAttributesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
attributes()
A list of the individual attribute names, such as
MonthlySpendLimit, for which you want values. |
static GetSmsAttributesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttributes()
Returns true if the Attributes property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetSmsAttributesRequest.Builder> |
serializableBuilderClass() |
GetSmsAttributesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasAttributes()
public List<String> attributes()
A list of the individual attribute names, such as MonthlySpendLimit, for which you want values.
For all attribute names, see SetSMSAttributes.
If you don't use this parameter, Amazon SNS returns all SMS attributes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAttributes() to see if a value was sent in this field.
MonthlySpendLimit, for which you want
values.
For all attribute names, see SetSMSAttributes.
If you don't use this parameter, Amazon SNS returns all SMS attributes.
public GetSmsAttributesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetSmsAttributesRequest.Builder,GetSmsAttributesRequest>toBuilder in class SnsRequestpublic static GetSmsAttributesRequest.Builder builder()
public static Class<? extends GetSmsAttributesRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.