Interface RegisterUsageRequest.Builder

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

  • Method Details

    • productCode

      RegisterUsageRequest.Builder productCode(String productCode)

      Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.

      Parameters:
      productCode - Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publicKeyVersion

      RegisterUsageRequest.Builder publicKeyVersion(Integer publicKeyVersion)

      Public Key Version provided by AWS Marketplace

      Parameters:
      publicKeyVersion - Public Key Version provided by AWS Marketplace
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nonce

      (Optional) To scope down the registration to a specific running software instance and guard against replay attacks.

      Parameters:
      nonce - (Optional) To scope down the registration to a specific running software instance and guard against replay attacks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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