@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() |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Workforce.Builder> |
serializableBuilderClass() |
SourceIpConfig |
sourceIpConfig()
A list of one to four IP address ranges (CIDRs) to be added to the workforce
allow list.
|
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 whose access you want to restrict.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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
is
automatically set to default
when a workforce is created and cannot be modified.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 four IP address ranges (CIDRs) to be added to the workforce allow list.
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 SdkPojo
public String toString()
Copyright © 2020. All rights reserved.