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 interfaceUpdateWorkforceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateWorkforceRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OidcConfigoidcConfig()Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateWorkforceRequest.Builder>serializableBuilderClass()SourceIpConfigsourceIpConfig()A list of one to ten worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.UpdateWorkforceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkforceName()The name of the private workforce that you want to update.WorkforceVpcConfigRequestworkforceVpcConfig()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:
toBuilderin interfaceToCopyableBuilder<UpdateWorkforceRequest.Builder,UpdateWorkforceRequest>- Specified by:
toBuilderin classSageMakerRequest
-
builder
public static UpdateWorkforceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateWorkforceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-