Class CreateApiKeyRequest

    • Method Detail

      • apiId

        public final String apiId()

        The ID for your GraphQL API.

        Returns:
        The ID for your GraphQL API.
      • description

        public final String description()

        A description of the purpose of the API key.

        Returns:
        A description of the purpose of the API key.
      • expires

        public final Long expires()

        From the creation time, the time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time. For more information, see .

        Returns:
        From the creation time, the time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time. For more information, see .
      • 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