@NotThreadSafe public static final class ImmutableObjectTypeInheritanceTreeBean.Builder extends Object
ImmutableObjectTypeInheritanceTreeBean.
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 ImmutableObjectTypeInheritanceTreeBean.Builder from(ObjectTypeInheritanceTreeBean instance)
ObjectTypeInheritanceTreeBean 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 ImmutableObjectTypeInheritanceTreeBean.Builder putParentObjectTypesInclSelf(int key, List<ObjectTypeBean> value)
parentObjectTypesInclSelf map.key - The key in the parentObjectTypesInclSelf mapvalue - The associated value in the parentObjectTypesInclSelf mapthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableObjectTypeInheritanceTreeBean.Builder putParentObjectTypesInclSelf(Map.Entry<Integer,? extends List<ObjectTypeBean>> entry)
parentObjectTypesInclSelf map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableObjectTypeInheritanceTreeBean.Builder setParentObjectTypesInclSelf(Map<Integer,? extends List<ObjectTypeBean>> entries)
parentObjectTypesInclSelf map. Nulls are not permittedentries - The entries that will be added to the parentObjectTypesInclSelf mapthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableObjectTypeInheritanceTreeBean.Builder putAllParentObjectTypesInclSelf(Map<Integer,? extends List<ObjectTypeBean>> entries)
parentObjectTypesInclSelf map. Nulls are not permittedentries - The entries that will be added to the parentObjectTypesInclSelf mapthis builder for use in a chained invocationpublic ImmutableObjectTypeInheritanceTreeBean build()
ImmutableObjectTypeInheritanceTreeBean.IllegalStateException - if any required attributes are missingCopyright © 2024 Atlassian. All rights reserved.