Interface DescribeVolumesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeVolumesRequest.Builder,
,DescribeVolumesRequest> FSxRequest.Builder
,SdkBuilder<DescribeVolumesRequest.Builder,
,DescribeVolumesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeVolumesRequest
public static interface DescribeVolumesRequest.Builder
extends FSxRequest.Builder, SdkPojo, CopyableBuilder<DescribeVolumesRequest.Builder,DescribeVolumesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<VolumeFilter> filters) Enter a filterName
andValues
pair to view a select set of volumes.filters
(Consumer<VolumeFilter.Builder>... filters) Enter a filterName
andValues
pair to view a select set of volumes.filters
(VolumeFilter... filters) Enter a filterName
andValues
pair to view a select set of volumes.maxResults
(Integer maxResults) Sets the value of the MaxResults property for this object.Sets the value of the NextToken property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The IDs of the volumes whose descriptions you want to retrieve.volumeIds
(Collection<String> volumeIds) The IDs of the volumes whose descriptions you want to retrieve.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fsx.model.FSxRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
volumeIds
The IDs of the volumes whose descriptions you want to retrieve.
- Parameters:
volumeIds
- The IDs of the volumes whose descriptions you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeIds
The IDs of the volumes whose descriptions you want to retrieve.
- Parameters:
volumeIds
- The IDs of the volumes whose descriptions you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Enter a filter
Name
andValues
pair to view a select set of volumes.- Parameters:
filters
- Enter a filterName
andValues
pair to view a select set of volumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Enter a filter
Name
andValues
pair to view a select set of volumes.- Parameters:
filters
- Enter a filterName
andValues
pair to view a select set of volumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Enter a filter
This is a convenience method that creates an instance of theName
andValues
pair to view a select set of volumes.VolumeFilter.Builder
avoiding the need to create one manually viaVolumeFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<VolumeFilter>)
.- Parameters:
filters
- a consumer that will call methods onVolumeFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
Sets the value of the MaxResults property for this object.- Parameters:
maxResults
- The new value for the MaxResults property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken
- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeVolumesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeVolumesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-