@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)  | 
<T> Optional<T> | 
getValueForField(String fieldName,
                Class<T> clazz)
Used to retrieve the value of a field from any class that extends  
SdkRequest. | 
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 IIAMAM role that enables Amazon SageMaker to perform tasks on your behalf. 
 | 
List<SdkField<?>> | 
sdkFields()  | 
static Class<? extends CreateCompilationJobRequest.Builder> | 
serializableBuilderClass()  | 
StoppingCondition | 
stoppingCondition()
 The duration allowed for model compilation. 
 | 
CreateCompilationJobRequest.Builder | 
toBuilder()
Take this object and create a builder that contains all of the current property values of this object. 
 | 
String | 
toString()  | 
overrideConfigurationcopypublic 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 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 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()
The duration allowed for model compilation.
public CreateCompilationJobRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<CreateCompilationJobRequest.Builder,CreateCompilationJobRequest>toBuilder in class SageMakerRequestpublic static CreateCompilationJobRequest.Builder builder()
public static Class<? extends CreateCompilationJobRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
 specified should match the member name from the corresponding service-2.json model specified in the
 codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
 If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
 again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.