Interface DescribeVolumesModificationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeVolumesModificationsResponse.Builder,DescribeVolumesModificationsResponse>
,Ec2Response.Builder
,SdkBuilder<DescribeVolumesModificationsResponse.Builder,DescribeVolumesModificationsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeVolumesModificationsResponse
public static interface DescribeVolumesModificationsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeVolumesModificationsResponse.Builder,DescribeVolumesModificationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeVolumesModificationsResponse.Builder
nextToken(String nextToken)
The token to include in another request to get the next page of items.DescribeVolumesModificationsResponse.Builder
volumesModifications(Collection<VolumeModification> volumesModifications)
Information about the volume modifications.DescribeVolumesModificationsResponse.Builder
volumesModifications(Consumer<VolumeModification.Builder>... volumesModifications)
Information about the volume modifications.DescribeVolumesModificationsResponse.Builder
volumesModifications(VolumeModification... volumesModifications)
Information about the volume modifications.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
volumesModifications
DescribeVolumesModificationsResponse.Builder volumesModifications(Collection<VolumeModification> volumesModifications)
Information about the volume modifications.
- Parameters:
volumesModifications
- Information about the volume modifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumesModifications
DescribeVolumesModificationsResponse.Builder volumesModifications(VolumeModification... volumesModifications)
Information about the volume modifications.
- Parameters:
volumesModifications
- Information about the volume modifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumesModifications
DescribeVolumesModificationsResponse.Builder volumesModifications(Consumer<VolumeModification.Builder>... volumesModifications)
Information about the volume modifications.
This is a convenience method that creates an instance of theVolumeModification.Builder
avoiding the need to create one manually viaVolumeModification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#volumesModifications(List
.) - Parameters:
volumesModifications
- a consumer that will call methods onVolumeModification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#volumesModifications(java.util.Collection
)
-
nextToken
DescribeVolumesModificationsResponse.Builder nextToken(String nextToken)
The token to include in another request to get the next page of items. This value is
null
if there are no more items to return.- Parameters:
nextToken
- The token to include in another request to get the next page of items. This value isnull
if there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-