public static interface ModifySnapshotAttributeRequest.Builder extends EC2Request.Builder, CopyableBuilder<ModifySnapshotAttributeRequest.Builder,ModifySnapshotAttributeRequest>
buildrequestOverrideConfigcopyapply, 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.
SnapshotAttributeName,
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.
SnapshotAttributeName,
SnapshotAttributeNameModifySnapshotAttributeRequest.Builder createVolumePermission(CreateVolumePermissionModifications createVolumePermission)
A JSON representation of the snapshot attribute modification.
createVolumePermission - A JSON representation of the snapshot attribute modification.default ModifySnapshotAttributeRequest.Builder createVolumePermission(Consumer<CreateVolumePermissionModifications.Builder> createVolumePermission)
A JSON representation of the snapshot attribute modification.
This is a convenience that creates an instance of theCreateVolumePermissionModifications.Builder
avoiding the need to create one manually via CreateVolumePermissionModifications.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to createVolumePermission(CreateVolumePermissionModifications).createVolumePermission - a consumer that will call methods on CreateVolumePermissionModifications.BuildercreateVolumePermission(CreateVolumePermissionModifications)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.
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.OperationType,
OperationTypeModifySnapshotAttributeRequest.Builder operationType(OperationType operationType)
The type of operation to perform to the attribute.
operationType - The type of operation to perform to the attribute.OperationType,
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.
userIds - The account ID to modify for the snapshot.ModifySnapshotAttributeRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.ModifySnapshotAttributeRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.