@Generated(value="software.amazon.awssdk:codegen") public final class CreateCompilationJobRequest extends SageMakerRequest implements ToCopyableBuilder<CreateCompilationJobRequest.Builder,CreateCompilationJobRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateCompilationJobRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateCompilationJobRequest.Builder |
builder() |
String |
compilationJobName()
A name for the model compilation job.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
OutputConfig |
outputConfig()
Provides information about the output location for the compiled model and the target device the model runs on.
|
String |
roleArn()
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateCompilationJobRequest.Builder> |
serializableBuilderClass() |
StoppingCondition |
stoppingCondition()
Specifies a limit to how long a model compilation job can run.
|
CreateCompilationJobRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String compilationJobName()
A name for the model compilation job. The name must be unique within the AWS Region and within your AWS account.
public String roleArn()
The Amazon Resource Name (ARN) of an IAM 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 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.
public OutputConfig outputConfig()
Provides information about the output location for the compiled model and the target device the model runs on.
public StoppingCondition stoppingCondition()
Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training costs.
public CreateCompilationJobRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateCompilationJobRequest.Builder,CreateCompilationJobRequest>toBuilder in class SageMakerRequestpublic static CreateCompilationJobRequest.Builder builder()
public static Class<? extends CreateCompilationJobRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.