CopyableBuilder<ModifySnapshotAttributeRequest.Builder,ModifySnapshotAttributeRequest>, SdkBuilder<ModifySnapshotAttributeRequest.Builder,ModifySnapshotAttributeRequest>public static interface ModifySnapshotAttributeRequest.Builder extends CopyableBuilder<ModifySnapshotAttributeRequest.Builder,ModifySnapshotAttributeRequest>
copyapply, buildModifySnapshotAttributeRequest.Builder attribute(String attribute)
The snapshot attribute to modify.
Only volume creation permissions may be modified at the customer level.
attribute - The snapshot attribute to modify. Only volume creation permissions may be modified at the customer level.
SnapshotAttributeNameModifySnapshotAttributeRequest.Builder attribute(SnapshotAttributeName attribute)
The snapshot attribute to modify.
Only volume creation permissions may be modified at the customer level.
attribute - The snapshot attribute to modify. Only volume creation permissions may be modified at the customer level.
SnapshotAttributeNameModifySnapshotAttributeRequest.Builder createVolumePermission(CreateVolumePermissionModifications createVolumePermission)
A JSON representation of the snapshot attribute modification.
createVolumePermission - A JSON representation of the snapshot attribute modification.ModifySnapshotAttributeRequest.Builder groupNames(Collection<String> groupNames)
The group to modify for the snapshot.
groupNames - The group to modify for the snapshot.ModifySnapshotAttributeRequest.Builder groupNames(String... groupNames)
The group to modify for the snapshot.
NOTE: This method appends the values to the existing list (if any). Use
#setGroupNames(java.util.Collection) or #withGroupNames(java.util.Collection) if you want to
override the existing values.
groupNames - The group to modify for the snapshot.ModifySnapshotAttributeRequest.Builder operationType(String operationType)
The type of operation to perform to the attribute.
operationType - The type of operation to perform to the attribute.OperationTypeModifySnapshotAttributeRequest.Builder operationType(OperationType operationType)
The type of operation to perform to the attribute.
operationType - The type of operation to perform to the attribute.OperationTypeModifySnapshotAttributeRequest.Builder snapshotId(String snapshotId)
The ID of the snapshot.
snapshotId - The ID of the snapshot.ModifySnapshotAttributeRequest.Builder userIds(Collection<String> userIds)
The account ID to modify for the snapshot.
userIds - The account ID to modify for the snapshot.ModifySnapshotAttributeRequest.Builder userIds(String... userIds)
The account ID to modify for the snapshot.
NOTE: This method appends the values to the existing list (if any). Use
#setUserIds(java.util.Collection) or #withUserIds(java.util.Collection) if you want to
override the existing values.
userIds - The account ID to modify for the snapshot.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.