@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTopicPermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateTopicPermissionsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateTopicPermissionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.
|
List<ResourcePermission> |
getGrantPermissions()
The resource permissions that you want to grant to the topic.
|
List<ResourcePermission> |
getRevokePermissions()
The resource permissions that you want to revoke from the topic.
|
String |
getTopicId()
The ID of the topic that you want to modify.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.
|
void |
setGrantPermissions(Collection<ResourcePermission> grantPermissions)
The resource permissions that you want to grant to the topic.
|
void |
setRevokePermissions(Collection<ResourcePermission> revokePermissions)
The resource permissions that you want to revoke from the topic.
|
void |
setTopicId(String topicId)
The ID of the topic that you want to modify.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTopicPermissionsRequest |
withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.
|
UpdateTopicPermissionsRequest |
withGrantPermissions(Collection<ResourcePermission> grantPermissions)
The resource permissions that you want to grant to the topic.
|
UpdateTopicPermissionsRequest |
withGrantPermissions(ResourcePermission... grantPermissions)
The resource permissions that you want to grant to the topic.
|
UpdateTopicPermissionsRequest |
withRevokePermissions(Collection<ResourcePermission> revokePermissions)
The resource permissions that you want to revoke from the topic.
|
UpdateTopicPermissionsRequest |
withRevokePermissions(ResourcePermission... revokePermissions)
The resource permissions that you want to revoke from the topic.
|
UpdateTopicPermissionsRequest |
withTopicId(String topicId)
The ID of the topic that you want to modify.
|
addHandlerContext, 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 void setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.
awsAccountId
- The ID of the Amazon Web Services account that contains the topic that you want to update the permissions
for.public String getAwsAccountId()
The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.
public UpdateTopicPermissionsRequest withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.
awsAccountId
- The ID of the Amazon Web Services account that contains the topic that you want to update the permissions
for.public void setTopicId(String topicId)
The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
topicId
- The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each
Amazon Web Services account.public String getTopicId()
The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
public UpdateTopicPermissionsRequest withTopicId(String topicId)
The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
topicId
- The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each
Amazon Web Services account.public List<ResourcePermission> getGrantPermissions()
The resource permissions that you want to grant to the topic.
public void setGrantPermissions(Collection<ResourcePermission> grantPermissions)
The resource permissions that you want to grant to the topic.
grantPermissions
- The resource permissions that you want to grant to the topic.public UpdateTopicPermissionsRequest withGrantPermissions(ResourcePermission... grantPermissions)
The resource permissions that you want to grant to the topic.
NOTE: This method appends the values to the existing list (if any). Use
setGrantPermissions(java.util.Collection)
or withGrantPermissions(java.util.Collection)
if you
want to override the existing values.
grantPermissions
- The resource permissions that you want to grant to the topic.public UpdateTopicPermissionsRequest withGrantPermissions(Collection<ResourcePermission> grantPermissions)
The resource permissions that you want to grant to the topic.
grantPermissions
- The resource permissions that you want to grant to the topic.public List<ResourcePermission> getRevokePermissions()
The resource permissions that you want to revoke from the topic.
public void setRevokePermissions(Collection<ResourcePermission> revokePermissions)
The resource permissions that you want to revoke from the topic.
revokePermissions
- The resource permissions that you want to revoke from the topic.public UpdateTopicPermissionsRequest withRevokePermissions(ResourcePermission... revokePermissions)
The resource permissions that you want to revoke from the topic.
NOTE: This method appends the values to the existing list (if any). Use
setRevokePermissions(java.util.Collection)
or withRevokePermissions(java.util.Collection)
if
you want to override the existing values.
revokePermissions
- The resource permissions that you want to revoke from the topic.public UpdateTopicPermissionsRequest withRevokePermissions(Collection<ResourcePermission> revokePermissions)
The resource permissions that you want to revoke from the topic.
revokePermissions
- The resource permissions that you want to revoke from the topic.public String toString()
toString
in class Object
Object.toString()
public UpdateTopicPermissionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()