Interface DescribeBackupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeBackupsResponse.Builder,
,DescribeBackupsResponse> FSxResponse.Builder
,SdkBuilder<DescribeBackupsResponse.Builder,
,DescribeBackupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeBackupsResponse
public static interface DescribeBackupsResponse.Builder
extends FSxResponse.Builder, SdkPojo, CopyableBuilder<DescribeBackupsResponse.Builder,DescribeBackupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbackups
(Collection<Backup> backups) An array of backups.backups
(Consumer<Backup.Builder>... backups) An array of backups.An array of backups.ANextToken
value is present if there are more backups than returned in the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fsx.model.FSxResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
backups
An array of backups.
- Parameters:
backups
- An array of backups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backups
An array of backups.
- Parameters:
backups
- An array of backups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backups
An array of backups.
This is a convenience method that creates an instance of theBackup.Builder
avoiding the need to create one manually viaBackup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackups(List<Backup>)
.- Parameters:
backups
- a consumer that will call methods onBackup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A
NextToken
value is present if there are more backups than returned in the response. You can use theNextToken
value in the subsequent request to fetch the backups.- Parameters:
nextToken
- ANextToken
value is present if there are more backups than returned in the response. You can use theNextToken
value in the subsequent request to fetch the backups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-