Interface ListBackupPlanTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BackupResponse.Builder
,Buildable
,CopyableBuilder<ListBackupPlanTemplatesResponse.Builder,
,ListBackupPlanTemplatesResponse> SdkBuilder<ListBackupPlanTemplatesResponse.Builder,
,ListBackupPlanTemplatesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBackupPlanTemplatesResponse
public static interface ListBackupPlanTemplatesResponse.Builder
extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListBackupPlanTemplatesResponse.Builder,ListBackupPlanTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbackupPlanTemplatesList
(Collection<BackupPlanTemplatesListMember> backupPlanTemplatesList) An array of template list items containing metadata about your saved templates.backupPlanTemplatesList
(Consumer<BackupPlanTemplatesListMember.Builder>... backupPlanTemplatesList) An array of template list items containing metadata about your saved templates.backupPlanTemplatesList
(BackupPlanTemplatesListMember... backupPlanTemplatesList) An array of template list items containing metadata about your saved templates.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 Details
-
nextToken
The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items,NextToken
allows 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 returnMaxResults
number of items,NextToken
allows 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.
-
backupPlanTemplatesList
ListBackupPlanTemplatesResponse.Builder backupPlanTemplatesList(Collection<BackupPlanTemplatesListMember> backupPlanTemplatesList) An array of template list items containing metadata about your saved templates.
- Parameters:
backupPlanTemplatesList
- An array of template list items containing metadata about your saved templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlanTemplatesList
ListBackupPlanTemplatesResponse.Builder backupPlanTemplatesList(BackupPlanTemplatesListMember... backupPlanTemplatesList) An array of template list items containing metadata about your saved templates.
- Parameters:
backupPlanTemplatesList
- An array of template list items containing metadata about your saved templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlanTemplatesList
ListBackupPlanTemplatesResponse.Builder backupPlanTemplatesList(Consumer<BackupPlanTemplatesListMember.Builder>... backupPlanTemplatesList) An array of template list items containing metadata about your saved templates.
This is a convenience method that creates an instance of theBackupPlanTemplatesListMember.Builder
avoiding the need to create one manually viaBackupPlanTemplatesListMember.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackupPlanTemplatesList(List<BackupPlanTemplatesListMember>)
.- Parameters:
backupPlanTemplatesList
- a consumer that will call methods onBackupPlanTemplatesListMember.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-