Class AccessCredentialQuery.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • resource

        public AccessCredentialQuery.Builder resource​(URI resource)
        Set the resource identifier.
        Parameters:
        resource - the resource identifier, may be null
        Returns:
        this builder
      • purpose

        public AccessCredentialQuery.Builder purpose​(URI purpose)
        Add a purpose identifier.
        Parameters:
        purpose - a purpose identifier; null values have no effect.
        Returns:
        this builder
      • mode

        public AccessCredentialQuery.Builder mode​(String mode)
        Add an access mode value.
        Parameters:
        mode - a mode value; null values have no effect.
        Returns:
        this builder
      • creator

        public AccessCredentialQuery.Builder creator​(URI creator)
        Set the creator identifier.
        Parameters:
        creator - the creator identifier, may be null
        Returns:
        this builder
      • recipient

        public AccessCredentialQuery.Builder recipient​(URI recipient)
        Set the recipient identifier.
        Parameters:
        recipient - the recipient identifier, may be null
        Returns:
        this builder
      • build

        public <T extends AccessCredentialAccessCredentialQuery<T> build​(Class<T> clazz)
        Build the access credential query.
        Type Parameters:
        T - the credential type
        Parameters:
        clazz - the credential type
        Returns:
        the query object