Interface DescribeSnapshotsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeSnapshotsRequest.Builder,,DescribeSnapshotsRequest> FSxRequest.Builder,SdkBuilder<DescribeSnapshotsRequest.Builder,,DescribeSnapshotsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeSnapshotsRequest
public static interface DescribeSnapshotsRequest.Builder
extends FSxRequest.Builder, SdkPojo, CopyableBuilder<DescribeSnapshotsRequest.Builder,DescribeSnapshotsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<SnapshotFilter> filters) The filters structure.filters(Consumer<SnapshotFilter.Builder>... filters) The filters structure.filters(SnapshotFilter... filters) The filters structure.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.snapshotIds(String... snapshotIds) The IDs of the snapshots that you want to retrieve.snapshotIds(Collection<String> snapshotIds) The IDs of the snapshots that 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, sdkFields
-
Method Details
-
snapshotIds
The IDs of the snapshots that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, a
SnapshotNotFounderror occurs.- Parameters:
snapshotIds- The IDs of the snapshots that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, aSnapshotNotFounderror occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotIds
The IDs of the snapshots that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, a
SnapshotNotFounderror occurs.- Parameters:
snapshotIds- The IDs of the snapshots that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, aSnapshotNotFounderror occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters structure. The supported names are
file-system-idorvolume-id.- Parameters:
filters- The filters structure. The supported names arefile-system-idorvolume-id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters structure. The supported names are
file-system-idorvolume-id.- Parameters:
filters- The filters structure. The supported names arefile-system-idorvolume-id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters structure. The supported names are
This is a convenience method that creates an instance of thefile-system-idorvolume-id.SnapshotFilter.Builderavoiding the need to create one manually viaSnapshotFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<SnapshotFilter>).- Parameters:
filters- a consumer that will call methods onSnapshotFilter.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
DescribeSnapshotsRequest.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
DescribeSnapshotsRequest.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.
-