Interface Service.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Service.Builder,
,Service> SdkBuilder<Service.Builder,
,Service> SdkPojo
- Enclosing class:
Service
-
Method Summary
Modifier and TypeMethodDescriptioncategories
(Collection<Category> categories) A list of categories that describe the type of support issue a case describes.categories
(Consumer<Category.Builder>... categories) A list of categories that describe the type of support issue a case describes.categories
(Category... categories) A list of categories that describe the type of support issue a case describes.The code for an Amazon Web Services service returned by the DescribeServices response.The friendly name for an Amazon Web Services service.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
-
Method Details
-
code
The code for an Amazon Web Services service returned by the DescribeServices response. The
name
element contains the corresponding friendly name.- Parameters:
code
- The code for an Amazon Web Services service returned by the DescribeServices response. Thename
element contains the corresponding friendly name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The friendly name for an Amazon Web Services service. The
code
element contains the corresponding code.- Parameters:
name
- The friendly name for an Amazon Web Services service. Thecode
element contains the corresponding code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to Amazon Web Services Support when you call CreateCase.
- Parameters:
categories
- A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to Amazon Web Services Support when you call CreateCase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to Amazon Web Services Support when you call CreateCase.
- Parameters:
categories
- A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to Amazon Web Services Support when you call CreateCase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to Amazon Web Services Support when you call CreateCase.
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:
-