Interface UpdatePackageRequest.Builder

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

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

    • packageName

      UpdatePackageRequest.Builder packageName(String packageName)

      The name of the target software package.

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

      UpdatePackageRequest.Builder description(String description)

      The package description.

      Parameters:
      description - The package description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultVersionName

      UpdatePackageRequest.Builder defaultVersionName(String defaultVersionName)

      The name of the default package version.

      Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to true at the same time.

      Parameters:
      defaultVersionName - The name of the default package version.

      Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to true at the same time.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unsetDefaultVersion

      UpdatePackageRequest.Builder unsetDefaultVersion(Boolean unsetDefaultVersion)

      Indicates whether you want to remove the named default package version from the software package. Set as true to remove the default package version.

      Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to true at the same time.

      Parameters:
      unsetDefaultVersion - Indicates whether you want to remove the named default package version from the software package. Set as true to remove the default package version.

      Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to true at the same time.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

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

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