@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
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.
|
copy
public final String workforceName()
The name of the private workforce.
public final String workforceArn()
The Amazon Resource Name (ARN) of the private workforce.
public final 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 final 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 final String subDomain()
The subdomain for your OIDC Identity Provider.
public final 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 final OidcConfigForResponse oidcConfig()
The configuration of an OIDC Identity Provider (IdP) private workforce.
public final Instant createDate()
The date that the workforce is created.
public Workforce.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Workforce.Builder,Workforce>
public static Workforce.Builder builder()
public static Class<? extends Workforce.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.