Interface Accessor.Builder

    • Method Detail

      • id

        Accessor.Builder id​(String id)

        The unique identifier of the accessor.

        Parameters:
        id - The unique identifier of the accessor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Accessor.Builder type​(String type)

        The type of the accessor.

        Currently, accessor type is restricted to BILLING_TOKEN.

        Parameters:
        type - The type of the 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, AccessorType
      • type

        Accessor.Builder type​(AccessorType type)

        The type of the accessor.

        Currently, accessor type is restricted to BILLING_TOKEN.

        Parameters:
        type - The type of the 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, AccessorType
      • billingToken

        Accessor.Builder billingToken​(String billingToken)

        The billing token is a property of the Accessor. Use this token to when making calls to the blockchain network. The billing token is used to track your accessor token for billing requests.

        Parameters:
        billingToken - The billing token is a property of the Accessor. Use this token to when making calls to the blockchain network. The billing token is used to track your accessor token for billing requests.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        Accessor.Builder status​(String status)

        The current status of the accessor.

        Parameters:
        status - The current status of the accessor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AccessorStatus, AccessorStatus
      • creationDate

        Accessor.Builder creationDate​(Instant creationDate)

        The creation date and time of the accessor.

        Parameters:
        creationDate - The creation date and time of the accessor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        Accessor.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the accessor. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the accessor. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Accessor.Builder tags​(Map<String,​String> tags)

        The tags assigned to the Accessor.

        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 - The tags assigned to the Accessor.

        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

        Accessor.Builder networkType​(String networkType)

        The blockchain network that the Accessor token is created for.

        Parameters:
        networkType - The blockchain network that the Accessor token is created for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AccessorNetworkType, AccessorNetworkType
      • networkType

        Accessor.Builder networkType​(AccessorNetworkType networkType)

        The blockchain network that the Accessor token is created for.

        Parameters:
        networkType - The blockchain network that the Accessor token is created for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AccessorNetworkType, AccessorNetworkType