@NotThreadSafe public static final class ImmutableIQLObjectTypeScope.Builder extends Object
ImmutableIQLObjectTypeScope.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
@CanIgnoreReturnValue public final ImmutableIQLObjectTypeScope.Builder from(IQLObjectTypeScope instance)
IQLObjectTypeScope instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableIQLObjectTypeScope.Builder addObjectTypeIdsToInclude(int element)
objectTypeIdsToInclude set.element - A objectTypeIdsToInclude elementthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableIQLObjectTypeScope.Builder addObjectTypeIdsToInclude(int... elements)
objectTypeIdsToInclude set.elements - An array of objectTypeIdsToInclude elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableIQLObjectTypeScope.Builder setObjectTypeIdsToInclude(Iterable<Integer> elements)
objectTypeIdsToInclude set.elements - An iterable of objectTypeIdsToInclude elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableIQLObjectTypeScope.Builder addAllObjectTypeIdsToInclude(Iterable<Integer> elements)
objectTypeIdsToInclude set.elements - An iterable of objectTypeIdsToInclude elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableIQLObjectTypeScope.Builder addObjectTypeIdsToExclude(int element)
objectTypeIdsToExclude set.element - A objectTypeIdsToExclude elementthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableIQLObjectTypeScope.Builder addObjectTypeIdsToExclude(int... elements)
objectTypeIdsToExclude set.elements - An array of objectTypeIdsToExclude elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableIQLObjectTypeScope.Builder setObjectTypeIdsToExclude(Iterable<Integer> elements)
objectTypeIdsToExclude set.elements - An iterable of objectTypeIdsToExclude elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableIQLObjectTypeScope.Builder addAllObjectTypeIdsToExclude(Iterable<Integer> elements)
objectTypeIdsToExclude set.elements - An iterable of objectTypeIdsToExclude elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableIQLObjectTypeScope.Builder setIncludesAll(boolean includesAll)
includesAll attribute.
If not set, this attribute will have a default value as returned by the initializer of includesAll.
includesAll - The value for includesAllthis builder for use in a chained invocationpublic ImmutableIQLObjectTypeScope build()
ImmutableIQLObjectTypeScope.IllegalStateException - if any required attributes are missingCopyright © 2024 Atlassian. All rights reserved.