@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkerBlockRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateWorkerBlockRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkerBlockRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getReason()
A message explaining the reason for blocking the Worker.
|
String |
getWorkerId()
The ID of the Worker to block.
|
int |
hashCode() |
void |
setReason(String reason)
A message explaining the reason for blocking the Worker.
|
void |
setWorkerId(String workerId)
The ID of the Worker to block.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateWorkerBlockRequest |
withReason(String reason)
A message explaining the reason for blocking the Worker.
|
CreateWorkerBlockRequest |
withWorkerId(String workerId)
The ID of the Worker to block.
|
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 setWorkerId(String workerId)
The ID of the Worker to block.
workerId
- The ID of the Worker to block.public String getWorkerId()
The ID of the Worker to block.
public CreateWorkerBlockRequest withWorkerId(String workerId)
The ID of the Worker to block.
workerId
- The ID of the Worker to block.public void setReason(String reason)
A message explaining the reason for blocking the Worker. This parameter enables you to keep track of your Workers. The Worker does not see this message.
reason
- A message explaining the reason for blocking the Worker. This parameter enables you to keep track of your
Workers. The Worker does not see this message.public String getReason()
A message explaining the reason for blocking the Worker. This parameter enables you to keep track of your Workers. The Worker does not see this message.
public CreateWorkerBlockRequest withReason(String reason)
A message explaining the reason for blocking the Worker. This parameter enables you to keep track of your Workers. The Worker does not see this message.
reason
- A message explaining the reason for blocking the Worker. This parameter enables you to keep track of your
Workers. The Worker does not see this message.public String toString()
toString
in class Object
Object.toString()
public CreateWorkerBlockRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.