@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateWorkerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
The unique token which the server uses to recognize retries of the same request.
|
String |
getFarmId()
The farm ID of the farm to connect to the worker.
|
String |
getFleetId()
The fleet ID to connect to the worker.
|
HostPropertiesRequest |
getHostProperties()
The IP address and host name of the worker.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
|
void |
setFarmId(String farmId)
The farm ID of the farm to connect to the worker.
|
void |
setFleetId(String fleetId)
The fleet ID to connect to the worker.
|
void |
setHostProperties(HostPropertiesRequest hostProperties)
The IP address and host name of the worker.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkerRequest |
withClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
|
CreateWorkerRequest |
withFarmId(String farmId)
The farm ID of the farm to connect to the worker.
|
CreateWorkerRequest |
withFleetId(String fleetId)
The fleet ID to connect to the worker.
|
CreateWorkerRequest |
withHostProperties(HostPropertiesRequest hostProperties)
The IP address and host name of the worker.
|
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 setClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
clientToken
- The unique token which the server uses to recognize retries of the same request.public String getClientToken()
The unique token which the server uses to recognize retries of the same request.
public CreateWorkerRequest withClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
clientToken
- The unique token which the server uses to recognize retries of the same request.public void setFarmId(String farmId)
The farm ID of the farm to connect to the worker.
farmId
- The farm ID of the farm to connect to the worker.public String getFarmId()
The farm ID of the farm to connect to the worker.
public CreateWorkerRequest withFarmId(String farmId)
The farm ID of the farm to connect to the worker.
farmId
- The farm ID of the farm to connect to the worker.public void setFleetId(String fleetId)
The fleet ID to connect to the worker.
fleetId
- The fleet ID to connect to the worker.public String getFleetId()
The fleet ID to connect to the worker.
public CreateWorkerRequest withFleetId(String fleetId)
The fleet ID to connect to the worker.
fleetId
- The fleet ID to connect to the worker.public void setHostProperties(HostPropertiesRequest hostProperties)
The IP address and host name of the worker.
hostProperties
- The IP address and host name of the worker.public HostPropertiesRequest getHostProperties()
The IP address and host name of the worker.
public CreateWorkerRequest withHostProperties(HostPropertiesRequest hostProperties)
The IP address and host name of the worker.
hostProperties
- The IP address and host name of the worker.public String toString()
toString
in class Object
Object.toString()
public CreateWorkerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()