@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()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
String |
getCustomizationType()
The customization type.
|
String |
getCustomModelKmsKeyId()
The custom model is encrypted at rest using this key.
|
String |
getCustomModelName()
A name for the resulting custom model.
|
List<Tag> |
getCustomModelTags()
Tags to attach to the resulting custom model.
|
Map<String,String> |
getHyperParameters()
Parameters related to tuning the model.
|
String |
getJobName()
A name for the fine-tuning job.
|
List<Tag> |
getJobTags()
Tags to attach to the job.
|
OutputDataConfig |
getOutputDataConfig()
S3 location for the output data.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM service 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)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
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)
A name for the resulting custom model.
|
void |
setCustomModelTags(Collection<Tag> customModelTags)
Tags to attach to the resulting custom model.
|
void |
setHyperParameters(Map<String,String> hyperParameters)
Parameters related to tuning the model.
|
void |
setJobName(String jobName)
A name for the fine-tuning job.
|
void |
setJobTags(Collection<Tag> jobTags)
Tags to attach 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 service 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)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
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)
A name for the resulting custom model.
|
CreateModelCustomizationJobRequest |
withCustomModelTags(Collection<Tag> customModelTags)
Tags to attach to the resulting custom model.
|
CreateModelCustomizationJobRequest |
withCustomModelTags(Tag... customModelTags)
Tags to attach to the resulting custom model.
|
CreateModelCustomizationJobRequest |
withHyperParameters(Map<String,String> hyperParameters)
Parameters related to tuning the model.
|
CreateModelCustomizationJobRequest |
withJobName(String jobName)
A name for the fine-tuning job.
|
CreateModelCustomizationJobRequest |
withJobTags(Collection<Tag> jobTags)
Tags to attach to the job.
|
CreateModelCustomizationJobRequest |
withJobTags(Tag... jobTags)
Tags to attach 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 service 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)
A name for the fine-tuning job.
jobName
- A name for the fine-tuning job.public String getJobName()
A name for the fine-tuning job.
public CreateModelCustomizationJobRequest withJobName(String jobName)
A name for the fine-tuning job.
jobName
- A name for the fine-tuning job.public void setCustomModelName(String customModelName)
A name for the resulting custom model.
customModelName
- A name for the resulting custom model.public String getCustomModelName()
A name for the resulting custom model.
public CreateModelCustomizationJobRequest withCustomModelName(String customModelName)
A name for the resulting custom model.
customModelName
- A name for the resulting custom model.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM service 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 service 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 service 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 service 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 service 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)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientRequestToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.public String getClientRequestToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
public CreateModelCustomizationJobRequest withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientRequestToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.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 List<Tag> getJobTags()
Tags to attach to the job.
public void setJobTags(Collection<Tag> jobTags)
Tags to attach to the job.
jobTags
- Tags to attach to the job.public CreateModelCustomizationJobRequest withJobTags(Tag... jobTags)
Tags to attach 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
- Tags to attach to the job.public CreateModelCustomizationJobRequest withJobTags(Collection<Tag> jobTags)
Tags to attach to the job.
jobTags
- Tags to attach to the job.public List<Tag> getCustomModelTags()
Tags to attach to the resulting custom model.
public void setCustomModelTags(Collection<Tag> customModelTags)
Tags to attach to the resulting custom model.
customModelTags
- Tags to attach to the resulting custom model.public CreateModelCustomizationJobRequest withCustomModelTags(Tag... customModelTags)
Tags to attach to the resulting 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
- Tags to attach to the resulting custom model.public CreateModelCustomizationJobRequest withCustomModelTags(Collection<Tag> customModelTags)
Tags to attach to the resulting custom model.
customModelTags
- Tags to attach to the resulting 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. For details on the format for different models, see Custom model hyperparameters.
public void setHyperParameters(Map<String,String> hyperParameters)
Parameters related to tuning the model. For details on the format for different models, see Custom model hyperparameters.
hyperParameters
- Parameters related to tuning the model. For details on the format for different models, see Custom model
hyperparameters.public CreateModelCustomizationJobRequest withHyperParameters(Map<String,String> hyperParameters)
Parameters related to tuning the model. For details on the format for different models, see Custom model hyperparameters.
hyperParameters
- Parameters related to tuning the model. For details on the format for different models, see Custom model
hyperparameters.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()