Interface CreatePackageRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreatePackageRequest.Builder,CreatePackageRequest>, IotRequest.Builder, SdkBuilder<CreatePackageRequest.Builder,CreatePackageRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreatePackageRequest

public static interface CreatePackageRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreatePackageRequest.Builder,CreatePackageRequest>
  • Method Details

    • packageName

      CreatePackageRequest.Builder packageName(String packageName)

      The name of the new software package.

      Parameters:
      packageName - The name of the new software package.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreatePackageRequest.Builder description(String description)

      A summary of the package being created. This can be used to outline the package's contents or purpose.

      Parameters:
      description - A summary of the package being created. This can be used to outline the package's contents or purpose.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Metadata that can be used to manage the package.

      Parameters:
      tags - Metadata that can be used to manage the package.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreatePackageRequest.Builder clientToken(String clientToken)

      A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

      Parameters:
      clientToken - A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreatePackageRequest.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.