@Generated(value="software.amazon.awssdk:codegen") public class ModifyDocumentPermissionRequest extends AmazonWebServiceRequest implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<ModifyDocumentPermissionRequest.Builder,ModifyDocumentPermissionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModifyDocumentPermissionRequest.Builder |
NOOP| Modifier and Type | Method and Description |
|---|---|
List<String> |
accountIdsToAdd()
The AWS user accounts that should have access to the document.
|
List<String> |
accountIdsToRemove()
The AWS user accounts that should no longer have access to the document.
|
static ModifyDocumentPermissionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
name()
The name of the document that you want to share.
|
String |
permissionType()
The permission type for the document.
|
static Class<? extends ModifyDocumentPermissionRequest.Builder> |
serializableBuilderClass() |
ModifyDocumentPermissionRequest.Builder |
toBuilder() |
String |
toString() |
clone, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeoutpublic String name()
The name of the document that you want to share.
public String permissionType()
The permission type for the document. The permission type can be Share.
DocumentPermissionTypepublic List<String> accountIdsToAdd()
The AWS user accounts that should have access to the document. The account IDs can either be a group of account IDs or All.
public List<String> accountIdsToRemove()
The AWS user accounts that should no longer have access to the document. The AWS user account can either be a group of account IDs or All. This action has a higher priority than AccountIdsToAdd. If you specify an account ID to add and the same ID to remove, the system removes access to the document.
public ModifyDocumentPermissionRequest.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<ModifyDocumentPermissionRequest.Builder,ModifyDocumentPermissionRequest>public static ModifyDocumentPermissionRequest.Builder builder()
public static Class<? extends ModifyDocumentPermissionRequest.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.