Describes a state change.
 /// <summary>
 /// Sets the StateReason property
 /// </summary>
 /// <param name="stateReason">The reason for the state change.</param>
 /// <returns>this instance</returns>
 public RunningInstance WithStateReason(StateReason stateReason)
 {
     this.stateReasonField = stateReason;
     return(this);
 }
 /// <summary>
 /// Sets the StateReason property
 /// </summary>
 /// <param name="stateReason">The reason for the state change.</param>
 /// <returns>this instance</returns>
 public RunningInstance WithStateReason(StateReason stateReason)
 {
     this.stateReasonField = stateReason;
     return this;
 }
示例#3
0
 public Image WithStateReason(StateReason stateReason)
 {
     this.stateReasonField = stateReason;
     return this;
 }
示例#4
0
 /// <summary>
 /// Ses the reason for the state change.
 /// </summary>
 /// <param name="stateReason">The reason for the state change.</param>
 /// <returns>this instance</returns>
 public Image WithStateReason(StateReason stateReason)
 {
     this.stateReasonField = stateReason;
     return(this);
 }