Cloneable
, ReadLimitInfo
, ToCopyableBuilder<ModifyDocumentPermissionRequest.Builder,ModifyDocumentPermissionRequest>
@Generated("software.amazon.awssdk:codegen") public class ModifyDocumentPermissionRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<ModifyDocumentPermissionRequest.Builder,ModifyDocumentPermissionRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
ModifyDocumentPermissionRequest.Builder |
NOOP
Modifier and Type | Method | 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() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public 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.
DocumentPermissionType
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ModifyDocumentPermissionRequest.Builder,ModifyDocumentPermissionRequest>
public static ModifyDocumentPermissionRequest.Builder builder()
public static Class<? extends ModifyDocumentPermissionRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.