Interface ContactDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ContactDetails.Builder,
,ContactDetails> SdkBuilder<ContactDetails.Builder,
,ContactDetails> SdkPojo
- Enclosing class:
ContactDetails
@Mutable
@NotThreadSafe
public static interface ContactDetails.Builder
extends SdkPojo, CopyableBuilder<ContactDetails.Builder,ContactDetails>
-
Method Summary
Modifier and TypeMethodDescriptioncategories
(Collection<Category> categories) Categories of results that results must belong too.categories
(Consumer<Category.Builder>... categories) Categories of results that results must belong too.categories
(Category... categories) Categories of results that results must belong too.The contact's label.The contact's value.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
-
label
The contact's label.
- Parameters:
label
- The contact's label.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The contact's value.
- Parameters:
value
- The contact's value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
Categories of results that results must belong too.
- Parameters:
categories
- Categories of results that results must belong too.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
Categories of results that results must belong too.
- Parameters:
categories
- Categories of results that results must belong too.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
Categories of results that results must belong too.
This is a convenience method that creates an instance of theCategory.Builder
avoiding the need to create one manually viaCategory.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocategories(List<Category>)
.- Parameters:
categories
- a consumer that will call methods onCategory.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-