Class UpdateSessionOptions

java.lang.Object
com.azure.mixedreality.remoterendering.models.UpdateSessionOptions

public final class UpdateSessionOptions extends Object
Options for updating an existing rendering session.
  • Constructor Details

    • UpdateSessionOptions

      public UpdateSessionOptions()
  • Method Details

    • maxLeaseTime

      public UpdateSessionOptions maxLeaseTime(Duration maxLeaseTime)
      Set the maxLeaseTime property: Update to the time the session will run after it reached the 'Ready' state. It has to be bigger than the current value of maxLeaseTime.
      Parameters:
      maxLeaseTime - the maxLeaseTime value
      Returns:
      this UpdateSessionOptions object.
    • getMaxLeaseTime

      public Duration getMaxLeaseTime()
      Get the maxLeaseTimeMinutes property: Update to the time the session will run after it reached the 'Ready' state. It has to be bigger than the current value of maxLeaseTime.
      Returns:
      the maxLeaseTimeMinutes value.