Interface CreateAccessorRequest.Builder

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

  • Method Details

    • clientRequestToken

      CreateAccessorRequest.Builder clientRequestToken(String clientRequestToken)

      This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon Web Services CLI.

      Parameters:
      clientRequestToken - This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon Web Services CLI.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessorType

      CreateAccessorRequest.Builder accessorType(String accessorType)

      The type of accessor.

      Currently, accessor type is restricted to BILLING_TOKEN.

      Parameters:
      accessorType - The type of accessor.

      Currently, accessor type is restricted to BILLING_TOKEN.

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

      CreateAccessorRequest.Builder accessorType(AccessorType accessorType)

      The type of accessor.

      Currently, accessor type is restricted to BILLING_TOKEN.

      Parameters:
      accessorType - The type of accessor.

      Currently, accessor type is restricted to BILLING_TOKEN.

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

      Tags to assign to the Accessor.

      Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.

      For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

      Parameters:
      tags - Tags to assign to the Accessor.

      Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.

      For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

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

      CreateAccessorRequest.Builder networkType(String networkType)

      The blockchain network that the Accessor token is created for.

      • Use the actual networkType value for the blockchain network that you are creating the Accessor token for.

      • With the shut down of the Ethereum Goerli and Polygon Mumbai Testnet networks the following networkType values are no longer available for selection and use.

        • ETHEREUM_MAINNET_AND_GOERLI

        • ETHEREUM_GOERLI

        • POLYGON_MUMBAI

        However, your existing Accessor tokens with these networkType values will remain unchanged.

      Parameters:
      networkType - The blockchain network that the Accessor token is created for.

      • Use the actual networkType value for the blockchain network that you are creating the Accessor token for.

      • With the shut down of the Ethereum Goerli and Polygon Mumbai Testnet networks the following networkType values are no longer available for selection and use.

        • ETHEREUM_MAINNET_AND_GOERLI

        • ETHEREUM_GOERLI

        • POLYGON_MUMBAI

        However, your existing Accessor tokens with these networkType values will remain unchanged.

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

      The blockchain network that the Accessor token is created for.

      • Use the actual networkType value for the blockchain network that you are creating the Accessor token for.

      • With the shut down of the Ethereum Goerli and Polygon Mumbai Testnet networks the following networkType values are no longer available for selection and use.

        • ETHEREUM_MAINNET_AND_GOERLI

        • ETHEREUM_GOERLI

        • POLYGON_MUMBAI

        However, your existing Accessor tokens with these networkType values will remain unchanged.

      Parameters:
      networkType - The blockchain network that the Accessor token is created for.

      • Use the actual networkType value for the blockchain network that you are creating the Accessor token for.

      • With the shut down of the Ethereum Goerli and Polygon Mumbai Testnet networks the following networkType values are no longer available for selection and use.

        • ETHEREUM_MAINNET_AND_GOERLI

        • ETHEREUM_GOERLI

        • POLYGON_MUMBAI

        However, your existing Accessor tokens with these networkType values will remain unchanged.

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

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