Class CreateKeyResponse

    • Method Detail

      • key

        public final 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.

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

        public final 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

        Returns:
        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

      • keyName

        public final String keyName()

        The name of the API key resource.

        Returns:
        The name of the API key resource.
      • createTime

        public final Instant createTime()

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

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

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object