|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sns.model.SetSubscriptionAttributesRequest
public class SetSubscriptionAttributesRequest
Container for the parameters to the SetSubscriptionAttributes operation.
The SetSubscriptionAttributes action allows a subscription owner to set an attribute of the topic to a new value.
AmazonSNS.setSubscriptionAttributes(SetSubscriptionAttributesRequest),
Serialized Form| Constructor Summary | |
|---|---|
SetSubscriptionAttributesRequest()
Default constructor for a new SetSubscriptionAttributesRequest object. |
|
SetSubscriptionAttributesRequest(String subscriptionArn,
String attributeName,
String attributeValue)
Constructs a new SetSubscriptionAttributesRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getAttributeName()
The name of the attribute you want to set. |
String |
getAttributeValue()
The new value for the attribute. |
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. |
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. |
SetSubscriptionAttributesRequest |
withSubscriptionArn(String subscriptionArn)
The ARN of the subscription to modify. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public 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
attributeValue - The new value for the attribute.| Method Detail |
|---|
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
Valid values: DeliveryPolicy
public void setAttributeName(String attributeName)
Valid values: DeliveryPolicy
attributeName - The name of the attribute you want to set. Only a subset of the
subscriptions attributes are mutable. Valid values: DeliveryPolicy
public SetSubscriptionAttributesRequest withAttributeName(String attributeName)
Valid values: DeliveryPolicy
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
public String getAttributeValue()
public void setAttributeValue(String attributeValue)
attributeValue - The new value for the attribute.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.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||