@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopFleetActionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP | Constructor and Description |
|---|
StopFleetActionsRequest () |
| Modifier and Type | Method and Description |
|---|---|
StopFleetActionsRequest |
clone ()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals (Object obj) |
List<String> |
getActions ()
List of actions to suspend on the fleet.
|
String |
getFleetId ()
A unique identifier for the fleet to stop actions on.
|
String |
getLocation ()
The fleet location to stop fleet actions for.
|
int |
hashCode () |
void |
setActions (Collection<String> actions)
List of actions to suspend on the fleet.
|
void |
setFleetId (String fleetId)
A unique identifier for the fleet to stop actions on.
|
void |
setLocation (String location)
The fleet location to stop fleet actions for.
|
String |
toString ()
Returns a string representation of this object.
|
StopFleetActionsRequest |
withActions (Collection<String> actions)
List of actions to suspend on the fleet.
|
StopFleetActionsRequest |
withActions (FleetAction... actions)
List of actions to suspend on the fleet.
|
StopFleetActionsRequest |
withActions (String... actions)
List of actions to suspend on the fleet.
|
StopFleetActionsRequest |
withFleetId (String fleetId)
A unique identifier for the fleet to stop actions on.
|
StopFleetActionsRequest |
withLocation (String location)
The fleet location to stop fleet actions for.
|
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, withSdkRequestTimeout public StopFleetActionsRequest()
public void setFleetId(String fleetId)
A unique identifier for the fleet to stop actions on. You can use either the fleet ID or ARN value.
fleetId - A unique identifier for the fleet to stop actions on. You can use either the fleet ID or ARN value.public String getFleetId()
A unique identifier for the fleet to stop actions on. You can use either the fleet ID or ARN value.
public StopFleetActionsRequest withFleetId(String fleetId)
A unique identifier for the fleet to stop actions on. You can use either the fleet ID or ARN value.
fleetId - A unique identifier for the fleet to stop actions on. You can use either the fleet ID or ARN value.public List<String> getActions()
List of actions to suspend on the fleet.
FleetAction public void setActions(Collection<String> actions)
List of actions to suspend on the fleet.
actions - List of actions to suspend on the fleet.FleetAction public StopFleetActionsRequest withActions(String... actions)
List of actions to suspend on the fleet.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection) or withActions(java.util.Collection) if you want to override
the existing values.
actions - List of actions to suspend on the fleet.FleetAction public StopFleetActionsRequest withActions(Collection<String> actions)
List of actions to suspend on the fleet.
actions - List of actions to suspend on the fleet.FleetAction public StopFleetActionsRequest withActions(FleetAction... actions)
List of actions to suspend on the fleet.
actions - List of actions to suspend on the fleet.FleetAction public void setLocation(String location)
The fleet location to stop fleet actions for. Specify a location in the form of an Amazon Web Services Region
code, such as us-west-2.
location - The fleet location to stop fleet actions for. Specify a location in the form of an Amazon Web Services
Region code, such as us-west-2.public String getLocation()
The fleet location to stop fleet actions for. Specify a location in the form of an Amazon Web Services Region
code, such as us-west-2.
us-west-2.public StopFleetActionsRequest withLocation(String location)
The fleet location to stop fleet actions for. Specify a location in the form of an Amazon Web Services Region
code, such as us-west-2.
location - The fleet location to stop fleet actions for. Specify a location in the form of an Amazon Web Services
Region code, such as us-west-2.public String toString()
toString in class Object Object.toString() public StopFleetActionsRequest clone()
AmazonWebServiceRequest clone in class AmazonWebServiceRequest Object.clone()