@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) |
CognitoConfig |
getCognitoConfig()
The configuration of an Amazon Cognito workforce.
|
Date |
getCreateDate()
The date that the workforce is created.
|
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.
|
OidcConfigForResponse |
getOidcConfig()
The configuration of an OIDC Identity Provider (IdP) private workforce.
|
SourceIpConfig |
getSourceIpConfig()
A list of one to ten IP address ranges (CIDRs) to be added to the workforce
allow list.
|
String |
getSubDomain()
The subdomain for your OIDC Identity Provider.
|
String |
getWorkforceArn()
The Amazon Resource Name (ARN) of the private workforce.
|
String |
getWorkforceName()
The name of the private workforce.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCognitoConfig(CognitoConfig cognitoConfig)
The configuration of an Amazon Cognito workforce.
|
void |
setCreateDate(Date createDate)
The date that the workforce is created.
|
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 |
setOidcConfig(OidcConfigForResponse oidcConfig)
The configuration of an OIDC Identity Provider (IdP) private workforce.
|
void |
setSourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to ten IP address ranges (CIDRs) to be added to the workforce
allow list.
|
void |
setSubDomain(String subDomain)
The subdomain for your OIDC Identity Provider.
|
void |
setWorkforceArn(String workforceArn)
The Amazon Resource Name (ARN) of the private workforce.
|
void |
setWorkforceName(String workforceName)
The name of the private workforce.
|
String |
toString()
Returns a string representation of this object.
|
Workforce |
withCognitoConfig(CognitoConfig cognitoConfig)
The configuration of an Amazon Cognito workforce.
|
Workforce |
withCreateDate(Date createDate)
The date that the workforce is created.
|
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 |
withOidcConfig(OidcConfigForResponse oidcConfig)
The configuration of an OIDC Identity Provider (IdP) private workforce.
|
Workforce |
withSourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to ten IP address ranges (CIDRs) to be added to the workforce
allow list.
|
Workforce |
withSubDomain(String subDomain)
The subdomain for your OIDC Identity Provider.
|
Workforce |
withWorkforceArn(String workforceArn)
The Amazon Resource Name (ARN) of the private workforce.
|
Workforce |
withWorkforceName(String workforceName)
The name of the private workforce.
|
public void setWorkforceName(String workforceName)
The name of the private workforce.
workforceName
- The name of the private workforce.public String getWorkforceName()
The name of the private workforce.
public Workforce withWorkforceName(String workforceName)
The name of the private workforce.
workforceName
- The name of the private workforce.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 ten IP address ranges (CIDRs) to be added to the workforce allow list. By default, a workforce isn't restricted to specific IP addresses.
sourceIpConfig
- A list of one to ten IP address ranges (CIDRs) to be added to the
workforce allow list. By default, a workforce isn't restricted to specific IP addresses.public SourceIpConfig getSourceIpConfig()
A list of one to ten IP address ranges (CIDRs) to be added to the workforce allow list. By default, a workforce isn't restricted to specific IP addresses.
public Workforce withSourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to ten IP address ranges (CIDRs) to be added to the workforce allow list. By default, a workforce isn't restricted to specific IP addresses.
sourceIpConfig
- A list of one to ten IP address ranges (CIDRs) to be added to the
workforce allow list. By default, a workforce isn't restricted to specific IP addresses.public void setSubDomain(String subDomain)
The subdomain for your OIDC Identity Provider.
subDomain
- The subdomain for your OIDC Identity Provider.public String getSubDomain()
The subdomain for your OIDC Identity Provider.
public Workforce withSubDomain(String subDomain)
The subdomain for your OIDC Identity Provider.
subDomain
- The subdomain for your OIDC Identity Provider.public void setCognitoConfig(CognitoConfig cognitoConfig)
The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
cognitoConfig
- The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and
corresponds to a single Amazon
Cognito user pool.public CognitoConfig getCognitoConfig()
The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
public Workforce withCognitoConfig(CognitoConfig cognitoConfig)
The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
cognitoConfig
- The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and
corresponds to a single Amazon
Cognito user pool.public void setOidcConfig(OidcConfigForResponse oidcConfig)
The configuration of an OIDC Identity Provider (IdP) private workforce.
oidcConfig
- The configuration of an OIDC Identity Provider (IdP) private workforce.public OidcConfigForResponse getOidcConfig()
The configuration of an OIDC Identity Provider (IdP) private workforce.
public Workforce withOidcConfig(OidcConfigForResponse oidcConfig)
The configuration of an OIDC Identity Provider (IdP) private workforce.
oidcConfig
- The configuration of an OIDC Identity Provider (IdP) private workforce.public void setCreateDate(Date createDate)
The date that the workforce is created.
createDate
- The date that the workforce is created.public Date getCreateDate()
The date that the workforce is created.
public Workforce withCreateDate(Date createDate)
The date that the workforce is created.
createDate
- The date that the workforce is created.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.