Interface StartKeyUsageResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<StartKeyUsageResponse.Builder,StartKeyUsageResponse>, PaymentCryptographyResponse.Builder, SdkBuilder<StartKeyUsageResponse.Builder,StartKeyUsageResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
StartKeyUsageResponse

  • Method Details

    • key

      The KeyARN of the Amazon Web Services Payment Cryptography key activated for use.

      Parameters:
      key - The KeyARN of the Amazon Web Services Payment Cryptography key activated for use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • key

      The KeyARN of the Amazon Web Services Payment Cryptography key activated for use.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to key(Key).

      Parameters:
      key - a consumer that will call methods on Key.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: