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