@Generated(value="software.amazon.awssdk:codegen") public final class ResourcePermission extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourcePermission.Builder,ResourcePermission>
Permission for the resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourcePermission.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
actions()
The action to grant or revoke permissions on, for example
"quicksight:DescribeDashboard". |
static ResourcePermission.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasActions()
Returns true if the Actions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
principal()
The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourcePermission.Builder> |
serializableBuilderClass() |
ResourcePermission.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String principal()
The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .
public boolean hasActions()
public List<String> actions()
The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasActions() to see if a value was sent in this field.
"quicksight:DescribeDashboard".public ResourcePermission.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourcePermission.Builder,ResourcePermission>public static ResourcePermission.Builder builder()
public static Class<? extends ResourcePermission.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.