|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sns.model.RemovePermissionRequest
public class RemovePermissionRequest
Container for the parameters to the RemovePermission operation.
The RemovePermission action removes a statement from a topic's access control policy.
AmazonSNS.removePermission(RemovePermissionRequest)| Constructor Summary | |
|---|---|
RemovePermissionRequest()
Default constructor for a new RemovePermissionRequest object. |
|
RemovePermissionRequest(String topicArn,
String label)
Constructs a new RemovePermissionRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getLabel()
The unique label of the statement you want to remove. |
String |
getTopicArn()
The ARN of the topic whose access control policy you wish to modify. |
int |
hashCode()
|
void |
setLabel(String label)
The unique label of the statement you want to remove. |
void |
setTopicArn(String topicArn)
The ARN of the topic whose access control policy you wish to modify. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RemovePermissionRequest |
withLabel(String label)
The unique label of the statement you want to remove. |
RemovePermissionRequest |
withTopicArn(String topicArn)
The ARN of the topic whose access control policy you wish to modify. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RemovePermissionRequest()
public RemovePermissionRequest(String topicArn,
String label)
topicArn - The ARN of the topic whose access control policy you
wish to modify.label - The unique label of the statement you want to remove.| Method Detail |
|---|
public String getTopicArn()
public void setTopicArn(String topicArn)
topicArn - The ARN of the topic whose access control policy you wish to modify.public RemovePermissionRequest withTopicArn(String topicArn)
Returns a reference to this object so that method calls can be chained together.
topicArn - The ARN of the topic whose access control policy you wish to modify.
public String getLabel()
public void setLabel(String label)
label - The unique label of the statement you want to remove.public RemovePermissionRequest withLabel(String label)
Returns a reference to this object so that method calls can be chained together.
label - The unique label of the statement you want to remove.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||