public static interface Workforce.Builder extends SdkPojo, CopyableBuilder<Workforce.Builder,Workforce>
Modifier and Type | Method and Description |
---|---|
Workforce.Builder |
lastUpdatedDate(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.
|
default Workforce.Builder |
sourceIpConfig(Consumer<SourceIpConfig.Builder> sourceIpConfig)
A list of one to four IP address ranges (CIDRs) to be added to the
workforce allow list.
|
Workforce.Builder |
sourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to four IP address ranges (CIDRs) to be added to the
workforce allow list.
|
Workforce.Builder |
workforceArn(String workforceArn)
The Amazon Resource Name (ARN) of the private workforce.
|
Workforce.Builder |
workforceName(String workforceName)
The name of the private workforce whose access you want to restrict.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Workforce.Builder workforceName(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
- 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.Workforce.Builder workforceArn(String workforceArn)
The Amazon Resource Name (ARN) of the private workforce.
workforceArn
- The Amazon Resource Name (ARN) of the private workforce.Workforce.Builder lastUpdatedDate(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.
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.Builder sourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to four IP address ranges (CIDRs) to be added to the workforce allow list.
sourceIpConfig
- A list of one to four IP address ranges (CIDRs) to be added to the
workforce allow list.default Workforce.Builder sourceIpConfig(Consumer<SourceIpConfig.Builder> sourceIpConfig)
A list of one to four IP address ranges (CIDRs) to be added to the workforce allow list.
This is a convenience that creates an instance of theSourceIpConfig.Builder
avoiding the need to
create one manually via SourceIpConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to sourceIpConfig(SourceIpConfig)
.sourceIpConfig
- a consumer that will call methods on SourceIpConfig.Builder
sourceIpConfig(SourceIpConfig)
Copyright © 2020. All rights reserved.