@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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String platformApplicationArn()
PlatformApplicationArn for SetPlatformApplicationAttributes action.
public boolean hasAttributes()
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 FCM, 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 FCM, 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.
You can use hasAttributes()
to see if a value was sent in this field.
PlatformCredential
– The credential received from the notification service. For
APNS/APNS_SANDBOX, PlatformCredential is private key. For FCM, 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 FCM, 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()
toBuilder
in interface ToCopyableBuilder<SetPlatformApplicationAttributesRequest.Builder,SetPlatformApplicationAttributesRequest>
toBuilder
in class SnsRequest
public static SetPlatformApplicationAttributesRequest.Builder builder()
public static Class<? extends SetPlatformApplicationAttributesRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
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 SdkRequest
Copyright © 2020. All rights reserved.