Interface CreatePackageGroupRequest.Builder

  • Method Details

    • 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

      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

      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

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

      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:
    • overrideConfiguration

      CreatePackageGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.