Class SetTopicAttributesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.sns.model.SetTopicAttributesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class SetTopicAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input for SetTopicAttributes action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description SetTopicAttributesRequest()
Default constructor for SetTopicAttributesRequest object.SetTopicAttributesRequest(String topicArn, String attributeName, String attributeValue)
Constructs a new SetTopicAttributesRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetTopicAttributesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getAttributeName()
The name of the attribute you want to set.String
getAttributeValue()
The new value for the attribute.String
getTopicArn()
The ARN of the topic to modify.int
hashCode()
void
setAttributeName(String attributeName)
The name of the attribute you want to set.void
setAttributeValue(String attributeValue)
The new value for the attribute.void
setTopicArn(String topicArn)
The ARN of the topic to modify.String
toString()
Returns a string representation of this object; useful for testing and debugging.SetTopicAttributesRequest
withAttributeName(String attributeName)
The name of the attribute you want to set.SetTopicAttributesRequest
withAttributeValue(String attributeValue)
The new value for the attribute.SetTopicAttributesRequest
withTopicArn(String topicArn)
The ARN of the topic to modify.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Constructor Detail
-
SetTopicAttributesRequest
public SetTopicAttributesRequest()
Default constructor for SetTopicAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
SetTopicAttributesRequest
public SetTopicAttributesRequest(String topicArn, String attributeName, String attributeValue)
Constructs a new SetTopicAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
topicArn
- The ARN of the topic to modify.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
attributeValue
- The new value for the attribute.
-
-
Method Detail
-
setTopicArn
public void setTopicArn(String topicArn)
The ARN of the topic to modify.
- Parameters:
topicArn
- The ARN of the topic to modify.
-
getTopicArn
public String getTopicArn()
The ARN of the topic to modify.
- Returns:
- The ARN of the topic to modify.
-
withTopicArn
public SetTopicAttributesRequest withTopicArn(String topicArn)
The ARN of the topic to modify.
- Parameters:
topicArn
- The ARN of the topic to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAttributeName
public void setAttributeName(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
- Parameters:
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
-
getAttributeName
public String getAttributeName()
The name of the attribute you want to set. Only a subset of the topic's attributes are mutable.
Valid values:
Policy
|DisplayName
|DeliveryPolicy
- Returns:
- The name of the attribute you want to set. Only a subset of the
topic's attributes are mutable.
Valid values:
Policy
|DisplayName
|DeliveryPolicy
-
withAttributeName
public SetTopicAttributesRequest withAttributeName(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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAttributeValue
public void setAttributeValue(String attributeValue)
The new value for the attribute.
- Parameters:
attributeValue
- The new value for the attribute.
-
getAttributeValue
public String getAttributeValue()
The new value for the attribute.
- Returns:
- The new value for the attribute.
-
withAttributeValue
public SetTopicAttributesRequest withAttributeValue(String attributeValue)
The new value for the attribute.
- Parameters:
attributeValue
- The new value for the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SetTopicAttributesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-