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 Details

    • code

      Service.Builder code(String 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. The name element 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 code element contains the corresponding code.

      Parameters:
      name - The friendly name for an Amazon Web Services service. The code element 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 the Category.Builder avoiding the need to create one manually via Category.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to categories(List<Category>).

      Parameters:
      categories - a consumer that will call methods on Category.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: