Interface CreateAccessTokenRequest.Builder

  • Method Details

    • clientToken

      CreateAccessTokenRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the same clientToken has the same result every time.

      Parameters:
      clientToken - A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the same clientToken has the same result every time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dnsViewId

      The ID of the DNS view to associate with this token.

      Parameters:
      dnsViewId - The ID of the DNS view to associate with this token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresAt

      The date and time when the token expires. Tokens can have a minimum expiration of 30 days and maximum of 365 days from creation.

      Parameters:
      expiresAt - The date and time when the token expires. Tokens can have a minimum expiration of 30 days and maximum of 365 days from creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      A descriptive name for the access token.

      Parameters:
      name - A descriptive name for the access token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An array of user-defined keys and optional values. These tags can be used for categorization and organization.

      Parameters:
      tags - An array of user-defined keys and optional values. These tags can be used for categorization and organization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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