Class UpdateWorkforceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sagemaker.model.SageMakerRequest
-
- software.amazon.awssdk.services.sagemaker.model.UpdateWorkforceRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<UpdateWorkforceRequest.Builder,UpdateWorkforceRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateWorkforceRequest extends SageMakerRequest implements ToCopyableBuilder<UpdateWorkforceRequest.Builder,UpdateWorkforceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UpdateWorkforceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateWorkforceRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
OidcConfig
oidcConfig()
Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.List<SdkField<?>>
sdkFields()
static Class<? extends UpdateWorkforceRequest.Builder>
serializableBuilderClass()
SourceIpConfig
sourceIpConfig()
A list of one to ten worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.UpdateWorkforceRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
workforceName()
The name of the private workforce that you want to update.WorkforceVpcConfigRequest
workforceVpcConfig()
Use this parameter to update your VPC configuration for a workforce.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
workforceName
public final String workforceName()
The name of the private workforce that you want to update. You can find your workforce name by using the ListWorkforces operation.
- Returns:
- The name of the private workforce that you want to update. You can find your workforce name by using the ListWorkforces operation.
-
sourceIpConfig
public final SourceIpConfig sourceIpConfig()
A list of one to ten worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.
Maximum: Ten CIDR values
- Returns:
- A list of one to ten worker IP address ranges (CIDRs) that can be used to
access tasks assigned to this workforce.
Maximum: Ten CIDR values
-
oidcConfig
public final OidcConfig oidcConfig()
Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.
- Returns:
- Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.
-
workforceVpcConfig
public final WorkforceVpcConfigRequest workforceVpcConfig()
Use this parameter to update your VPC configuration for a workforce.
- Returns:
- Use this parameter to update your VPC configuration for a workforce.
-
toBuilder
public UpdateWorkforceRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateWorkforceRequest.Builder,UpdateWorkforceRequest>
- Specified by:
toBuilder
in classSageMakerRequest
-
builder
public static UpdateWorkforceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateWorkforceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-