@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateWorkforceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateWorkforceRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateWorkforceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
SourceIpConfig |
getSourceIpConfig()
A list of one to four worker IP address ranges (CIDRs) that can be used to access
tasks assigned to this workforce.
|
String |
getWorkforceName()
The name of the private workforce whose access you want to restrict.
|
int |
hashCode() |
void |
setSourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to four worker IP address ranges (CIDRs) that can be used to access
tasks assigned to this workforce.
|
void |
setWorkforceName(String workforceName)
The name of the private workforce whose access you want to restrict.
|
String |
toString()
Returns a string representation of this object.
|
UpdateWorkforceRequest |
withSourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to four worker IP address ranges (CIDRs) that can be used to access
tasks assigned to this workforce.
|
UpdateWorkforceRequest |
withWorkforceName(String workforceName)
The name of the private workforce whose access you want to restrict.
|
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, withSdkRequestTimeoutpublic void setWorkforceName(String workforceName)
The name of the private workforce whose access you want to restrict. WorkforceName is automatically
set to default when a workforce is created and cannot be modified.
workforceName - The name of the private workforce whose access you want to restrict. WorkforceName is
automatically set to default when a workforce is created and cannot be modified.public String getWorkforceName()
The name of the private workforce whose access you want to restrict. WorkforceName is automatically
set to default when a workforce is created and cannot be modified.
WorkforceName is
automatically set to default when a workforce is created and cannot be modified.public UpdateWorkforceRequest withWorkforceName(String workforceName)
The name of the private workforce whose access you want to restrict. WorkforceName is automatically
set to default when a workforce is created and cannot be modified.
workforceName - The name of the private workforce whose access you want to restrict. WorkforceName is
automatically set to default when a workforce is created and cannot be modified.public void setSourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to four worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.
Maximum: Four CIDR values
sourceIpConfig - A list of one to four worker IP address ranges (CIDRs) that can be used to
access tasks assigned to this workforce.
Maximum: Four CIDR values
public SourceIpConfig getSourceIpConfig()
A list of one to four worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.
Maximum: Four CIDR values
Maximum: Four CIDR values
public UpdateWorkforceRequest withSourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to four worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.
Maximum: Four CIDR values
sourceIpConfig - A list of one to four worker IP address ranges (CIDRs) that can be used to
access tasks assigned to this workforce.
Maximum: Four CIDR values
public String toString()
toString in class ObjectObject.toString()public UpdateWorkforceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.