Class ImmutableO365CopyJobResponse.Builder

java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365CopyJobResponse.Builder
Enclosing class:
ImmutableO365CopyJobResponse

@Generated(from="O365CopyJobResponse", generator="Immutables") @NotThreadSafe public static final class ImmutableO365CopyJobResponse.Builder extends Object
Builds instances of type ImmutableO365CopyJobResponse. 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 Details

    • from

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder from(O365CopyJobResponse instance)
      Fill a builder with attribute values from the provided O365CopyJobResponse instance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • uuid

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder uuid(String uuid)
      Initializes the value for the uuid attribute.
      Parameters:
      uuid - The value for uuid
      Returns:
      this builder for use in a chained invocation
    • schedulePolicy

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder schedulePolicy(O365CopyJobSchedulePolicyResponse schedulePolicy)
      Initializes the value for the schedulePolicy attribute.
      Parameters:
      schedulePolicy - The value for schedulePolicy
      Returns:
      this builder for use in a chained invocation
    • repositoryId

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder repositoryId(String repositoryId)
      Initializes the value for the repositoryId attribute.
      Parameters:
      repositoryId - The value for repositoryId
      Returns:
      this builder for use in a chained invocation
    • name

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder name(String name)
      Initializes the value for the name attribute.
      Parameters:
      name - The value for name
      Returns:
      this builder for use in a chained invocation
    • lastRun

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder lastRun(Instant lastRun)
      Initializes the optional value lastRun to lastRun.
      Parameters:
      lastRun - The value for lastRun
      Returns:
      this builder for chained invocation
    • lastRun

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder lastRun(Optional<? extends Instant> lastRun)
      Initializes the optional value lastRun to lastRun.
      Parameters:
      lastRun - The value for lastRun
      Returns:
      this builder for use in a chained invocation
    • nextRun

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder nextRun(Instant nextRun)
      Initializes the optional value nextRun to nextRun.
      Parameters:
      nextRun - The value for nextRun
      Returns:
      this builder for chained invocation
    • nextRun

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder nextRun(Optional<? extends Instant> nextRun)
      Initializes the optional value nextRun to nextRun.
      Parameters:
      nextRun - The value for nextRun
      Returns:
      this builder for use in a chained invocation
    • lastBackup

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder lastBackup(Instant lastBackup)
      Initializes the optional value lastBackup to lastBackup.
      Parameters:
      lastBackup - The value for lastBackup
      Returns:
      this builder for chained invocation
    • lastBackup

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder lastBackup(Optional<? extends Instant> lastBackup)
      Initializes the optional value lastBackup to lastBackup.
      Parameters:
      lastBackup - The value for lastBackup
      Returns:
      this builder for use in a chained invocation
    • isEnabled

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder isEnabled(Boolean isEnabled)
      Initializes the value for the isEnabled attribute.
      Parameters:
      isEnabled - The value for isEnabled
      Returns:
      this builder for use in a chained invocation
    • o365OrgUuid

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder o365OrgUuid(String o365OrgUuid)
      Initializes the value for the o365OrgUuid attribute.
      Parameters:
      o365OrgUuid - The value for o365OrgUuid
      Returns:
      this builder for use in a chained invocation
    • companyId

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder companyId(String companyId)
      Initializes the value for the companyId attribute.
      Parameters:
      companyId - The value for companyId
      Returns:
      this builder for use in a chained invocation
    • lastStatus

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder lastStatus(String lastStatus)
      Initializes the value for the lastStatus attribute.
      Parameters:
      lastStatus - The value for lastStatus
      Returns:
      this builder for use in a chained invocation
    • retentionPeriod

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder retentionPeriod(String retentionPeriod)
      Initializes the value for the retentionPeriod attribute.
      Parameters:
      retentionPeriod - The value for retentionPeriod
      Returns:
      this builder for use in a chained invocation
    • enableImmutability

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder enableImmutability(boolean enableImmutability)
      Initializes the value for the enableImmutability attribute.
      Parameters:
      enableImmutability - The value for enableImmutability
      Returns:
      this builder for use in a chained invocation
    • typeVex

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder typeVex(boolean typeVex)
      Initializes the value for the typeVex attribute.
      Parameters:
      typeVex - The value for typeVex
      Returns:
      this builder for use in a chained invocation
    • typeVesp

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder typeVesp(boolean typeVesp)
      Initializes the value for the typeVesp attribute.
      Parameters:
      typeVesp - The value for typeVesp
      Returns:
      this builder for use in a chained invocation
    • typeVeod

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder typeVeod(boolean typeVeod)
      Initializes the value for the typeVeod attribute.
      Parameters:
      typeVeod - The value for typeVeod
      Returns:
      this builder for use in a chained invocation
    • typeVet

      @CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder typeVet(boolean typeVet)
      Initializes the value for the typeVet attribute.
      Parameters:
      typeVet - The value for typeVet
      Returns:
      this builder for use in a chained invocation
    • build

      Returns:
      An immutable instance of O365CopyJobResponse
      Throws:
      IllegalStateException - if any required attributes are missing