@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteAgentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteAgentRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteAgentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAgentId()
The unique identifier of the agent to delete.
|
Boolean |
getSkipResourceInUseCheck()
By default, this value is
false and deletion is stopped if the resource is in use. |
int |
hashCode() |
Boolean |
isSkipResourceInUseCheck()
By default, this value is
false and deletion is stopped if the resource is in use. |
void |
setAgentId(String agentId)
The unique identifier of the agent to delete.
|
void |
setSkipResourceInUseCheck(Boolean skipResourceInUseCheck)
By default, this value is
false and deletion is stopped if the resource is in use. |
String |
toString()
Returns a string representation of this object.
|
DeleteAgentRequest |
withAgentId(String agentId)
The unique identifier of the agent to delete.
|
DeleteAgentRequest |
withSkipResourceInUseCheck(Boolean skipResourceInUseCheck)
By default, this value is
false and deletion is stopped if the resource is in use. |
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 setAgentId(String agentId)
The unique identifier of the agent to delete.
agentId
- The unique identifier of the agent to delete.public String getAgentId()
The unique identifier of the agent to delete.
public DeleteAgentRequest withAgentId(String agentId)
The unique identifier of the agent to delete.
agentId
- The unique identifier of the agent to delete.public void setSkipResourceInUseCheck(Boolean skipResourceInUseCheck)
By default, this value is false
and deletion is stopped if the resource is in use. If you set it to
true
, the resource will be deleted even if the resource is in use.
skipResourceInUseCheck
- By default, this value is false
and deletion is stopped if the resource is in use. If you set
it to true
, the resource will be deleted even if the resource is in use.public Boolean getSkipResourceInUseCheck()
By default, this value is false
and deletion is stopped if the resource is in use. If you set it to
true
, the resource will be deleted even if the resource is in use.
false
and deletion is stopped if the resource is in use. If you
set it to true
, the resource will be deleted even if the resource is in use.public DeleteAgentRequest withSkipResourceInUseCheck(Boolean skipResourceInUseCheck)
By default, this value is false
and deletion is stopped if the resource is in use. If you set it to
true
, the resource will be deleted even if the resource is in use.
skipResourceInUseCheck
- By default, this value is false
and deletion is stopped if the resource is in use. If you set
it to true
, the resource will be deleted even if the resource is in use.public Boolean isSkipResourceInUseCheck()
By default, this value is false
and deletion is stopped if the resource is in use. If you set it to
true
, the resource will be deleted even if the resource is in use.
false
and deletion is stopped if the resource is in use. If you
set it to true
, the resource will be deleted even if the resource is in use.public String toString()
toString
in class Object
Object.toString()
public DeleteAgentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()