@Generated(value="software.amazon.awssdk:codegen") public final class SetTopicAttributesRequest extends SnsRequest implements ToCopyableBuilder<SetTopicAttributesRequest.Builder,SetTopicAttributesRequest>
Input for SetTopicAttributes action.
Modifier and Type | Class and Description |
---|---|
static interface |
SetTopicAttributesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
attributeName()
The name of the attribute you want to set.
|
String |
attributeValue()
The new value for the attribute.
|
static SetTopicAttributesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SetTopicAttributesRequest.Builder> |
serializableBuilderClass() |
SetTopicAttributesRequest.Builder |
toBuilder() |
String |
topicArn()
The ARN of the topic to modify.
|
String |
toString() |
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String topicArn()
The ARN of the topic to modify.
public String attributeName()
The name of the attribute you want to set. Only a subset of the topic's attributes are mutable.
Valid values: Policy
| DisplayName
| DeliveryPolicy
Valid values: Policy
| DisplayName
| DeliveryPolicy
public String attributeValue()
The new value for the attribute.
public SetTopicAttributesRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SetTopicAttributesRequest.Builder,SetTopicAttributesRequest>
toBuilder
in class SnsRequest
public static SetTopicAttributesRequest.Builder builder()
public static Class<? extends SetTopicAttributesRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2018. All rights reserved.