/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.sns.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** *

* Input for SetTopicAttributes action. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SetTopicAttributesRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The ARN of the topic to modify. *

*/ private String topicArn; /** *

* A map of attributes with their corresponding values. *

*

* The following lists the names, descriptions, and values of the special request parameters that the * SetTopicAttributes action uses: *

* * *

* The <ENDPOINT>SuccessFeedbackRoleArn and <ENDPOINT>FailureFeedbackRoleArn attributes are used to give * Amazon SNS write access to use CloudWatch Logs on your behalf. The <ENDPOINT>SuccessFeedbackSampleRate * attribute is for specifying the sample rate percentage (0-100) of successfully delivered messages. After you * configure the <ENDPOINT>FailureFeedbackRoleArn attribute, then all failed message deliveries generate * CloudWatch Logs. *

*
*

* The following attribute applies only to server-side-encryption: *

* *

* The following attribute applies only to FIFO topics: *

* */ private String attributeName; /** *

* The new value for the attribute. *

*/ private String attributeValue; /** * Default constructor for SetTopicAttributesRequest object. Callers should use the setter or fluent setter * (with...) methods to initialize the object after creating it. */ public SetTopicAttributesRequest() { } /** * Constructs a new SetTopicAttributesRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param topicArn * The ARN of the topic to modify. * @param attributeName * A map of attributes with their corresponding values.

*

* The following lists the names, descriptions, and values of the special request parameters that the * SetTopicAttributes action uses: *

* * *

* The <ENDPOINT>SuccessFeedbackRoleArn and <ENDPOINT>FailureFeedbackRoleArn attributes are used * to give Amazon SNS write access to use CloudWatch Logs on your behalf. The * <ENDPOINT>SuccessFeedbackSampleRate attribute is for specifying the sample rate percentage (0-100) * of successfully delivered messages. After you configure the <ENDPOINT>FailureFeedbackRoleArn * attribute, then all failed message deliveries generate CloudWatch Logs. *

*
*

* The following attribute applies only to server-side-encryption: *

* *

* The following attribute applies only to FIFO topics: *

*