public static interface DescribeSnapshotAttributeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeSnapshotAttributeResponse.Builder,DescribeSnapshotAttributeResponse>
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeSnapshotAttributeResponse.Builder createVolumePermissions(Collection<CreateVolumePermission> createVolumePermissions)
The users and groups that have the permissions for creating volumes from the snapshot.
createVolumePermissions
- The users and groups that have the permissions for creating volumes from the snapshot.DescribeSnapshotAttributeResponse.Builder createVolumePermissions(CreateVolumePermission... createVolumePermissions)
The users and groups that have the permissions for creating volumes from the snapshot.
createVolumePermissions
- The users and groups that have the permissions for creating volumes from the snapshot.DescribeSnapshotAttributeResponse.Builder createVolumePermissions(Consumer<CreateVolumePermission.Builder>... createVolumePermissions)
The users and groups that have the 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)
The product codes.
productCodes
- The product codes.DescribeSnapshotAttributeResponse.Builder productCodes(ProductCode... productCodes)
The product codes.
productCodes
- The product codes.DescribeSnapshotAttributeResponse.Builder productCodes(Consumer<ProductCode.Builder>... productCodes)
The 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 © 2019. All rights reserved.