@Generated(value="software.amazon.awssdk:codegen") public final class AddPermissionRequest extends SnsRequest implements ToCopyableBuilder<AddPermissionRequest.Builder,AddPermissionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
AddPermissionRequest.Builder |
Modifier and Type | Method and 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
label()
A unique identifier for the new policy statement.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AddPermissionRequest.Builder> |
serializableBuilderClass() |
AddPermissionRequest.Builder |
toBuilder() |
String |
topicArn()
The ARN of the topic whose access control policy you wish to modify.
|
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> actionNames()
The action you want to allow for the specified principal(s).
Valid values: any Amazon SNS action name.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Valid values: any Amazon SNS action name.
public AddPermissionRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AddPermissionRequest.Builder,AddPermissionRequest>
toBuilder
in class SnsRequest
public static AddPermissionRequest.Builder builder()
public static Class<? extends AddPermissionRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.