Class SetTopicAttributesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Input for SetTopicAttributes action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for SetTopicAttributesRequest object.SetTopicAttributesRequest
(String topicArn, String attributeName, String attributeValue) Constructs a new SetTopicAttributesRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The name of the attribute you want to set.The new value for the attribute.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.toString()
Returns a string representation of this object; useful for testing and debugging.withAttributeName
(String attributeName) The name of the attribute you want to set.withAttributeValue
(String attributeValue) The new value for the attribute.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 Details
-
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
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 Details
-
setTopicArn
The ARN of the topic to modify.
- Parameters:
topicArn
- The ARN of the topic to modify.
-
getTopicArn
The ARN of the topic to modify.
- Returns:
- The ARN of the topic to modify.
-
withTopicArn
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
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
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
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
The new value for the attribute.
- Parameters:
attributeValue
- The new value for the attribute.
-
getAttributeValue
The new value for the attribute.
- Returns:
- The new value for the attribute.
-
withAttributeValue
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-