Class SetSubscriptionAttributesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Input for SetSubscriptionAttributes action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for SetSubscriptionAttributesRequest object.SetSubscriptionAttributesRequest
(String subscriptionArn, String attributeName, String attributeValue) Constructs a new SetSubscriptionAttributesRequest 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 in JSON format.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.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 in JSON format.withSubscriptionArn
(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 Details
-
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
|RawMessageDelivery
attributeValue
- The new value for the attribute in JSON format.
-
-
Method Details
-
setSubscriptionArn
The ARN of the subscription to modify.
- Parameters:
subscriptionArn
- The ARN of the subscription to modify.
-
getSubscriptionArn
The ARN of the subscription to modify.
- Returns:
- The ARN of the subscription to modify.
-
withSubscriptionArn
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
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
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
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
The new value for the attribute in JSON format.
- Parameters:
attributeValue
- The new value for the attribute in JSON format.
-
getAttributeValue
The new value for the attribute in JSON format.
- Returns:
- The new value for the attribute in JSON format.
-
withAttributeValue
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
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:
-