Class SetSubscriptionAttributesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.sns.model.SetSubscriptionAttributesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class SetSubscriptionAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input for SetSubscriptionAttributes action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description SetSubscriptionAttributesRequest()Default constructor for SetSubscriptionAttributesRequest object.SetSubscriptionAttributesRequest(String subscriptionArn, String attributeName, String attributeValue)Constructs a new SetSubscriptionAttributesRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetSubscriptionAttributesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAttributeName()The name of the attribute you want to set.StringgetAttributeValue()The new value for the attribute in JSON format.StringgetSubscriptionArn()The ARN of the subscription to modify.inthashCode()voidsetAttributeName(String attributeName)The name of the attribute you want to set.voidsetAttributeValue(String attributeValue)The new value for the attribute in JSON format.voidsetSubscriptionArn(String subscriptionArn)The ARN of the subscription to modify.StringtoString()Returns a string representation of this object; useful for testing and debugging.SetSubscriptionAttributesRequestwithAttributeName(String attributeName)The name of the attribute you want to set.SetSubscriptionAttributesRequestwithAttributeValue(String attributeValue)The new value for the attribute in JSON format.SetSubscriptionAttributesRequestwithSubscriptionArn(String subscriptionArn)The ARN of the subscription 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
-
SetSubscriptionAttributesRequest
public SetSubscriptionAttributesRequest()
Default constructor for SetSubscriptionAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
SetSubscriptionAttributesRequest
public SetSubscriptionAttributesRequest(String subscriptionArn, String attributeName, String attributeValue)
Constructs a new SetSubscriptionAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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|RawMessageDeliveryattributeValue- The new value for the attribute in JSON format.
-
-
Method Detail
-
setSubscriptionArn
public void setSubscriptionArn(String subscriptionArn)
The ARN of the subscription to modify.
- Parameters:
subscriptionArn- The ARN of the subscription to modify.
-
getSubscriptionArn
public String getSubscriptionArn()
The ARN of the subscription to modify.
- Returns:
- The ARN of the subscription to modify.
-
withSubscriptionArn
public SetSubscriptionAttributesRequest withSubscriptionArn(String subscriptionArn)
The ARN of the subscription to modify.
- Parameters:
subscriptionArn- The ARN of the subscription 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 subscriptions attributes are mutable.
Valid values:
DeliveryPolicy|RawMessageDelivery- Parameters:
attributeName- The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.Valid values:
DeliveryPolicy|RawMessageDelivery
-
getAttributeName
public String getAttributeName()
The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.
Valid values:
DeliveryPolicy|RawMessageDelivery- Returns:
- The name of the attribute you want to set. Only a subset of the
subscriptions attributes are mutable.
Valid values:
DeliveryPolicy|RawMessageDelivery
-
withAttributeName
public SetSubscriptionAttributesRequest withAttributeName(String attributeName)
The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.
Valid values:
DeliveryPolicy|RawMessageDelivery- Parameters:
attributeName- The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.Valid values:
DeliveryPolicy|RawMessageDelivery- 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 in JSON format.
- Parameters:
attributeValue- The new value for the attribute in JSON format.
-
getAttributeValue
public String getAttributeValue()
The new value for the attribute in JSON format.
- Returns:
- The new value for the attribute in JSON format.
-
withAttributeValue
public SetSubscriptionAttributesRequest withAttributeValue(String attributeValue)
The new value for the attribute in JSON format.
- Parameters:
attributeValue- The new value for the attribute in JSON format.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SetSubscriptionAttributesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-