@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCompilationJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCompilationJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCompilationJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCompilationJobName()
A name for the model compilation job.
|
InputConfig |
getInputConfig()
Provides information about the location of input model artifacts, the name and shape of the expected data inputs,
and the framework in which the model was trained.
|
OutputConfig |
getOutputConfig()
Provides information about the output location for the compiled model and the target device the model runs on.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IIAMAM role that enables Amazon SageMaker to perform tasks on your behalf.
|
StoppingCondition |
getStoppingCondition()
The duration allowed for model compilation.
|
int |
hashCode() |
void |
setCompilationJobName(String compilationJobName)
A name for the model compilation job.
|
void |
setInputConfig(InputConfig inputConfig)
Provides information about the location of input model artifacts, the name and shape of the expected data inputs,
and the framework in which the model was trained.
|
void |
setOutputConfig(OutputConfig outputConfig)
Provides information about the output location for the compiled model and the target device the model runs on.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IIAMAM role that enables Amazon SageMaker to perform tasks on your behalf.
|
void |
setStoppingCondition(StoppingCondition stoppingCondition)
The duration allowed for model compilation.
|
String |
toString()
Returns a string representation of this object.
|
CreateCompilationJobRequest |
withCompilationJobName(String compilationJobName)
A name for the model compilation job.
|
CreateCompilationJobRequest |
withInputConfig(InputConfig inputConfig)
Provides information about the location of input model artifacts, the name and shape of the expected data inputs,
and the framework in which the model was trained.
|
CreateCompilationJobRequest |
withOutputConfig(OutputConfig outputConfig)
Provides information about the output location for the compiled model and the target device the model runs on.
|
CreateCompilationJobRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IIAMAM role that enables Amazon SageMaker to perform tasks on your behalf.
|
CreateCompilationJobRequest |
withStoppingCondition(StoppingCondition stoppingCondition)
The duration allowed for model compilation.
|
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 setCompilationJobName(String compilationJobName)
A name for the model compilation job. The name must be unique within the AWS Region and within your AWS account.
compilationJobName
- A name for the model compilation job. The name must be unique within the AWS Region and within your AWS
account.public String getCompilationJobName()
A name for the model compilation job. The name must be unique within the AWS Region and within your AWS account.
public CreateCompilationJobRequest withCompilationJobName(String compilationJobName)
A name for the model compilation job. The name must be unique within the AWS Region and within your AWS account.
compilationJobName
- A name for the model compilation job. The name must be unique within the AWS Region and within your AWS
account.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IIAMAM role that enables Amazon SageMaker to perform tasks on your behalf.
During model compilation, Amazon SageMaker needs your permission to:
Read input data from an S3 bucket
Write model artifacts to an S3 bucket
Write logs to Amazon CloudWatch Logs
Publish metrics to Amazon CloudWatch
You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the caller of
this API must have the iam:PassRole
permission. For more information, see Amazon SageMaker Roles.
roleArn
- The Amazon Resource Name (ARN) of an IIAMAM role that enables Amazon SageMaker to perform tasks on your
behalf.
During model compilation, Amazon SageMaker needs your permission to:
Read input data from an S3 bucket
Write model artifacts to an S3 bucket
Write logs to Amazon CloudWatch Logs
Publish metrics to Amazon CloudWatch
You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the
caller of this API must have the iam:PassRole
permission. For more information, see Amazon SageMaker Roles.
public String getRoleArn()
The Amazon Resource Name (ARN) of an IIAMAM role that enables Amazon SageMaker to perform tasks on your behalf.
During model compilation, Amazon SageMaker needs your permission to:
Read input data from an S3 bucket
Write model artifacts to an S3 bucket
Write logs to Amazon CloudWatch Logs
Publish metrics to Amazon CloudWatch
You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the caller of
this API must have the iam:PassRole
permission. For more information, see Amazon SageMaker Roles.
During model compilation, Amazon SageMaker needs your permission to:
Read input data from an S3 bucket
Write model artifacts to an S3 bucket
Write logs to Amazon CloudWatch Logs
Publish metrics to Amazon CloudWatch
You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the
caller of this API must have the iam:PassRole
permission. For more information, see Amazon SageMaker Roles.
public CreateCompilationJobRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IIAMAM role that enables Amazon SageMaker to perform tasks on your behalf.
During model compilation, Amazon SageMaker needs your permission to:
Read input data from an S3 bucket
Write model artifacts to an S3 bucket
Write logs to Amazon CloudWatch Logs
Publish metrics to Amazon CloudWatch
You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the caller of
this API must have the iam:PassRole
permission. For more information, see Amazon SageMaker Roles.
roleArn
- The Amazon Resource Name (ARN) of an IIAMAM role that enables Amazon SageMaker to perform tasks on your
behalf.
During model compilation, Amazon SageMaker needs your permission to:
Read input data from an S3 bucket
Write model artifacts to an S3 bucket
Write logs to Amazon CloudWatch Logs
Publish metrics to Amazon CloudWatch
You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the
caller of this API must have the iam:PassRole
permission. For more information, see Amazon SageMaker Roles.
public void setInputConfig(InputConfig inputConfig)
Provides information about the location of input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.
inputConfig
- Provides information about the location of input model artifacts, the name and shape of the expected data
inputs, and the framework in which the model was trained.public InputConfig getInputConfig()
Provides information about the location of input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.
public CreateCompilationJobRequest withInputConfig(InputConfig inputConfig)
Provides information about the location of input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.
inputConfig
- Provides information about the location of input model artifacts, the name and shape of the expected data
inputs, and the framework in which the model was trained.public void setOutputConfig(OutputConfig outputConfig)
Provides information about the output location for the compiled model and the target device the model runs on.
outputConfig
- Provides information about the output location for the compiled model and the target device the model runs
on.public OutputConfig getOutputConfig()
Provides information about the output location for the compiled model and the target device the model runs on.
public CreateCompilationJobRequest withOutputConfig(OutputConfig outputConfig)
Provides information about the output location for the compiled model and the target device the model runs on.
outputConfig
- Provides information about the output location for the compiled model and the target device the model runs
on.public void setStoppingCondition(StoppingCondition stoppingCondition)
The duration allowed for model compilation.
stoppingCondition
- The duration allowed for model compilation.public StoppingCondition getStoppingCondition()
The duration allowed for model compilation.
public CreateCompilationJobRequest withStoppingCondition(StoppingCondition stoppingCondition)
The duration allowed for model compilation.
stoppingCondition
- The duration allowed for model compilation.public String toString()
toString
in class Object
Object.toString()
public CreateCompilationJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.