@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
int |
hashCode() |
String |
platformApplicationArn()
PlatformApplicationArn for SetPlatformApplicationAttributes action.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SetPlatformApplicationAttributesRequest.Builder> |
serializableBuilderClass() |
SetPlatformApplicationAttributesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfigurationcopypublic String platformApplicationArn()
PlatformApplicationArn for SetPlatformApplicationAttributes action.
public 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/APNS_SANDBOX,
PlatformCredential is private key. For GCM, PlatformCredential is "API key". For ADM, PlatformCredential is
"client secret".
PlatformPrincipal – The principal received from the notification service. For APNS/APNS_SANDBOX,
PlatformPrincipal is SSL certificate. For GCM, PlatformPrincipal is not applicable. For ADM, PlatformPrincipal is
"client id".
EventEndpointCreated – Topic ARN to which EndpointCreated event notifications should be sent.
EventEndpointDeleted – Topic ARN to which EndpointDeleted event notifications should be sent.
EventEndpointUpdated – Topic ARN to which EndpointUpdate event notifications should be sent.
EventDeliveryFailure – Topic ARN to which DeliveryFailure event notifications should be 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.
PlatformCredential – The credential received from the notification service. For
APNS/APNS_SANDBOX, PlatformCredential is private key. For GCM, PlatformCredential is "API key". For ADM,
PlatformCredential is "client secret".
PlatformPrincipal – The principal received from the notification service. For
APNS/APNS_SANDBOX, PlatformPrincipal is SSL certificate. For GCM, PlatformPrincipal is not applicable.
For ADM, PlatformPrincipal is "client id".
EventEndpointCreated – Topic ARN to which EndpointCreated event notifications should be
sent.
EventEndpointDeleted – Topic ARN to which EndpointDeleted event notifications should be
sent.
EventEndpointUpdated – Topic ARN to which EndpointUpdate event notifications should be sent.
EventDeliveryFailure – Topic ARN to which DeliveryFailure event notifications should be 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<SetPlatformApplicationAttributesRequest.Builder,SetPlatformApplicationAttributesRequest>toBuilder in class SnsRequestpublic static SetPlatformApplicationAttributesRequest.Builder builder()
public static Class<? extends SetPlatformApplicationAttributesRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.