@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Workforce extends Object implements Serializable, Cloneable, StructuredPojo
A single private workforce, which is automatically created when you create your first private work team. You can create one private work force in each AWS Region. By default, any workforce-related API operation used in a specific region will apply to the workforce created in that region. To learn how to create a private workforce, see Create a Private Workforce.
Constructor and Description |
---|
Workforce() |
Modifier and Type | Method and Description |
---|---|
Workforce |
clone() |
boolean |
equals(Object obj) |
Date |
getLastUpdatedDate()
The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's
allow list.
|
SourceIpConfig |
getSourceIpConfig()
A list of one to four IP address ranges (CIDRs) to be added to the workforce
allow list.
|
String |
getWorkforceArn()
The Amazon Resource Name (ARN) of the private workforce.
|
String |
getWorkforceName()
The name of the private workforce whose access you want to restrict.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLastUpdatedDate(Date lastUpdatedDate)
The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's
allow list.
|
void |
setSourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to four IP address ranges (CIDRs) to be added to the workforce
allow list.
|
void |
setWorkforceArn(String workforceArn)
The Amazon Resource Name (ARN) of the private 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.
|
Workforce |
withLastUpdatedDate(Date lastUpdatedDate)
The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's
allow list.
|
Workforce |
withSourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to four IP address ranges (CIDRs) to be added to the workforce
allow list.
|
Workforce |
withWorkforceArn(String workforceArn)
The Amazon Resource Name (ARN) of the private workforce.
|
Workforce |
withWorkforceName(String workforceName)
The name of the private workforce whose access you want to restrict.
|
public 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 Workforce 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 setWorkforceArn(String workforceArn)
The Amazon Resource Name (ARN) of the private workforce.
workforceArn
- The Amazon Resource Name (ARN) of the private workforce.public String getWorkforceArn()
The Amazon Resource Name (ARN) of the private workforce.
public Workforce withWorkforceArn(String workforceArn)
The Amazon Resource Name (ARN) of the private workforce.
workforceArn
- The Amazon Resource Name (ARN) of the private workforce.public void setLastUpdatedDate(Date lastUpdatedDate)
The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's allow list.
lastUpdatedDate
- The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private
workforce's allow list.public Date getLastUpdatedDate()
The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's allow list.
public Workforce withLastUpdatedDate(Date lastUpdatedDate)
The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's allow list.
lastUpdatedDate
- The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private
workforce's allow list.public void setSourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to four IP address ranges (CIDRs) to be added to the workforce allow list.
sourceIpConfig
- A list of one to four IP address ranges (CIDRs) to be added to the
workforce allow list.public SourceIpConfig getSourceIpConfig()
A list of one to four IP address ranges (CIDRs) to be added to the workforce allow list.
public Workforce withSourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to four IP address ranges (CIDRs) to be added to the workforce allow list.
sourceIpConfig
- A list of one to four IP address ranges (CIDRs) to be added to the
workforce allow list.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.