Interface DescribeBackupsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeBackupsRequest.Builder,,DescribeBackupsRequest> FSxRequest.Builder,SdkBuilder<DescribeBackupsRequest.Builder,,DescribeBackupsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeBackupsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe IDs of the backups that you want to retrieve.backupIds(Collection<String> backupIds) The IDs of the backups that you want to retrieve.filters(Collection<Filter> filters) The filters structure.filters(Consumer<Filter.Builder>... filters) The filters structure.The filters structure.maxResults(Integer maxResults) Maximum number of backups to return in the response.An opaque pagination token returned from a previousDescribeBackupsoperation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
backupIds
The IDs of the backups that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, a
BackupNotFounderror occurs.- Parameters:
backupIds- The IDs of the backups that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, aBackupNotFounderror occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupIds
The IDs of the backups that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, a
BackupNotFounderror occurs.- Parameters:
backupIds- The IDs of the backups that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, aBackupNotFounderror 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-id,backup-type,file-system-type, andvolume-id.- Parameters:
filters- The filters structure. The supported names arefile-system-id,backup-type,file-system-type, andvolume-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-id,backup-type,file-system-type, andvolume-id.- Parameters:
filters- The filters structure. The supported names arefile-system-id,backup-type,file-system-type, andvolume-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-id,backup-type,file-system-type, andvolume-id.Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<Filter>).- Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
Maximum number of backups to return in the response. This parameter value must be greater than 0. The number of items that Amazon FSx returns is the minimum of the
MaxResultsparameter specified in the request and the service's internal maximum number of items per page.- Parameters:
maxResults- Maximum number of backups to return in the response. This parameter value must be greater than 0. The number of items that Amazon FSx returns is the minimum of theMaxResultsparameter specified in the request and the service's internal maximum number of items per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
An opaque pagination token returned from a previous
DescribeBackupsoperation. If a token is present, the operation continues the list from where the returning call left off.- Parameters:
nextToken- An opaque pagination token returned from a previousDescribeBackupsoperation. If a token is present, the operation continues the list from where the returning call left off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeBackupsRequest.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
DescribeBackupsRequest.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.
-