@Generated(value="software.amazon.awssdk:codegen") public final class CreateModelCustomizationJobRequest extends BedrockRequest implements ToCopyableBuilder<CreateModelCustomizationJobRequest.Builder,CreateModelCustomizationJobRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateModelCustomizationJobRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
baseModelIdentifier()
Name of the base model.
|
static CreateModelCustomizationJobRequest.Builder |
builder() |
String |
clientRequestToken()
Unique token value that you can provide.
|
String |
customModelKmsKeyId()
The custom model is encrypted at rest using this key.
|
String |
customModelName()
Enter a name for the custom model.
|
List<Tag> |
customModelTags()
Assign tags to the custom model.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCustomModelTags()
For responses, this returns true if the service returned a value for the CustomModelTags property.
|
int |
hashCode() |
boolean |
hasHyperParameters()
For responses, this returns true if the service returned a value for the HyperParameters property.
|
boolean |
hasJobTags()
For responses, this returns true if the service returned a value for the JobTags property.
|
Map<String,String> |
hyperParameters()
Parameters related to tuning the model.
|
String |
jobName()
Enter a unique name for the fine-tuning job.
|
List<Tag> |
jobTags()
Assign tags to the job.
|
OutputDataConfig |
outputDataConfig()
S3 location for the output data.
|
String |
roleArn()
The Amazon Resource Name (ARN) of an IAM role that Bedrock can assume to perform tasks on your behalf.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateModelCustomizationJobRequest.Builder> |
serializableBuilderClass() |
CreateModelCustomizationJobRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TrainingDataConfig |
trainingDataConfig()
Information about the training dataset.
|
ValidationDataConfig |
validationDataConfig()
Information about the validation dataset.
|
VpcConfig |
vpcConfig()
VPC configuration (optional).
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String jobName()
Enter a unique name for the fine-tuning job.
public final String customModelName()
Enter a name for the custom model.
public final String roleArn()
The Amazon Resource Name (ARN) of an IAM role that Bedrock can assume to perform tasks on your behalf. For
example, during model training, Bedrock needs your permission to read input data from an S3 bucket, write model
artifacts to an S3 bucket. To pass this role to Bedrock, the caller of this API must have the
iam:PassRole permission.
iam:PassRole permission.public final String clientRequestToken()
Unique token value that you can provide. The GetModelCustomizationJob response includes the same token value.
public final String baseModelIdentifier()
Name of the base model.
public final String customModelKmsKeyId()
The custom model is encrypted at rest using this key.
public final boolean hasJobTags()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Tag> jobTags()
Assign tags to the job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasJobTags() method.
public final boolean hasCustomModelTags()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Tag> customModelTags()
Assign tags to the custom model.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCustomModelTags() method.
public final TrainingDataConfig trainingDataConfig()
Information about the training dataset.
public final ValidationDataConfig validationDataConfig()
Information about the validation dataset.
public final OutputDataConfig outputDataConfig()
S3 location for the output data.
public final boolean hasHyperParameters()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> hyperParameters()
Parameters related to tuning the model.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasHyperParameters() method.
public final VpcConfig vpcConfig()
VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this job.
public CreateModelCustomizationJobRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateModelCustomizationJobRequest.Builder,CreateModelCustomizationJobRequest>toBuilder in class BedrockRequestpublic static CreateModelCustomizationJobRequest.Builder builder()
public static Class<? extends CreateModelCustomizationJobRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.