Interface ListBackupPlanVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<ListBackupPlanVersionsResponse.Builder,,ListBackupPlanVersionsResponse> SdkBuilder<ListBackupPlanVersionsResponse.Builder,,ListBackupPlanVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListBackupPlanVersionsResponse
@Mutable
@NotThreadSafe
public static interface ListBackupPlanVersionsResponse.Builder
extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListBackupPlanVersionsResponse.Builder,ListBackupPlanVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbackupPlanVersionsList(Collection<BackupPlansListMember> backupPlanVersionsList) An array of version list items containing metadata about your backup plans.backupPlanVersionsList(Consumer<BackupPlansListMember.Builder>... backupPlanVersionsList) An array of version list items containing metadata about your backup plans.backupPlanVersionsList(BackupPlansListMember... backupPlanVersionsList) An array of version list items containing metadata about your backup plans.The next item following a partial list of returned items.Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
backupPlanVersionsList
ListBackupPlanVersionsResponse.Builder backupPlanVersionsList(Collection<BackupPlansListMember> backupPlanVersionsList) An array of version list items containing metadata about your backup plans.
- Parameters:
backupPlanVersionsList- An array of version list items containing metadata about your backup plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlanVersionsList
ListBackupPlanVersionsResponse.Builder backupPlanVersionsList(BackupPlansListMember... backupPlanVersionsList) An array of version list items containing metadata about your backup plans.
- Parameters:
backupPlanVersionsList- An array of version list items containing metadata about your backup plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlanVersionsList
ListBackupPlanVersionsResponse.Builder backupPlanVersionsList(Consumer<BackupPlansListMember.Builder>... backupPlanVersionsList) An array of version list items containing metadata about your 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 tobackupPlanVersionsList(List<BackupPlansListMember>).- Parameters:
backupPlanVersionsList- 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:
-