@Generated(value="software.amazon.awssdk:codegen") public final class UpdateTemplatePermissionsRequest extends QuickSightRequest implements ToCopyableBuilder<UpdateTemplatePermissionsRequest.Builder,UpdateTemplatePermissionsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateTemplatePermissionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
awsAccountId()
The ID of the AWS account that contains the template.
|
static UpdateTemplatePermissionsRequest.Builder |
builder() |
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 to be granted on the template.
|
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 to be revoked from the template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateTemplatePermissionsRequest.Builder> |
serializableBuilderClass() |
String |
templateId()
The ID for the template.
|
UpdateTemplatePermissionsRequest.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 template.
public String templateId()
The ID for the template.
public boolean hasGrantPermissions()
public List<ResourcePermission> grantPermissions()
A list of resource permissions to be granted on the template.
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 to be revoked from the template.
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 UpdateTemplatePermissionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateTemplatePermissionsRequest.Builder,UpdateTemplatePermissionsRequest>toBuilder in class QuickSightRequestpublic static UpdateTemplatePermissionsRequest.Builder builder()
public static Class<? extends UpdateTemplatePermissionsRequest.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.