public static interface ModifySnapshotAttributeRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifySnapshotAttributeRequest.Builder,ModifySnapshotAttributeRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildModifySnapshotAttributeRequest.Builder attribute(String attribute)
The snapshot attribute to modify. Only volume creation permissions can be modified.
attribute - The snapshot attribute to modify. Only volume creation permissions can be modified.SnapshotAttributeName,
SnapshotAttributeNameModifySnapshotAttributeRequest.Builder attribute(SnapshotAttributeName attribute)
The snapshot attribute to modify. Only volume creation permissions can be modified.
attribute - The snapshot attribute to modify. Only volume creation permissions can be modified.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 method 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderModifySnapshotAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.