@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopLaunchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
StopLaunchRequest() |
| Modifier and Type | Method and Description |
|---|---|
StopLaunchRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDesiredState()
Specify whether to consider the launch as
COMPLETED or CANCELLED after it stops. |
String |
getLaunch()
The name of the launch to stop.
|
String |
getProject()
The name or ARN of the project that contains the launch that you want to stop.
|
String |
getReason()
A string that describes why you are stopping the launch.
|
int |
hashCode() |
void |
setDesiredState(String desiredState)
Specify whether to consider the launch as
COMPLETED or CANCELLED after it stops. |
void |
setLaunch(String launch)
The name of the launch to stop.
|
void |
setProject(String project)
The name or ARN of the project that contains the launch that you want to stop.
|
void |
setReason(String reason)
A string that describes why you are stopping the launch.
|
String |
toString()
Returns a string representation of this object.
|
StopLaunchRequest |
withDesiredState(LaunchStopDesiredState desiredState)
Specify whether to consider the launch as
COMPLETED or CANCELLED after it stops. |
StopLaunchRequest |
withDesiredState(String desiredState)
Specify whether to consider the launch as
COMPLETED or CANCELLED after it stops. |
StopLaunchRequest |
withLaunch(String launch)
The name of the launch to stop.
|
StopLaunchRequest |
withProject(String project)
The name or ARN of the project that contains the launch that you want to stop.
|
StopLaunchRequest |
withReason(String reason)
A string that describes why you are stopping the launch.
|
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 to consider the launch as COMPLETED or CANCELLED after it stops.
desiredState - Specify whether to consider the launch as COMPLETED or CANCELLED after it stops.LaunchStopDesiredStatepublic String getDesiredState()
Specify whether to consider the launch as COMPLETED or CANCELLED after it stops.
COMPLETED or CANCELLED after it
stops.LaunchStopDesiredStatepublic StopLaunchRequest withDesiredState(String desiredState)
Specify whether to consider the launch as COMPLETED or CANCELLED after it stops.
desiredState - Specify whether to consider the launch as COMPLETED or CANCELLED after it stops.LaunchStopDesiredStatepublic StopLaunchRequest withDesiredState(LaunchStopDesiredState desiredState)
Specify whether to consider the launch as COMPLETED or CANCELLED after it stops.
desiredState - Specify whether to consider the launch as COMPLETED or CANCELLED after it stops.LaunchStopDesiredStatepublic void setLaunch(String launch)
The name of the launch to stop.
launch - The name of the launch to stop.public String getLaunch()
The name of the launch to stop.
public StopLaunchRequest withLaunch(String launch)
The name of the launch to stop.
launch - The name of the launch to stop.public void setProject(String project)
The name or ARN of the project that contains the launch that you want to stop.
project - The name or ARN of the project that contains the launch that you want to stop.public String getProject()
The name or ARN of the project that contains the launch that you want to stop.
public StopLaunchRequest withProject(String project)
The name or ARN of the project that contains the launch that you want to stop.
project - The name or ARN of the project that contains the launch that you want to stop.public void setReason(String reason)
A string that describes why you are stopping the launch.
reason - A string that describes why you are stopping the launch.public String getReason()
A string that describes why you are stopping the launch.
public StopLaunchRequest withReason(String reason)
A string that describes why you are stopping the launch.
reason - A string that describes why you are stopping the launch.public String toString()
toString in class ObjectObject.toString()public StopLaunchRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()