Interface Checklist.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Checklist.Builder,,Checklist> SdkBuilder<Checklist.Builder,,Checklist> SdkPojo
- Enclosing class:
Checklist
-
Method Summary
Modifier and TypeMethodDescriptionchecklistId(String checklistId) The identifier of the checklist.items(Collection<ChecklistItem> items) The checklist items in template order.items(Consumer<ChecklistItem.Builder>... items) The checklist items in template order.items(ChecklistItem... items) The checklist items in template order.Methods 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, sdkFields
-
Method Details
-
checklistId
The identifier of the checklist. For a managed note template, this value is the template type, such as
HISTORY_AND_PHYSICAL. For a custom note template, this value isCUSTOM_followed by the template base, such asCUSTOM_GIRPP.- Parameters:
checklistId- The identifier of the checklist. For a managed note template, this value is the template type, such asHISTORY_AND_PHYSICAL. For a custom note template, this value isCUSTOM_followed by the template base, such asCUSTOM_GIRPP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The checklist items in template order. The list contains one item for each checklist section, including sections that have not been discussed.
- Parameters:
items- The checklist items in template order. The list contains one item for each checklist section, including sections that have not been discussed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The checklist items in template order. The list contains one item for each checklist section, including sections that have not been discussed.
- Parameters:
items- The checklist items in template order. The list contains one item for each checklist section, including sections that have not been discussed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The checklist items in template order. The list contains one item for each checklist section, including sections that have not been discussed.
This is a convenience method that creates an instance of theChecklistItem.Builderavoiding the need to create one manually viaChecklistItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ChecklistItem>).- Parameters:
items- a consumer that will call methods onChecklistItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-