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
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
snapshotIds
DescribeSnapshotsRequest.Builder snapshotIds(Collection<String> 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
DescribeSnapshotsRequest.Builder snapshotIds(String... 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
DescribeSnapshotsRequest.Builder filters(Collection<SnapshotFilter> 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
DescribeSnapshotsRequest.Builder filters(SnapshotFilter... 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
DescribeSnapshotsRequest.Builder filters(Consumer<SnapshotFilter.Builder>... 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 to#filters(List.) - 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:
#filters(java.util.Collection)
-
maxResults
DescribeSnapshotsRequest.Builder maxResults(Integer 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
DescribeSnapshotsRequest.Builder nextToken(String 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.
-
includeShared
DescribeSnapshotsRequest.Builder includeShared(Boolean includeShared)
Set to
false(default) if you want to only see the snapshots owned by your Amazon Web Services account. Set totrueif you want to see the snapshots in your account and the ones shared with you from another account.- Parameters:
includeShared- Set tofalse(default) if you want to only see the snapshots owned by your Amazon Web Services account. Set totrueif you want to see the snapshots in your account and the ones shared with you from another account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeSnapshotsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeSnapshotsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-