@Generated(value="software.amazon.awssdk:codegen") public final class UpdateDataSourcePermissionsRequest extends QuickSightRequest implements ToCopyableBuilder<UpdateDataSourcePermissionsRequest.Builder,UpdateDataSourcePermissionsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateDataSourcePermissionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
awsAccountId()
The AWS account ID.
|
static UpdateDataSourcePermissionsRequest.Builder |
builder() |
String |
dataSourceId()
The ID of the data source.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<ResourcePermission> |
grantPermissions()
A list of resource permissions that you want to grant on the data source.
|
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 list of resource permissions that you want to revoke on the data source.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateDataSourcePermissionsRequest.Builder> |
serializableBuilderClass() |
UpdateDataSourcePermissionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String awsAccountId()
The AWS account ID.
public String dataSourceId()
The ID of the data source. This ID is unique per AWS Region for each AWS account.
public boolean hasGrantPermissions()
public List<ResourcePermission> grantPermissions()
A list of resource permissions that you want to grant on the data source.
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 list of resource permissions that you want to revoke on the data source.
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 UpdateDataSourcePermissionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateDataSourcePermissionsRequest.Builder,UpdateDataSourcePermissionsRequest>toBuilder in class QuickSightRequestpublic static UpdateDataSourcePermissionsRequest.Builder builder()
public static Class<? extends UpdateDataSourcePermissionsRequest.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.