@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetSubscriptionAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input for SetSubscriptionAttributes action.
NOOP
Constructor and Description |
---|
SetSubscriptionAttributesRequest()
Default constructor for SetSubscriptionAttributesRequest object.
|
SetSubscriptionAttributesRequest(String subscriptionArn,
String attributeName,
String attributeValue)
Constructs a new SetSubscriptionAttributesRequest object.
|
Modifier and Type | Method and Description |
---|---|
SetSubscriptionAttributesRequest |
clone() |
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.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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
| RawMessageDelivery
attributeValue
- The new value for the attribute in JSON format.public void setSubscriptionArn(String subscriptionArn)
The ARN of the subscription to modify.
subscriptionArn
- The ARN of the subscription to modify.public String getSubscriptionArn()
The ARN of the subscription to modify.
public SetSubscriptionAttributesRequest withSubscriptionArn(String subscriptionArn)
The ARN of the subscription to modify.
subscriptionArn
- The ARN of the subscription to modify.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
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 getAttributeName()
The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.
Valid values: DeliveryPolicy
| RawMessageDelivery
Valid values: DeliveryPolicy
| RawMessageDelivery
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
attributeName
- The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.
Valid values: DeliveryPolicy
| RawMessageDelivery
public void setAttributeValue(String attributeValue)
The new value for the attribute in JSON format.
attributeValue
- The new value for the attribute in JSON format.public String getAttributeValue()
The new value for the attribute in JSON format.
public SetSubscriptionAttributesRequest withAttributeValue(String attributeValue)
The new value for the attribute in JSON format.
attributeValue
- The new value for the attribute in JSON format.public String toString()
toString
in class Object
Object.toString()
public SetSubscriptionAttributesRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.