Cloneable
, ReadLimitInfo
, ToCopyableBuilder<AddPermissionRequest.Builder,AddPermissionRequest>
@Generated("software.amazon.awssdk:codegen") public class AddPermissionRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<AddPermissionRequest.Builder,AddPermissionRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
AddPermissionRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
List<String> |
actionNames() |
The action you want to allow for the specified principal(s).
|
List<String> |
awsAccountIds() |
The AWS account IDs of the users (principals) who will be given access to the specified actions.
|
static AddPermissionRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
label() |
A unique identifier for the new policy statement.
|
static Class<? extends AddPermissionRequest.Builder> |
serializableBuilderClass() |
|
AddPermissionRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
topicArn() |
The ARN of the topic whose access control policy you wish to modify.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String topicArn()
The ARN of the topic whose access control policy you wish to modify.
public String label()
A unique identifier for the new policy statement.
public List<String> awsAccountIds()
The AWS account IDs of the users (principals) who will be given access to the specified actions. The users must have AWS accounts, but do not need to be signed up for this service.
public List<String> actionNames()
The action you want to allow for the specified principal(s).
Valid values: any Amazon SNS action name.
Valid values: any Amazon SNS action name.
public AddPermissionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AddPermissionRequest.Builder,AddPermissionRequest>
public static AddPermissionRequest.Builder builder()
public static Class<? extends AddPermissionRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.