Interface CreateKeyResponse.Builder

    • Method Detail

      • 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

        CreateKeyResponse.Builder key​(String 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

        CreateKeyResponse.Builder keyArn​(String 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

        CreateKeyResponse.Builder keyName​(String 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.