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 filterNameandValuespair to view a select set of volumes.filters(Consumer<VolumeFilter.Builder>... filters) Enter a filterNameandValuespair to view a select set of volumes.filters(VolumeFilter... filters) Enter a filterNameandValuespair 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fsx.model.FSxRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
NameandValuespair to view a select set of volumes.- Parameters:
filters- Enter a filterNameandValuespair 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
NameandValuespair to view a select set of volumes.- Parameters:
filters- Enter a filterNameandValuespair 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 theNameandValuespair to view a select set of volumes.VolumeFilter.Builderavoiding the need to create one manually viaVolumeFilter.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-