Interface CreatePackageGroupRequest.Builder

    • Method Detail

      • domain

        CreatePackageGroupRequest.Builder domain​(String domain)

        The name of the domain in which you want to create a package group.

        Parameters:
        domain - The name of the domain in which you want to create a package group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainOwner

        CreatePackageGroupRequest.Builder domainOwner​(String domainOwner)

        The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

        Parameters:
        domainOwner - The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • packageGroup

        CreatePackageGroupRequest.Builder packageGroup​(String packageGroup)

        The pattern of the package group to create. The pattern is also the identifier of the package group.

        Parameters:
        packageGroup - The pattern of the package group to create. The pattern is also the identifier of the package group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contactInfo

        CreatePackageGroupRequest.Builder contactInfo​(String contactInfo)

        The contact information for the created package group.

        Parameters:
        contactInfo - The contact information for the created package group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreatePackageGroupRequest.Builder description​(String description)

        A description of the package group.

        Parameters:
        description - A description of the package group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreatePackageGroupRequest.Builder tags​(Collection<Tag> tags)

        One or more tag key-value pairs for the package group.

        Parameters:
        tags - One or more tag key-value pairs for the package group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreatePackageGroupRequest.Builder tags​(Tag... tags)

        One or more tag key-value pairs for the package group.

        Parameters:
        tags - One or more tag key-value pairs for the package group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreatePackageGroupRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        One or more tag key-value pairs for the package group.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)