Class ImmutableO365CopyJobSetResponse

java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365CopyJobSetResponse
All Implemented Interfaces:
O365CopyJobSetResponse

@Generated(from="O365CopyJobSetResponse", generator="Immutables") @ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableO365CopyJobSetResponse extends Object implements O365CopyJobSetResponse
Immutable implementation of O365CopyJobSetResponse.

Use the builder to create immutable instances: ImmutableO365CopyJobSetResponse.builder().

  • Method Details

    • copyJobs

      public com.google.common.collect.ImmutableSet<O365CopyJobResponse> copyJobs()
      Set of copy jobs.
      Specified by:
      copyJobs in interface O365CopyJobSetResponse
    • withCopyJobs

      public final ImmutableO365CopyJobSetResponse withCopyJobs(O365CopyJobResponse... elements)
      Copy the current immutable object with elements that replace the content of copyJobs.
      Parameters:
      elements - The elements to set
      Returns:
      A modified copy of this object
    • withCopyJobs

      public final ImmutableO365CopyJobSetResponse withCopyJobs(Iterable<? extends O365CopyJobResponse> elements)
      Copy the current immutable object with elements that replace the content of copyJobs. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      elements - An iterable of copyJobs elements to set
      Returns:
      A modified copy of this object
    • equals

      public boolean equals(@Nullable Object another)
      This instance is equal to all instances of ImmutableO365CopyJobSetResponse that have equal attribute values.
      Overrides:
      equals in class Object
      Returns:
      true if this is equal to another instance
    • hashCode

      public int hashCode()
      Computes a hash code from attributes: copyJobs.
      Overrides:
      hashCode in class Object
      Returns:
      hashCode value
    • toString

      public String toString()
      Prints the immutable value O365CopyJobSetResponse with attribute values.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the value
    • copyOf

      Creates an immutable copy of a O365CopyJobSetResponse value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.
      Parameters:
      instance - The instance to copy
      Returns:
      A copied immutable O365CopyJobSetResponse instance
    • builder

      public static ImmutableO365CopyJobSetResponse.Builder builder()
      Creates a builder for ImmutableO365CopyJobSetResponse.
       ImmutableO365CopyJobSetResponse.builder()
          .addCopyJobs|addAllCopyJobs(com.iland.core.web.rest.response.vbo.O365CopyJobResponse) // copyJobs elements
          .build();
       
      Returns:
      A new ImmutableO365CopyJobSetResponse builder