@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopExperimentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| StopExperimentRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| StopExperimentRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getDesiredState()
 Specify whether the experiment is to be considered  COMPLETEDorCANCELLEDafter it
 stops. | 
| String | getExperiment()
 The name of the experiment to stop. | 
| String | getProject()
 The name or ARN of the project that contains the experiment to stop. | 
| String | getReason()
 A string that describes why you are stopping the experiment. | 
| int | hashCode() | 
| void | setDesiredState(String desiredState)
 Specify whether the experiment is to be considered  COMPLETEDorCANCELLEDafter it
 stops. | 
| void | setExperiment(String experiment)
 The name of the experiment to stop. | 
| void | setProject(String project)
 The name or ARN of the project that contains the experiment to stop. | 
| void | setReason(String reason)
 A string that describes why you are stopping the experiment. | 
| String | toString()Returns a string representation of this object. | 
| StopExperimentRequest | withDesiredState(ExperimentStopDesiredState desiredState)
 Specify whether the experiment is to be considered  COMPLETEDorCANCELLEDafter it
 stops. | 
| StopExperimentRequest | withDesiredState(String desiredState)
 Specify whether the experiment is to be considered  COMPLETEDorCANCELLEDafter it
 stops. | 
| StopExperimentRequest | withExperiment(String experiment)
 The name of the experiment to stop. | 
| StopExperimentRequest | withProject(String project)
 The name or ARN of the project that contains the experiment to stop. | 
| StopExperimentRequest | withReason(String reason)
 A string that describes why you are stopping the experiment. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDesiredState(String desiredState)
 Specify whether the experiment is to be considered COMPLETED or CANCELLED after it
 stops.
 
desiredState - Specify whether the experiment is to be considered COMPLETED or CANCELLED after
        it stops.ExperimentStopDesiredStatepublic String getDesiredState()
 Specify whether the experiment is to be considered COMPLETED or CANCELLED after it
 stops.
 
COMPLETED or CANCELLED after
         it stops.ExperimentStopDesiredStatepublic StopExperimentRequest withDesiredState(String desiredState)
 Specify whether the experiment is to be considered COMPLETED or CANCELLED after it
 stops.
 
desiredState - Specify whether the experiment is to be considered COMPLETED or CANCELLED after
        it stops.ExperimentStopDesiredStatepublic StopExperimentRequest withDesiredState(ExperimentStopDesiredState desiredState)
 Specify whether the experiment is to be considered COMPLETED or CANCELLED after it
 stops.
 
desiredState - Specify whether the experiment is to be considered COMPLETED or CANCELLED after
        it stops.ExperimentStopDesiredStatepublic void setExperiment(String experiment)
The name of the experiment to stop.
experiment - The name of the experiment to stop.public String getExperiment()
The name of the experiment to stop.
public StopExperimentRequest withExperiment(String experiment)
The name of the experiment to stop.
experiment - The name of the experiment to stop.public void setProject(String project)
The name or ARN of the project that contains the experiment to stop.
project - The name or ARN of the project that contains the experiment to stop.public String getProject()
The name or ARN of the project that contains the experiment to stop.
public StopExperimentRequest withProject(String project)
The name or ARN of the project that contains the experiment to stop.
project - The name or ARN of the project that contains the experiment to stop.public void setReason(String reason)
A string that describes why you are stopping the experiment.
reason - A string that describes why you are stopping the experiment.public String getReason()
A string that describes why you are stopping the experiment.
public StopExperimentRequest withReason(String reason)
A string that describes why you are stopping the experiment.
reason - A string that describes why you are stopping the experiment.public String toString()
toString in class ObjectObject.toString()public StopExperimentRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()