public Builder inheritFromContainer(boolean inheritFromContainer) {
            this.inheritFromContainer = inheritFromContainer;
            return this;
        }
When testing member shapes, also checks the container of the member for
the presence of a trait.

<p>By default, traits are not inherited from a member's parent container.

@param inheritFromContainer Set to true to inherit traits from member containers.
@return Returns the query object builder.
smithy-model/src/main/java/software/amazon/smithy/model/traits/EffectiveTraitQuery.java