@Generated(value="software.amazon.awssdk:codegen") public final class Workforce extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Workforce.Builder,Workforce>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Workforce.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Workforce.Builder |
builder() |
CognitoConfig |
cognitoConfig()
The configuration of an Amazon Cognito workforce.
|
Instant |
createDate()
The date that the workforce is created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
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.
|
OidcConfigForResponse |
oidcConfig()
The configuration of an OIDC Identity Provider (IdP) private workforce.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Workforce.Builder> |
serializableBuilderClass() |
SourceIpConfig |
sourceIpConfig()
A list of one to ten IP address ranges (CIDRs) to be added to the workforce
allow list.
|
String |
subDomain()
The subdomain for your OIDC Identity Provider.
|
Workforce.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workforceArn()
The Amazon Resource Name (ARN) of the private workforce.
|
String |
workforceName()
The name of the private workforce.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String workforceName()
The name of the private workforce.
public String workforceArn()
The Amazon Resource Name (ARN) of the private workforce.
public Instant 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 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.
public String subDomain()
The subdomain for your OIDC Identity Provider.
public 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.
public OidcConfigForResponse oidcConfig()
The configuration of an OIDC Identity Provider (IdP) private workforce.
public Instant createDate()
The date that the workforce is created.
public Workforce.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Workforce.Builder,Workforce>public static Workforce.Builder builder()
public static Class<? extends Workforce.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.