Class TerminateRequest
- java.lang.Object
-
- com.amazonaws.services.workspaces.model.TerminateRequest
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class TerminateRequest extends Object implements Serializable, Cloneable
Contains information used with the TerminateWorkspaces operation to terminate a WorkSpace.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TerminateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TerminateRequest
clone()
boolean
equals(Object obj)
String
getWorkspaceId()
The identifier of the WorkSpace to terminate.int
hashCode()
void
setWorkspaceId(String workspaceId)
The identifier of the WorkSpace to terminate.String
toString()
Returns a string representation of this object; useful for testing and debugging.TerminateRequest
withWorkspaceId(String workspaceId)
The identifier of the WorkSpace to terminate.
-
-
-
Method Detail
-
setWorkspaceId
public void setWorkspaceId(String workspaceId)
The identifier of the WorkSpace to terminate.
- Parameters:
workspaceId
- The identifier of the WorkSpace to terminate.
-
getWorkspaceId
public String getWorkspaceId()
The identifier of the WorkSpace to terminate.
- Returns:
- The identifier of the WorkSpace to terminate.
-
withWorkspaceId
public TerminateRequest withWorkspaceId(String workspaceId)
The identifier of the WorkSpace to terminate.
- Parameters:
workspaceId
- The identifier of the WorkSpace to terminate.- 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 TerminateRequest clone()
-
-