Interface Service.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Service.Builder,Service>,SdkBuilder<Service.Builder,Service>,SdkPojo
- Enclosing class:
- Service
public static interface Service.Builder extends SdkPojo, CopyableBuilder<Service.Builder,Service>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Service.Buildercategories(Collection<Category> categories)A list of categories that describe the type of support issue a case describes.Service.Buildercategories(Consumer<Category.Builder>... categories)A list of categories that describe the type of support issue a case describes.Service.Buildercategories(Category... categories)A list of categories that describe the type of support issue a case describes.Service.Buildercode(String code)The code for an Amazon Web Services service returned by the DescribeServices response.Service.Buildername(String name)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 Detail
-
code
Service.Builder code(String code)
The code for an Amazon Web Services service returned by the DescribeServices response. The
nameelement contains the corresponding friendly name.- Parameters:
code- The code for an Amazon Web Services service returned by the DescribeServices response. Thenameelement contains the corresponding friendly name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Service.Builder name(String name)
The friendly name for an Amazon Web Services service. The
codeelement contains the corresponding code.- Parameters:
name- The friendly name for an Amazon Web Services service. Thecodeelement contains the corresponding code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
Service.Builder categories(Collection<Category> 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
Service.Builder categories(Category... 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
Service.Builder categories(Consumer<Category.Builder>... 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.Builderavoiding the need to create one manually viaCategory.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#categories(List.) - 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:
#categories(java.util.Collection)
-
-