Interface Service.Builder

    • Method Detail

      • 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).

        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:
        #categories(java.util.Collection)