Interface GetSchemaResponse.Builder

  • Method Details

    • policyStoreId

      GetSchemaResponse.Builder policyStoreId(String policyStoreId)

      The ID of the policy store that contains the schema.

      Parameters:
      policyStoreId - The ID of the policy store that contains the schema.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schema

      The body of the schema, written in Cedar schema JSON.

      Parameters:
      schema - The body of the schema, written in Cedar schema JSON.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdDate

      GetSchemaResponse.Builder createdDate(Instant createdDate)

      The date and time that the schema was originally created.

      Parameters:
      createdDate - The date and time that the schema was originally created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedDate

      GetSchemaResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)

      The date and time that the schema was most recently updated.

      Parameters:
      lastUpdatedDate - The date and time that the schema was most recently updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      GetSchemaResponse.Builder namespaces(Collection<String> namespaces)

      The namespaces of the entities referenced by this schema.

      Parameters:
      namespaces - The namespaces of the entities referenced by this schema.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      GetSchemaResponse.Builder namespaces(String... namespaces)

      The namespaces of the entities referenced by this schema.

      Parameters:
      namespaces - The namespaces of the entities referenced by this schema.
      Returns:
      Returns a reference to this object so that method calls can be chained together.