@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateModelCustomizationJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateModelCustomizationJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateModelCustomizationJobRequest |
addHyperParametersEntry(String key,
String value)
Add a single HyperParameters entry
|
CreateModelCustomizationJobRequest |
clearHyperParametersEntries()
Removes all the entries added into HyperParameters.
|
CreateModelCustomizationJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBaseModelIdentifier()
Name of the base model.
|
String |
getClientRequestToken()
Unique token value that you can provide.
|
String |
getCustomizationType()
The customization type.
|
String |
getCustomModelKmsKeyId()
The custom model is encrypted at rest using this key.
|
String |
getCustomModelName()
Enter a name for the custom model.
|
List<Tag> |
getCustomModelTags()
Assign tags to the custom model.
|
Map<String,String> |
getHyperParameters()
Parameters related to tuning the model.
|
String |
getJobName()
Enter a unique name for the fine-tuning job.
|
List<Tag> |
getJobTags()
Assign tags to the job.
|
OutputDataConfig |
getOutputDataConfig()
S3 location for the output data.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that Amazon Bedrock can assume to perform tasks on your behalf.
|
TrainingDataConfig |
getTrainingDataConfig()
Information about the training dataset.
|
ValidationDataConfig |
getValidationDataConfig()
Information about the validation dataset.
|
VpcConfig |
getVpcConfig()
VPC configuration (optional).
|
int |
hashCode() |
void |
setBaseModelIdentifier(String baseModelIdentifier)
Name of the base model.
|
void |
setClientRequestToken(String clientRequestToken)
Unique token value that you can provide.
|
void |
setCustomizationType(String customizationType)
The customization type.
|
void |
setCustomModelKmsKeyId(String customModelKmsKeyId)
The custom model is encrypted at rest using this key.
|
void |
setCustomModelName(String customModelName)
Enter a name for the custom model.
|
void |
setCustomModelTags(Collection<Tag> customModelTags)
Assign tags to the custom model.
|
void |
setHyperParameters(Map<String,String> hyperParameters)
Parameters related to tuning the model.
|
void |
setJobName(String jobName)
Enter a unique name for the fine-tuning job.
|
void |
setJobTags(Collection<Tag> jobTags)
Assign tags to the job.
|
void |
setOutputDataConfig(OutputDataConfig outputDataConfig)
S3 location for the output data.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that Amazon Bedrock can assume to perform tasks on your behalf.
|
void |
setTrainingDataConfig(TrainingDataConfig trainingDataConfig)
Information about the training dataset.
|
void |
setValidationDataConfig(ValidationDataConfig validationDataConfig)
Information about the validation dataset.
|
void |
setVpcConfig(VpcConfig vpcConfig)
VPC configuration (optional).
|
String |
toString()
Returns a string representation of this object.
|
CreateModelCustomizationJobRequest |
withBaseModelIdentifier(String baseModelIdentifier)
Name of the base model.
|
CreateModelCustomizationJobRequest |
withClientRequestToken(String clientRequestToken)
Unique token value that you can provide.
|
CreateModelCustomizationJobRequest |
withCustomizationType(CustomizationType customizationType)
The customization type.
|
CreateModelCustomizationJobRequest |
withCustomizationType(String customizationType)
The customization type.
|
CreateModelCustomizationJobRequest |
withCustomModelKmsKeyId(String customModelKmsKeyId)
The custom model is encrypted at rest using this key.
|
CreateModelCustomizationJobRequest |
withCustomModelName(String customModelName)
Enter a name for the custom model.
|
CreateModelCustomizationJobRequest |
withCustomModelTags(Collection<Tag> customModelTags)
Assign tags to the custom model.
|
CreateModelCustomizationJobRequest |
withCustomModelTags(Tag... customModelTags)
Assign tags to the custom model.
|
CreateModelCustomizationJobRequest |
withHyperParameters(Map<String,String> hyperParameters)
Parameters related to tuning the model.
|
CreateModelCustomizationJobRequest |
withJobName(String jobName)
Enter a unique name for the fine-tuning job.
|
CreateModelCustomizationJobRequest |
withJobTags(Collection<Tag> jobTags)
Assign tags to the job.
|
CreateModelCustomizationJobRequest |
withJobTags(Tag... jobTags)
Assign tags to the job.
|
CreateModelCustomizationJobRequest |
withOutputDataConfig(OutputDataConfig outputDataConfig)
S3 location for the output data.
|
CreateModelCustomizationJobRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that Amazon Bedrock can assume to perform tasks on your behalf.
|
CreateModelCustomizationJobRequest |
withTrainingDataConfig(TrainingDataConfig trainingDataConfig)
Information about the training dataset.
|
CreateModelCustomizationJobRequest |
withValidationDataConfig(ValidationDataConfig validationDataConfig)
Information about the validation dataset.
|
CreateModelCustomizationJobRequest |
withVpcConfig(VpcConfig vpcConfig)
VPC configuration (optional).
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setJobName(String jobName)
Enter a unique name for the fine-tuning job.
jobName
- Enter a unique name for the fine-tuning job.public String getJobName()
Enter a unique name for the fine-tuning job.
public CreateModelCustomizationJobRequest withJobName(String jobName)
Enter a unique name for the fine-tuning job.
jobName
- Enter a unique name for the fine-tuning job.public void setCustomModelName(String customModelName)
Enter a name for the custom model.
customModelName
- Enter a name for the custom model.public String getCustomModelName()
Enter a name for the custom model.
public CreateModelCustomizationJobRequest withCustomModelName(String customModelName)
Enter a name for the custom model.
customModelName
- Enter a name for the custom model.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that Amazon Bedrock can assume to perform tasks on your behalf. For
example, during model training, Amazon Bedrock needs your permission to read input data from an S3 bucket, write
model artifacts to an S3 bucket. To pass this role to Amazon Bedrock, the caller of this API must have the
iam:PassRole
permission.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that Amazon Bedrock can assume to perform tasks on your
behalf. For example, during model training, Amazon Bedrock needs your permission to read input data from
an S3 bucket, write model artifacts to an S3 bucket. To pass this role to Amazon Bedrock, the caller of
this API must have the iam:PassRole
permission.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that Amazon Bedrock can assume to perform tasks on your behalf. For
example, during model training, Amazon Bedrock needs your permission to read input data from an S3 bucket, write
model artifacts to an S3 bucket. To pass this role to Amazon Bedrock, the caller of this API must have the
iam:PassRole
permission.
iam:PassRole
permission.public CreateModelCustomizationJobRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that Amazon Bedrock can assume to perform tasks on your behalf. For
example, during model training, Amazon Bedrock needs your permission to read input data from an S3 bucket, write
model artifacts to an S3 bucket. To pass this role to Amazon Bedrock, the caller of this API must have the
iam:PassRole
permission.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that Amazon Bedrock can assume to perform tasks on your
behalf. For example, during model training, Amazon Bedrock needs your permission to read input data from
an S3 bucket, write model artifacts to an S3 bucket. To pass this role to Amazon Bedrock, the caller of
this API must have the iam:PassRole
permission.public void setClientRequestToken(String clientRequestToken)
Unique token value that you can provide. The GetModelCustomizationJob response includes the same token value.
clientRequestToken
- Unique token value that you can provide. The GetModelCustomizationJob response includes the same token
value.public String getClientRequestToken()
Unique token value that you can provide. The GetModelCustomizationJob response includes the same token value.
public CreateModelCustomizationJobRequest withClientRequestToken(String clientRequestToken)
Unique token value that you can provide. The GetModelCustomizationJob response includes the same token value.
clientRequestToken
- Unique token value that you can provide. The GetModelCustomizationJob response includes the same token
value.public void setBaseModelIdentifier(String baseModelIdentifier)
Name of the base model.
baseModelIdentifier
- Name of the base model.public String getBaseModelIdentifier()
Name of the base model.
public CreateModelCustomizationJobRequest withBaseModelIdentifier(String baseModelIdentifier)
Name of the base model.
baseModelIdentifier
- Name of the base model.public void setCustomizationType(String customizationType)
The customization type.
customizationType
- The customization type.CustomizationType
public String getCustomizationType()
The customization type.
CustomizationType
public CreateModelCustomizationJobRequest withCustomizationType(String customizationType)
The customization type.
customizationType
- The customization type.CustomizationType
public CreateModelCustomizationJobRequest withCustomizationType(CustomizationType customizationType)
The customization type.
customizationType
- The customization type.CustomizationType
public void setCustomModelKmsKeyId(String customModelKmsKeyId)
The custom model is encrypted at rest using this key.
customModelKmsKeyId
- The custom model is encrypted at rest using this key.public String getCustomModelKmsKeyId()
The custom model is encrypted at rest using this key.
public CreateModelCustomizationJobRequest withCustomModelKmsKeyId(String customModelKmsKeyId)
The custom model is encrypted at rest using this key.
customModelKmsKeyId
- The custom model is encrypted at rest using this key.public void setJobTags(Collection<Tag> jobTags)
Assign tags to the job.
jobTags
- Assign tags to the job.public CreateModelCustomizationJobRequest withJobTags(Tag... jobTags)
Assign tags to the job.
NOTE: This method appends the values to the existing list (if any). Use
setJobTags(java.util.Collection)
or withJobTags(java.util.Collection)
if you want to override
the existing values.
jobTags
- Assign tags to the job.public CreateModelCustomizationJobRequest withJobTags(Collection<Tag> jobTags)
Assign tags to the job.
jobTags
- Assign tags to the job.public List<Tag> getCustomModelTags()
Assign tags to the custom model.
public void setCustomModelTags(Collection<Tag> customModelTags)
Assign tags to the custom model.
customModelTags
- Assign tags to the custom model.public CreateModelCustomizationJobRequest withCustomModelTags(Tag... customModelTags)
Assign tags to the custom model.
NOTE: This method appends the values to the existing list (if any). Use
setCustomModelTags(java.util.Collection)
or withCustomModelTags(java.util.Collection)
if you
want to override the existing values.
customModelTags
- Assign tags to the custom model.public CreateModelCustomizationJobRequest withCustomModelTags(Collection<Tag> customModelTags)
Assign tags to the custom model.
customModelTags
- Assign tags to the custom model.public void setTrainingDataConfig(TrainingDataConfig trainingDataConfig)
Information about the training dataset.
trainingDataConfig
- Information about the training dataset.public TrainingDataConfig getTrainingDataConfig()
Information about the training dataset.
public CreateModelCustomizationJobRequest withTrainingDataConfig(TrainingDataConfig trainingDataConfig)
Information about the training dataset.
trainingDataConfig
- Information about the training dataset.public void setValidationDataConfig(ValidationDataConfig validationDataConfig)
Information about the validation dataset.
validationDataConfig
- Information about the validation dataset.public ValidationDataConfig getValidationDataConfig()
Information about the validation dataset.
public CreateModelCustomizationJobRequest withValidationDataConfig(ValidationDataConfig validationDataConfig)
Information about the validation dataset.
validationDataConfig
- Information about the validation dataset.public void setOutputDataConfig(OutputDataConfig outputDataConfig)
S3 location for the output data.
outputDataConfig
- S3 location for the output data.public OutputDataConfig getOutputDataConfig()
S3 location for the output data.
public CreateModelCustomizationJobRequest withOutputDataConfig(OutputDataConfig outputDataConfig)
S3 location for the output data.
outputDataConfig
- S3 location for the output data.public Map<String,String> getHyperParameters()
Parameters related to tuning the model.
public void setHyperParameters(Map<String,String> hyperParameters)
Parameters related to tuning the model.
hyperParameters
- Parameters related to tuning the model.public CreateModelCustomizationJobRequest withHyperParameters(Map<String,String> hyperParameters)
Parameters related to tuning the model.
hyperParameters
- Parameters related to tuning the model.public CreateModelCustomizationJobRequest addHyperParametersEntry(String key, String value)
public CreateModelCustomizationJobRequest clearHyperParametersEntries()
public void setVpcConfig(VpcConfig vpcConfig)
VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this job.
vpcConfig
- VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC) that
contains the resources you are using for this job.public VpcConfig getVpcConfig()
VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this job.
public CreateModelCustomizationJobRequest withVpcConfig(VpcConfig vpcConfig)
VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this job.
vpcConfig
- VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC) that
contains the resources you are using for this job.public String toString()
toString
in class Object
Object.toString()
public CreateModelCustomizationJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()