@Generated(value="software.amazon.awssdk:codegen") public final class SetPlatformApplicationAttributesRequest extends SnsRequest implements ToCopyableBuilder<SetPlatformApplicationAttributesRequest.Builder,SetPlatformApplicationAttributesRequest>
Input for SetPlatformApplicationAttributes action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetPlatformApplicationAttributesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
attributes()
A map of the platform application attributes.
|
static SetPlatformApplicationAttributesRequest.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() |
String |
platformApplicationArn()
PlatformApplicationArn for SetPlatformApplicationAttributes action.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SetPlatformApplicationAttributesRequest.Builder> |
serializableBuilderClass() |
SetPlatformApplicationAttributesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String platformApplicationArn()
PlatformApplicationArn for SetPlatformApplicationAttributes action.
public final boolean hasAttributes()
public final Map<String,String> attributes()
A map of the platform application attributes. Attributes in this map include the following:
PlatformCredential – The credential received from the notification service. For APNS
and APNS_SANDBOX, PlatformCredential is private key. For GCM
(Firebase Cloud Messaging), PlatformCredential is API key. For ADM,
PlatformCredential is client secret.
PlatformPrincipal – The principal received from the notification service. For APNS and
APNS_SANDBOX, PlatformPrincipal is SSL certificate. For GCM
(Firebase Cloud Messaging), there is no PlatformPrincipal. For ADM,
PlatformPrincipal is client id.
EventEndpointCreated – Topic ARN to which EndpointCreated event notifications are sent.
EventEndpointDeleted – Topic ARN to which EndpointDeleted event notifications are sent.
EventEndpointUpdated – Topic ARN to which EndpointUpdate event notifications are sent.
EventDeliveryFailure – Topic ARN to which DeliveryFailure event notifications are sent
upon Direct Publish delivery failure (permanent) to one of the application's endpoints.
SuccessFeedbackRoleArn – IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on
your behalf.
FailureFeedbackRoleArn – IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on
your behalf.
SuccessFeedbackSampleRate – Sample rate percentage (0-100) of successfully delivered messages.
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.
PlatformCredential – The credential received from the notification service. For
APNS and APNS_SANDBOX, PlatformCredential is
private key. For GCM (Firebase Cloud Messaging),
PlatformCredential is API key. For ADM,
PlatformCredential is client secret.
PlatformPrincipal – The principal received from the notification service. For
APNS and APNS_SANDBOX, PlatformPrincipal is
SSL certificate. For GCM (Firebase Cloud Messaging), there is no
PlatformPrincipal. For ADM, PlatformPrincipal is
client id.
EventEndpointCreated – Topic ARN to which EndpointCreated event notifications
are sent.
EventEndpointDeleted – Topic ARN to which EndpointDeleted event notifications
are sent.
EventEndpointUpdated – Topic ARN to which EndpointUpdate event notifications
are sent.
EventDeliveryFailure – Topic ARN to which DeliveryFailure event notifications
are sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.
SuccessFeedbackRoleArn – IAM role ARN used to give Amazon SNS write access to use CloudWatch
Logs on your behalf.
FailureFeedbackRoleArn – IAM role ARN used to give Amazon SNS write access to use CloudWatch
Logs on your behalf.
SuccessFeedbackSampleRate – Sample rate percentage (0-100) of successfully delivered
messages.
public SetPlatformApplicationAttributesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SetPlatformApplicationAttributesRequest.Builder,SetPlatformApplicationAttributesRequest>toBuilder in class SnsRequestpublic static SetPlatformApplicationAttributesRequest.Builder builder()
public static Class<? extends SetPlatformApplicationAttributesRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.