Interface ListBackupPlansResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<ListBackupPlansResponse.Builder,ListBackupPlansResponse>,SdkBuilder<ListBackupPlansResponse.Builder,ListBackupPlansResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBackupPlansResponse
public static interface ListBackupPlansResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListBackupPlansResponse.Builder,ListBackupPlansResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBackupPlansResponse.BuilderbackupPlansList(Collection<BackupPlansListMember> backupPlansList)An array of backup plan list items containing metadata about your saved backup plans.ListBackupPlansResponse.BuilderbackupPlansList(Consumer<BackupPlansListMember.Builder>... backupPlansList)An array of backup plan list items containing metadata about your saved backup plans.ListBackupPlansResponse.BuilderbackupPlansList(BackupPlansListMember... backupPlansList)An array of backup plan list items containing metadata about your saved backup plans.ListBackupPlansResponse.BuildernextToken(String nextToken)The next item following a partial list of returned items.-
Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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 Detail
-
nextToken
ListBackupPlansResponse.Builder nextToken(String nextToken)
The next item following a partial list of returned items. For example, if a request is made to return
MaxResultsnumber of items,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.- Parameters:
nextToken- The next item following a partial list of returned items. For example, if a request is made to returnMaxResultsnumber of items,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlansList
ListBackupPlansResponse.Builder backupPlansList(Collection<BackupPlansListMember> backupPlansList)
An array of backup plan list items containing metadata about your saved backup plans.
- Parameters:
backupPlansList- An array of backup plan list items containing metadata about your saved backup plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlansList
ListBackupPlansResponse.Builder backupPlansList(BackupPlansListMember... backupPlansList)
An array of backup plan list items containing metadata about your saved backup plans.
- Parameters:
backupPlansList- An array of backup plan list items containing metadata about your saved backup plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlansList
ListBackupPlansResponse.Builder backupPlansList(Consumer<BackupPlansListMember.Builder>... backupPlansList)
An array of backup plan list items containing metadata about your saved backup plans.
This is a convenience method that creates an instance of theBackupPlansListMember.Builderavoiding the need to create one manually viaBackupPlansListMember.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#backupPlansList(List.) - Parameters:
backupPlansList- a consumer that will call methods onBackupPlansListMember.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#backupPlansList(java.util.Collection)
-
-