@Generated(value="software.amazon.awssdk:codegen") public final class UpdateAnalysisPermissionsRequest extends QuickSightRequest implements ToCopyableBuilder<UpdateAnalysisPermissionsRequest.Builder,UpdateAnalysisPermissionsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateAnalysisPermissionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
analysisId()
The ID of the analysis whose permissions you're updating.
|
String |
awsAccountId()
The ID of the AWS account that contains the analysis whose permissions you're updating.
|
static UpdateAnalysisPermissionsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<ResourcePermission> |
grantPermissions()
A structure that describes the permissions to add and the principal to add them to.
|
boolean |
hasGrantPermissions()
Returns true if the GrantPermissions 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() |
boolean |
hasRevokePermissions()
Returns true if the RevokePermissions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<ResourcePermission> |
revokePermissions()
A structure that describes the permissions to remove and the principal to remove them from.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateAnalysisPermissionsRequest.Builder> |
serializableBuilderClass() |
UpdateAnalysisPermissionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String awsAccountId()
The ID of the AWS account that contains the analysis whose permissions you're updating. You must be using the AWS account that the analysis is in.
public String analysisId()
The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.
public boolean hasGrantPermissions()
public List<ResourcePermission> grantPermissions()
A structure that describes the permissions to add and the principal to add them to.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGrantPermissions() to see if a value was sent in this field.
public boolean hasRevokePermissions()
public List<ResourcePermission> revokePermissions()
A structure that describes the permissions to remove and the principal to remove them from.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRevokePermissions() to see if a value was sent in this field.
public UpdateAnalysisPermissionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateAnalysisPermissionsRequest.Builder,UpdateAnalysisPermissionsRequest>toBuilder in class QuickSightRequestpublic static UpdateAnalysisPermissionsRequest.Builder builder()
public static Class<? extends UpdateAnalysisPermissionsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.