@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 IAM 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 the principal.
|
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 the principal. This can be one of the following:
The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)
The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)
The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)
The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)
The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)
The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)
public boolean hasActions()
public List<String> actions()
The IAM 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.