Interface CreateKeyResponse.Builder

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

public static interface CreateKeyResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<CreateKeyResponse.Builder,CreateKeyResponse>
  • Method Details

    • createTime

      CreateKeyResponse.Builder createTime(Instant createTime)

      The timestamp for when the API key resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

      Parameters:
      createTime - The timestamp for when the API key resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • key

      The key value/string of an API key. This value is used when making API calls to authorize the call. For example, see GetMapGlyphs.

      Parameters:
      key - The key value/string of an API key. This value is used when making API calls to authorize the call. For example, see GetMapGlyphs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyArn

      The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource across all Amazon Web Services.

      • Format example: arn:aws:geo:region:account-id:key/ExampleKey

      Parameters:
      keyArn - The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource across all Amazon Web Services.

      • Format example: arn:aws:geo:region:account-id:key/ExampleKey

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

      The name of the API key resource.

      Parameters:
      keyName - The name of the API key resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.