Interface ListKeysResponseEntry.Builder

    • Method Detail

      • createTime

        ListKeysResponseEntry.Builder createTime​(Instant createTime)

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

        Parameters:
        createTime - The timestamp of when the API key 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.
      • description

        ListKeysResponseEntry.Builder description​(String description)

        The optional description for the API key resource.

        Parameters:
        description - The optional description for the API key resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expireTime

        ListKeysResponseEntry.Builder expireTime​(Instant expireTime)

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

        Parameters:
        expireTime - The timestamp for when the API key resource will expire, 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.
      • keyName

        ListKeysResponseEntry.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.
      • restrictions

        ListKeysResponseEntry.Builder restrictions​(ApiKeyRestrictions restrictions)
        Sets the value of the Restrictions property for this object.
        Parameters:
        restrictions - The new value for the Restrictions property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updateTime

        ListKeysResponseEntry.Builder updateTime​(Instant updateTime)

        The timestamp of when the API key was last updated, in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

        Parameters:
        updateTime - The timestamp of when the API key was last updated, 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.