Class RebootRequest
- java.lang.Object
-
- com.amazonaws.services.workspaces.model.RebootRequest
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class RebootRequest extends Object implements Serializable, Cloneable
Contains information used with the RebootWorkspaces operation to reboot a WorkSpace.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RebootRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RebootRequest
clone()
boolean
equals(Object obj)
String
getWorkspaceId()
The identifier of the WorkSpace to reboot.int
hashCode()
void
setWorkspaceId(String workspaceId)
The identifier of the WorkSpace to reboot.String
toString()
Returns a string representation of this object; useful for testing and debugging.RebootRequest
withWorkspaceId(String workspaceId)
The identifier of the WorkSpace to reboot.
-
-
-
Method Detail
-
setWorkspaceId
public void setWorkspaceId(String workspaceId)
The identifier of the WorkSpace to reboot.
- Parameters:
workspaceId
- The identifier of the WorkSpace to reboot.
-
getWorkspaceId
public String getWorkspaceId()
The identifier of the WorkSpace to reboot.
- Returns:
- The identifier of the WorkSpace to reboot.
-
withWorkspaceId
public RebootRequest withWorkspaceId(String workspaceId)
The identifier of the WorkSpace to reboot.
- Parameters:
workspaceId
- The identifier of the WorkSpace to reboot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RebootRequest clone()
-
-