Interface SearchCasesResponseItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SearchCasesResponseItem.Builder,
,SearchCasesResponseItem> SdkBuilder<SearchCasesResponseItem.Builder,
,SearchCasesResponseItem> SdkPojo
- Enclosing class:
SearchCasesResponseItem
@Mutable
@NotThreadSafe
public static interface SearchCasesResponseItem.Builder
extends SdkPojo, CopyableBuilder<SearchCasesResponseItem.Builder,SearchCasesResponseItem>
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier of the case.fields
(Collection<FieldValue> fields) List of case field values.fields
(Consumer<FieldValue.Builder>... fields) List of case field values.fields
(FieldValue... fields) List of case field values.A map of of key-value pairs that represent tags on a resource.templateId
(String templateId) A unique identifier of a template.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, sdkFieldNameToField, sdkFields
-
Method Details
-
caseId
A unique identifier of the case.
- Parameters:
caseId
- A unique identifier of the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
List of case field values.
- Parameters:
fields
- List of case field values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
List of case field values.
- Parameters:
fields
- List of case field values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
List of case field values.
This is a convenience method that creates an instance of theFieldValue.Builder
avoiding the need to create one manually viaFieldValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofields(List<FieldValue>)
.- Parameters:
fields
- a consumer that will call methods onFieldValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
- Parameters:
tags
- A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateId
A unique identifier of a template.
- Parameters:
templateId
- A unique identifier of a template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-