@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteServiceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteServiceRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteServiceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete.
|
Boolean |
getForce()
If
true , allows you to delete a service even if it wasn't scaled down to zero tasks. |
String |
getService()
The name of the service to delete.
|
int |
hashCode() |
Boolean |
isForce()
If
true , allows you to delete a service even if it wasn't scaled down to zero tasks. |
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete.
|
void |
setForce(Boolean force)
If
true , allows you to delete a service even if it wasn't scaled down to zero tasks. |
void |
setService(String service)
The name of the service to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteServiceRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete.
|
DeleteServiceRequest |
withForce(Boolean force)
If
true , allows you to delete a service even if it wasn't scaled down to zero tasks. |
DeleteServiceRequest |
withService(String service)
The name of the service 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 setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you
do not specify a cluster, the default cluster is assumed.public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed.
public DeleteServiceRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you
do not specify a cluster, the default cluster is assumed.public void setService(String service)
The name of the service to delete.
service
- The name of the service to delete.public String getService()
The name of the service to delete.
public DeleteServiceRequest withService(String service)
The name of the service to delete.
service
- The name of the service to delete.public void setForce(Boolean force)
If true
, allows you to delete a service even if it wasn't scaled down to zero tasks. It's only
necessary to use this if the service uses the REPLICA
scheduling strategy.
force
- If true
, allows you to delete a service even if it wasn't scaled down to zero tasks. It's
only necessary to use this if the service uses the REPLICA
scheduling strategy.public Boolean getForce()
If true
, allows you to delete a service even if it wasn't scaled down to zero tasks. It's only
necessary to use this if the service uses the REPLICA
scheduling strategy.
true
, allows you to delete a service even if it wasn't scaled down to zero tasks. It's
only necessary to use this if the service uses the REPLICA
scheduling strategy.public DeleteServiceRequest withForce(Boolean force)
If true
, allows you to delete a service even if it wasn't scaled down to zero tasks. It's only
necessary to use this if the service uses the REPLICA
scheduling strategy.
force
- If true
, allows you to delete a service even if it wasn't scaled down to zero tasks. It's
only necessary to use this if the service uses the REPLICA
scheduling strategy.public Boolean isForce()
If true
, allows you to delete a service even if it wasn't scaled down to zero tasks. It's only
necessary to use this if the service uses the REPLICA
scheduling strategy.
true
, allows you to delete a service even if it wasn't scaled down to zero tasks. It's
only necessary to use this if the service uses the REPLICA
scheduling strategy.public String toString()
toString
in class Object
Object.toString()
public DeleteServiceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()