@Generated(value="software.amazon.awssdk:codegen") public final class GetSmsAttributesResponse extends SnsResponse implements ToCopyableBuilder<GetSmsAttributesResponse.Builder,GetSmsAttributesResponse>
The response from the GetSMSAttributes
request.
Modifier and Type | Class and Description |
---|---|
static interface |
GetSmsAttributesResponse.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
attributes()
The SMS attribute names and their values.
|
static GetSmsAttributesResponse.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 GetSmsAttributesResponse.Builder> |
serializableBuilderClass() |
GetSmsAttributesResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final boolean hasAttributes()
public final Map<String,String> attributes()
The SMS attribute names and their values.
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.
public GetSmsAttributesResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetSmsAttributesResponse.Builder,GetSmsAttributesResponse>
toBuilder
in class AwsResponse
public static GetSmsAttributesResponse.Builder builder()
public static Class<? extends GetSmsAttributesResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2021. All rights reserved.