Class ResourceReturningRequestBuilder<T extends ResourceReturningRequestBuilder>

    • Field Detail

      • excluded

        protected boolean excluded
        Whether the attribute list is for excluded attributes.
    • Method Detail

      • attributes

        public T attributes​(String... attributes)
        Specifies a multi-valued list of strings indicating the names of resource attributes to return in the response overriding the set of attributes that would be returned by default. Any existing excluded attributes will be removed.
        Parameters:
        attributes - the names of resource attributes to return
        Returns:
        This builder.
      • excludedAttributes

        public T excludedAttributes​(String... excludedAttributes)
        Specifies a multi-valued list of strings indicating the names of resource attributes to be removed from the default set of attributes to return. Any existing attributes to return will be removed.
        Parameters:
        excludedAttributes - names of resource attributes to be removed from the default set of attributes to return.
        Returns:
        This builder.