Class Workforce
- All Implemented Interfaces:
Serializable,SdkPojo,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 Amazon Web Services 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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Workforce.Builderbuilder()final CognitoConfigThe configuration of an Amazon Cognito workforce.final InstantThe date that the workforce is created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe reason your workforce failed.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe most recent date that UpdateWorkforce was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's allow list.final OidcConfigForResponseThe configuration of an OIDC Identity Provider (IdP) private workforce.static Class<? extends Workforce.Builder> final SourceIpConfigA list of one to ten IP address ranges (CIDRs) to be added to the workforce allow list.final WorkforceStatusstatus()The status of your workforce.final StringThe status of your workforce.final StringThe subdomain for your OIDC Identity Provider.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe Amazon Resource Name (ARN) of the private workforce.final StringThe name of the private workforce.The configuration of a VPC workforce.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
workforceName
The name of the private workforce.
- Returns:
- The name of the private workforce.
-
workforceArn
The Amazon Resource Name (ARN) of the private workforce.
- Returns:
- The Amazon Resource Name (ARN) of the private workforce.
-
lastUpdatedDate
The most recent date that UpdateWorkforce was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's allow list.
- Returns:
- The most recent date that UpdateWorkforce was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's allow list.
-
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.
- Returns:
- 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.
-
subDomain
The subdomain for your OIDC Identity Provider.
- Returns:
- The subdomain for your OIDC Identity Provider.
-
cognitoConfig
The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
- Returns:
- The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
-
oidcConfig
The configuration of an OIDC Identity Provider (IdP) private workforce.
- Returns:
- The configuration of an OIDC Identity Provider (IdP) private workforce.
-
createDate
The date that the workforce is created.
- Returns:
- The date that the workforce is created.
-
workforceVpcConfig
The configuration of a VPC workforce.
- Returns:
- The configuration of a VPC workforce.
-
status
The status of your workforce.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnWorkforceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of your workforce.
- See Also:
-
statusAsString
The status of your workforce.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnWorkforceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of your workforce.
- See Also:
-
failureReason
The reason your workforce failed.
- Returns:
- The reason your workforce failed.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Workforce.Builder,Workforce> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-