* The resource name. *
*/ private String resourceName; /** ** The status of the operation. *
*/ private String status; /** ** The percentage of completion for the operation. *
*/ private Integer percentageComplete; /** ** The reason the operation failed. *
*/ private String failureReason; /** ** Returns information about the specified NICE DCV GUI session. *
*/ private java.util.List* The resource name. *
* * @param resourceName * The resource name. */ public void setResourceName(String resourceName) { this.resourceName = resourceName; } /** ** The resource name. *
* * @return The resource name. */ public String getResourceName() { return this.resourceName; } /** ** The resource name. *
* * @param resourceName * The resource name. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateGUISessionAccessDetailsResult withResourceName(String resourceName) { setResourceName(resourceName); return this; } /** ** The status of the operation. *
* * @param status * The status of the operation. * @see Status */ public void setStatus(String status) { this.status = status; } /** ** The status of the operation. *
* * @return The status of the operation. * @see Status */ public String getStatus() { return this.status; } /** ** The status of the operation. *
* * @param status * The status of the operation. * @return Returns a reference to this object so that method calls can be chained together. * @see Status */ public CreateGUISessionAccessDetailsResult withStatus(String status) { setStatus(status); return this; } /** ** The status of the operation. *
* * @param status * The status of the operation. * @return Returns a reference to this object so that method calls can be chained together. * @see Status */ public CreateGUISessionAccessDetailsResult withStatus(Status status) { this.status = status.toString(); return this; } /** ** The percentage of completion for the operation. *
* * @param percentageComplete * The percentage of completion for the operation. */ public void setPercentageComplete(Integer percentageComplete) { this.percentageComplete = percentageComplete; } /** ** The percentage of completion for the operation. *
* * @return The percentage of completion for the operation. */ public Integer getPercentageComplete() { return this.percentageComplete; } /** ** The percentage of completion for the operation. *
* * @param percentageComplete * The percentage of completion for the operation. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateGUISessionAccessDetailsResult withPercentageComplete(Integer percentageComplete) { setPercentageComplete(percentageComplete); return this; } /** ** The reason the operation failed. *
* * @param failureReason * The reason the operation failed. */ public void setFailureReason(String failureReason) { this.failureReason = failureReason; } /** ** The reason the operation failed. *
* * @return The reason the operation failed. */ public String getFailureReason() { return this.failureReason; } /** ** The reason the operation failed. *
* * @param failureReason * The reason the operation failed. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateGUISessionAccessDetailsResult withFailureReason(String failureReason) { setFailureReason(failureReason); return this; } /** ** Returns information about the specified NICE DCV GUI session. *
* * @return Returns information about the specified NICE DCV GUI session. */ public java.util.List* Returns information about the specified NICE DCV GUI session. *
* * @param sessions * Returns information about the specified NICE DCV GUI session. */ public void setSessions(java.util.Collection* Returns information about the specified NICE DCV GUI session. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSessions(java.util.Collection)} or {@link #withSessions(java.util.Collection)} if you want to override * the existing values. *
* * @param sessions * Returns information about the specified NICE DCV GUI session. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateGUISessionAccessDetailsResult withSessions(Session... sessions) { if (this.sessions == null) { setSessions(new java.util.ArrayList* Returns information about the specified NICE DCV GUI session. *
* * @param sessions * Returns information about the specified NICE DCV GUI session. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateGUISessionAccessDetailsResult withSessions(java.util.Collection