Class ImmutableO365CopyJobSetResponse.Builder
java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365CopyJobSetResponse.Builder
- Enclosing class:
- ImmutableO365CopyJobSetResponse
@Generated(from="O365CopyJobSetResponse",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableO365CopyJobSetResponse.Builder
extends Object
Builds instances of type
ImmutableO365CopyJobSetResponse.
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.
-
Method Summary
Modifier and TypeMethodDescriptionaddAllCopyJobs(Iterable<? extends O365CopyJobResponse> elements) Adds elements tocopyJobsset.addCopyJobs(O365CopyJobResponse element) Adds one element tocopyJobsset.addCopyJobs(O365CopyJobResponse... elements) Adds elements tocopyJobsset.build()Builds a newImmutableO365CopyJobSetResponse.copyJobs(Iterable<? extends O365CopyJobResponse> elements) Sets or replaces all elements forcopyJobsset.from(O365CopyJobSetResponse instance) Fill a builder with attribute values from the providedO365CopyJobSetResponseinstance.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableO365CopyJobSetResponse.Builder from(O365CopyJobSetResponse instance) Fill a builder with attribute values from the providedO365CopyJobSetResponseinstance. 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.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
addCopyJobs
@CanIgnoreReturnValue public final ImmutableO365CopyJobSetResponse.Builder addCopyJobs(O365CopyJobResponse element) Adds one element tocopyJobsset.- Parameters:
element- A copyJobs element- Returns:
thisbuilder for use in a chained invocation
-
addCopyJobs
@CanIgnoreReturnValue public final ImmutableO365CopyJobSetResponse.Builder addCopyJobs(O365CopyJobResponse... elements) Adds elements tocopyJobsset.- Parameters:
elements- An array of copyJobs elements- Returns:
thisbuilder for use in a chained invocation
-
copyJobs
@CanIgnoreReturnValue public final ImmutableO365CopyJobSetResponse.Builder copyJobs(Iterable<? extends O365CopyJobResponse> elements) Sets or replaces all elements forcopyJobsset.- Parameters:
elements- An iterable of copyJobs elements- Returns:
thisbuilder for use in a chained invocation
-
addAllCopyJobs
@CanIgnoreReturnValue public final ImmutableO365CopyJobSetResponse.Builder addAllCopyJobs(Iterable<? extends O365CopyJobResponse> elements) Adds elements tocopyJobsset.- Parameters:
elements- An iterable of copyJobs elements- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableO365CopyJobSetResponse.- Returns:
- An immutable instance of O365CopyJobSetResponse
- Throws:
IllegalStateException- if any required attributes are missing
-