public interface Subscription
Subscription resource.
Each Subscription object is uniquely identified by these
identifier(s):
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
The convenient method form for the
Delete action. |
void |
delete(ResultCapture<Void> extractor)
The convenient method form for the
Delete action. |
void |
delete(UnsubscribeRequest request)
Performs the
Delete action. |
void |
delete(UnsubscribeRequest request,
ResultCapture<Void> extractor)
Performs the
Delete action and use a ResultCapture to
retrieve the low-level client response. |
String |
getArn()
Gets the value of the Arn identifier.
|
Map<String,String> |
getAttributes()
Gets the value of the Attributes attribute.
|
Topic |
getTopic()
Retrieves the
Topic resource referenced by this resource. |
String |
getTopicArn()
Gets the value of the TopicArn identifier.
|
boolean |
isLoaded()
Returns true if this resource's attributes have been loaded.
|
boolean |
load()
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(GetSubscriptionAttributesRequest request)
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(GetSubscriptionAttributesRequest request,
ResultCapture<GetSubscriptionAttributesResult> extractor)
Makes a call to the service to load this resource's attributes if they
are not loaded yet, and use a ResultCapture to retrieve the low-level
client response
The following request parameters will be populated from the data of this
Subscription resource, and any conflicting parameter value
set in the request will be overridden:
SubscriptionArn
- mapped from the Arn identifier. |
void |
setAttributes(SetSubscriptionAttributesRequest request)
Performs the
SetAttributes action. |
void |
setAttributes(SetSubscriptionAttributesRequest request,
ResultCapture<Void> extractor)
Performs the
SetAttributes action and use a ResultCapture to
retrieve the low-level client response. |
void |
setAttributes(String attributeName,
String attributeValue)
The convenient method form for the
SetAttributes action. |
void |
setAttributes(String attributeName,
String attributeValue,
ResultCapture<Void> extractor)
The convenient method form for the
SetAttributes action. |
boolean isLoaded()
false, calls to attribute getter methods on this
instance will make an implicit call to load() to retrieve the
value.boolean load()
true if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.load(GetSubscriptionAttributesRequest)boolean load(GetSubscriptionAttributesRequest request)
Subscription resource, and any conflicting parameter value
set in the request will be overridden:
SubscriptionArn
- mapped from the Arn identifier.
true if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.GetSubscriptionAttributesRequestboolean load(GetSubscriptionAttributesRequest request, ResultCapture<GetSubscriptionAttributesResult> extractor)
Subscription resource, and any conflicting parameter value
set in the request will be overridden:
SubscriptionArn
- mapped from the Arn identifier.
true if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.GetSubscriptionAttributesRequestString getArn()
String getTopicArn()
Map<String,String> getAttributes()
load() is made to retrieve the value of the
attribute.Topic getTopic()
Topic resource referenced by this resource.void setAttributes(SetSubscriptionAttributesRequest request)
SetAttributes action.
The following request parameters will be populated from the data of this
Subscription resource, and any conflicting parameter value
set in the request will be overridden:
SubscriptionArn
- mapped from the Arn identifier.
SetSubscriptionAttributesRequestvoid setAttributes(SetSubscriptionAttributesRequest request, ResultCapture<Void> extractor)
SetAttributes action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Subscription resource, and any conflicting parameter value
set in the request will be overridden:
SubscriptionArn
- mapped from the Arn identifier.
SetSubscriptionAttributesRequestvoid setAttributes(String attributeName, String attributeValue)
SetAttributes action.void setAttributes(String attributeName, String attributeValue, ResultCapture<Void> extractor)
SetAttributes action.void delete(UnsubscribeRequest request)
Delete action.
The following request parameters will be populated from the data of this
Subscription resource, and any conflicting parameter value
set in the request will be overridden:
SubscriptionArn
- mapped from the Arn identifier.
UnsubscribeRequestvoid delete(UnsubscribeRequest request, ResultCapture<Void> extractor)
Delete action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Subscription resource, and any conflicting parameter value
set in the request will be overridden:
SubscriptionArn
- mapped from the Arn identifier.
UnsubscribeRequestvoid delete()
Delete action.delete(UnsubscribeRequest)void delete(ResultCapture<Void> extractor)
Delete action.Copyright © 2014. All rights reserved.