public static interface DescribeSnapshotAttributeResponse.Builder extends Ec2Response.Builder, CopyableBuilder<DescribeSnapshotAttributeResponse.Builder,DescribeSnapshotAttributeResponse>
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeSnapshotAttributeResponse.Builder createVolumePermissions(Collection<CreateVolumePermission> createVolumePermissions)
A list of permissions for creating volumes from the snapshot.
createVolumePermissions
- A list of permissions for creating volumes from the snapshot.DescribeSnapshotAttributeResponse.Builder createVolumePermissions(CreateVolumePermission... createVolumePermissions)
A list of permissions for creating volumes from the snapshot.
createVolumePermissions
- A list of permissions for creating volumes from the snapshot.DescribeSnapshotAttributeResponse.Builder createVolumePermissions(Consumer<CreateVolumePermission.Builder>... createVolumePermissions)
A list of permissions for creating volumes from the snapshot.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #createVolumePermissions(List)
.createVolumePermissions
- a consumer that will call methods on List.Builder
#createVolumePermissions(List)
DescribeSnapshotAttributeResponse.Builder productCodes(Collection<ProductCode> productCodes)
A list of product codes.
productCodes
- A list of product codes.DescribeSnapshotAttributeResponse.Builder productCodes(ProductCode... productCodes)
A list of product codes.
productCodes
- A list of product codes.DescribeSnapshotAttributeResponse.Builder productCodes(Consumer<ProductCode.Builder>... productCodes)
A list of product codes.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #productCodes(List)
.productCodes
- a consumer that will call methods on List.Builder
#productCodes(List)
DescribeSnapshotAttributeResponse.Builder snapshotId(String snapshotId)
The ID of the EBS snapshot.
snapshotId
- The ID of the EBS snapshot.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.