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.ANextTokenvalue is present if there are more backups than returned in the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fsx.model.FSxResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaBackup.builder().When the
Consumercompletes,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
NextTokenvalue is present if there are more backups than returned in the response. You can use theNextTokenvalue in the subsequent request to fetch the backups.- Parameters:
nextToken- ANextTokenvalue is present if there are more backups than returned in the response. You can use theNextTokenvalue in the subsequent request to fetch the backups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-