@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartFleetActionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
StartFleetActionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
StartFleetActionsRequest |
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 restart on the fleet.
|
String |
getFleetId()
A unique identifier for the fleet to restart actions on.
|
String |
getLocation()
The fleet location to restart fleet actions for.
|
int |
hashCode() |
void |
setActions(Collection<String> actions)
List of actions to restart on the fleet.
|
void |
setFleetId(String fleetId)
A unique identifier for the fleet to restart actions on.
|
void |
setLocation(String location)
The fleet location to restart fleet actions for.
|
String |
toString()
Returns a string representation of this object.
|
StartFleetActionsRequest |
withActions(Collection<String> actions)
List of actions to restart on the fleet.
|
StartFleetActionsRequest |
withActions(FleetAction... actions)
List of actions to restart on the fleet.
|
StartFleetActionsRequest |
withActions(String... actions)
List of actions to restart on the fleet.
|
StartFleetActionsRequest |
withFleetId(String fleetId)
A unique identifier for the fleet to restart actions on.
|
StartFleetActionsRequest |
withLocation(String location)
The fleet location to restart 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, withSdkRequestTimeoutpublic void setFleetId(String fleetId)
A unique identifier for the fleet to restart actions on. You can use either the fleet ID or ARN value.
fleetId - A unique identifier for the fleet to restart actions on. You can use either the fleet ID or ARN value.public String getFleetId()
A unique identifier for the fleet to restart actions on. You can use either the fleet ID or ARN value.
public StartFleetActionsRequest withFleetId(String fleetId)
A unique identifier for the fleet to restart actions on. You can use either the fleet ID or ARN value.
fleetId - A unique identifier for the fleet to restart actions on. You can use either the fleet ID or ARN value.public List<String> getActions()
List of actions to restart on the fleet.
FleetActionpublic void setActions(Collection<String> actions)
List of actions to restart on the fleet.
actions - List of actions to restart on the fleet.FleetActionpublic StartFleetActionsRequest withActions(String... actions)
List of actions to restart 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 restart on the fleet.FleetActionpublic StartFleetActionsRequest withActions(Collection<String> actions)
List of actions to restart on the fleet.
actions - List of actions to restart on the fleet.FleetActionpublic StartFleetActionsRequest withActions(FleetAction... actions)
List of actions to restart on the fleet.
actions - List of actions to restart on the fleet.FleetActionpublic void setLocation(String location)
The fleet location to restart 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 restart 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 restart 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 StartFleetActionsRequest withLocation(String location)
The fleet location to restart 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 restart 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 ObjectObject.toString()public StartFleetActionsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()