public interface Topic
Topic
resource.
Each Topic
object is uniquely identified by these identifier(s):
Modifier and Type | Method and Description |
---|---|
void |
addPermission(AddPermissionRequest request)
Performs the
AddPermission action. |
void |
addPermission(AddPermissionRequest request,
ResultCapture<Void> extractor)
Performs the
AddPermission action and use a ResultCapture to
retrieve the low-level client response. |
void |
addPermission(String label,
List<String> aWSAccountIds,
List<String> actionNames)
The convenient method form for the
AddPermission action. |
void |
addPermission(String label,
List<String> aWSAccountIds,
List<String> actionNames,
ResultCapture<Void> extractor)
The convenient method form for the
AddPermission action. |
Subscription |
confirmSubscription(ConfirmSubscriptionRequest request)
Performs the
ConfirmSubscription action. |
Subscription |
confirmSubscription(ConfirmSubscriptionRequest request,
ResultCapture<ConfirmSubscriptionResult> extractor)
Performs the
ConfirmSubscription action and use a
ResultCapture to retrieve the low-level client response. |
Subscription |
confirmSubscription(String token)
The convenient method form for the
ConfirmSubscription
action. |
Subscription |
confirmSubscription(String token,
ResultCapture<ConfirmSubscriptionResult> extractor)
The convenient method form for the
ConfirmSubscription
action. |
Subscription |
confirmSubscription(String authenticateOnUnsubscribe,
String token)
The convenient method form for the
ConfirmSubscription
action. |
Subscription |
confirmSubscription(String authenticateOnUnsubscribe,
String token,
ResultCapture<ConfirmSubscriptionResult> extractor)
The convenient method form for the
ConfirmSubscription
action. |
void |
delete()
The convenient method form for the
Delete action. |
void |
delete(DeleteTopicRequest request)
Performs the
Delete action. |
void |
delete(DeleteTopicRequest request,
ResultCapture<Void> extractor)
Performs the
Delete action and use a ResultCapture to
retrieve the low-level client response. |
void |
delete(ResultCapture<Void> extractor)
The convenient method form for the
Delete action. |
String |
getArn()
Gets the value of the Arn identifier.
|
Map<String,String> |
getAttributes()
Gets the value of the Attributes attribute.
|
Subscription |
getSubscription(String arn)
Gets a subresource.
|
SubscriptionCollection |
getSubscriptions()
Retrieves the Subscriptions collection referenced by this resource.
|
SubscriptionCollection |
getSubscriptions(ListSubscriptionsByTopicRequest request)
Retrieves the Subscriptions collection referenced by this resource.
|
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(GetTopicAttributesRequest request)
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(GetTopicAttributesRequest request,
ResultCapture<GetTopicAttributesResult> 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
Topic resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn identifier. |
PublishResult |
publish(PublishRequest request)
Performs the
Publish action. |
PublishResult |
publish(PublishRequest request,
ResultCapture<PublishResult> extractor)
Performs the
Publish action and use a ResultCapture to
retrieve the low-level client response. |
PublishResult |
publish(String message)
The convenient method form for the
Publish action. |
PublishResult |
publish(String message,
ResultCapture<PublishResult> extractor)
The convenient method form for the
Publish action. |
PublishResult |
publish(String subject,
String message)
The convenient method form for the
Publish action. |
PublishResult |
publish(String subject,
String message,
ResultCapture<PublishResult> extractor)
The convenient method form for the
Publish action. |
void |
removePermission(RemovePermissionRequest request)
Performs the
RemovePermission action. |
void |
removePermission(RemovePermissionRequest request,
ResultCapture<Void> extractor)
Performs the
RemovePermission action and use a ResultCapture
to retrieve the low-level client response. |
void |
removePermission(String label)
The convenient method form for the
RemovePermission action. |
void |
removePermission(String label,
ResultCapture<Void> extractor)
The convenient method form for the
RemovePermission action. |
void |
setAttributes(SetTopicAttributesRequest request)
Performs the
SetAttributes action. |
void |
setAttributes(SetTopicAttributesRequest 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. |
Subscription |
subscribe(String endpoint,
String protocol)
The convenient method form for the
Subscribe action. |
Subscription |
subscribe(String endpoint,
String protocol,
ResultCapture<SubscribeResult> extractor)
The convenient method form for the
Subscribe action. |
Subscription |
subscribe(SubscribeRequest request)
Performs the
Subscribe action. |
Subscription |
subscribe(SubscribeRequest request,
ResultCapture<SubscribeResult> extractor)
Performs the
Subscribe action and use a ResultCapture to
retrieve the low-level client response. |
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(GetTopicAttributesRequest)
boolean load(GetTopicAttributesRequest request)
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- 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.GetTopicAttributesRequest
boolean load(GetTopicAttributesRequest request, ResultCapture<GetTopicAttributesResult> extractor)
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- 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.GetTopicAttributesRequest
String getArn()
Map<String,String> getAttributes()
load()
is made to retrieve the value of the
attribute.Subscription getSubscription(String arn)
SubscriptionCollection getSubscriptions()
SubscriptionCollection getSubscriptions(ListSubscriptionsByTopicRequest request)
PublishResult publish(PublishRequest request)
Publish
action.
The following request parameters will be populated from the data of this
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
PublishRequest
PublishResult publish(PublishRequest request, ResultCapture<PublishResult> extractor)
Publish
action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
PublishRequest
PublishResult publish(String message)
Publish
action.publish(PublishRequest)
PublishResult publish(String message, ResultCapture<PublishResult> extractor)
Publish
action.PublishResult publish(String subject, String message)
Publish
action.publish(PublishRequest)
PublishResult publish(String subject, String message, ResultCapture<PublishResult> extractor)
Publish
action.void setAttributes(SetTopicAttributesRequest request)
SetAttributes
action.
The following request parameters will be populated from the data of this
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
SetTopicAttributesRequest
void setAttributes(SetTopicAttributesRequest 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
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
SetTopicAttributesRequest
void setAttributes(String attributeName, String attributeValue)
SetAttributes
action.void setAttributes(String attributeName, String attributeValue, ResultCapture<Void> extractor)
SetAttributes
action.void addPermission(AddPermissionRequest request)
AddPermission
action.
The following request parameters will be populated from the data of this
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
AddPermissionRequest
void addPermission(AddPermissionRequest request, ResultCapture<Void> extractor)
AddPermission
action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
AddPermissionRequest
void addPermission(String label, List<String> aWSAccountIds, List<String> actionNames)
AddPermission
action.addPermission(AddPermissionRequest)
void addPermission(String label, List<String> aWSAccountIds, List<String> actionNames, ResultCapture<Void> extractor)
AddPermission
action.void delete(DeleteTopicRequest request)
Delete
action.
The following request parameters will be populated from the data of this
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
DeleteTopicRequest
void delete(DeleteTopicRequest 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
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
DeleteTopicRequest
void delete()
Delete
action.delete(DeleteTopicRequest)
void delete(ResultCapture<Void> extractor)
Delete
action.Subscription confirmSubscription(ConfirmSubscriptionRequest request)
ConfirmSubscription
action.
The following request parameters will be populated from the data of this
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
Subscription
resource object associated with the
result of this action.ConfirmSubscriptionRequest
Subscription confirmSubscription(ConfirmSubscriptionRequest request, ResultCapture<ConfirmSubscriptionResult> extractor)
ConfirmSubscription
action and use a
ResultCapture to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
Subscription
resource object associated with the
result of this action.ConfirmSubscriptionRequest
Subscription confirmSubscription(String token)
ConfirmSubscription
action.Subscription confirmSubscription(String token, ResultCapture<ConfirmSubscriptionResult> extractor)
ConfirmSubscription
action.Subscription confirmSubscription(String authenticateOnUnsubscribe, String token)
ConfirmSubscription
action.Subscription confirmSubscription(String authenticateOnUnsubscribe, String token, ResultCapture<ConfirmSubscriptionResult> extractor)
ConfirmSubscription
action.Subscription subscribe(SubscribeRequest request)
Subscribe
action.
The following request parameters will be populated from the data of this
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
Subscription
resource object associated with the
result of this action.SubscribeRequest
Subscription subscribe(SubscribeRequest request, ResultCapture<SubscribeResult> extractor)
Subscribe
action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
Subscription
resource object associated with the
result of this action.SubscribeRequest
Subscription subscribe(String endpoint, String protocol)
Subscribe
action.subscribe(SubscribeRequest)
Subscription subscribe(String endpoint, String protocol, ResultCapture<SubscribeResult> extractor)
Subscribe
action.void removePermission(RemovePermissionRequest request)
RemovePermission
action.
The following request parameters will be populated from the data of this
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
RemovePermissionRequest
void removePermission(RemovePermissionRequest request, ResultCapture<Void> extractor)
RemovePermission
action and use a ResultCapture
to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Topic
resource, and any conflicting parameter value set in
the request will be overridden:
TopicArn
- mapped from the Arn
identifier.
RemovePermissionRequest
void removePermission(String label)
RemovePermission
action.void removePermission(String label, ResultCapture<Void> extractor)
RemovePermission
action.Copyright © 2014. All rights reserved.