public class SetSubscriptionAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
SetSubscriptionAttributes operation.
Allows a subscription owner to set an attribute of the topic to a new value.
NOOP| Constructor and Description |
|---|
SetSubscriptionAttributesRequest()
Default constructor for a new SetSubscriptionAttributesRequest object.
|
SetSubscriptionAttributesRequest(String subscriptionArn,
String attributeName,
String attributeValue)
Constructs a new SetSubscriptionAttributesRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
SetSubscriptionAttributesRequest |
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 in JSON format.
|
String |
getSubscriptionArn()
The ARN of the subscription 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 in JSON format.
|
void |
setSubscriptionArn(String subscriptionArn)
The ARN of the subscription to modify.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetSubscriptionAttributesRequest |
withAttributeName(String attributeName)
The name of the attribute you want to set.
|
SetSubscriptionAttributesRequest |
withAttributeValue(String attributeValue)
The new value for the attribute in JSON format.
|
SetSubscriptionAttributesRequest |
withSubscriptionArn(String subscriptionArn)
The ARN of the subscription to modify.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic SetSubscriptionAttributesRequest()
public SetSubscriptionAttributesRequest(String subscriptionArn, String attributeName, String attributeValue)
subscriptionArn - The ARN of the subscription to modify.attributeName - The name of the attribute you want to set. Only a
subset of the subscriptions attributes are mutable. Valid values:
DeliveryPolicy | RawMessageDelivery
attributeValue - The new value for the attribute in JSON format.public String getSubscriptionArn()
public void setSubscriptionArn(String subscriptionArn)
subscriptionArn - The ARN of the subscription to modify.public SetSubscriptionAttributesRequest withSubscriptionArn(String subscriptionArn)
Returns a reference to this object so that method calls can be chained together.
subscriptionArn - The ARN of the subscription to modify.public String getAttributeName()
Valid values:
DeliveryPolicy | RawMessageDelivery
Valid values:
DeliveryPolicy | RawMessageDelivery
public void setAttributeName(String attributeName)
Valid values:
DeliveryPolicy | RawMessageDelivery
attributeName - The name of the attribute you want to set. Only a subset of the
subscriptions attributes are mutable. Valid values:
DeliveryPolicy | RawMessageDelivery
public SetSubscriptionAttributesRequest withAttributeName(String attributeName)
Valid values:
DeliveryPolicy | RawMessageDelivery
Returns a reference to this object so that method calls can be chained together.
attributeName - The name of the attribute you want to set. Only a subset of the
subscriptions attributes are mutable. Valid values:
DeliveryPolicy | RawMessageDelivery
public String getAttributeValue()
public void setAttributeValue(String attributeValue)
attributeValue - The new value for the attribute in JSON format.public SetSubscriptionAttributesRequest withAttributeValue(String attributeValue)
Returns a reference to this object so that method calls can be chained together.
attributeValue - The new value for the attribute in JSON format.public String toString()
toString in class ObjectObject.toString()public SetSubscriptionAttributesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.