@Generated(value="software.amazon.awssdk:codegen") public class OutputDataConfig extends Object implements StructuredPojo, ToCopyableBuilder<OutputDataConfig.Builder,OutputDataConfig>
Provides information about how to store model training results (model artifacts).
Modifier and Type | Class and Description |
---|---|
static interface |
OutputDataConfig.Builder |
Modifier and Type | Method and Description |
---|---|
static OutputDataConfig.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest
using Amazon S3 server-side encryption.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
s3OutputPath()
Identifies the S3 path where you want Amazon SageMaker to store the model artifacts.
|
static Class<? extends OutputDataConfig.Builder> |
serializableBuilderClass() |
OutputDataConfig.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String kmsKeyId()
The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
If the configuration of the output S3 bucket requires server-side encryption for objects, and you don't provide the KMS key ID, Amazon SageMaker uses the default service key. For more information, see KMS-Managed Encryption Keys in Amazon Simple Storage Service developer guide.
The KMS key policy must grant permission to the IAM role you specify in your CreateTrainingJob
request. Using Key Policies in
AWS KMS in the AWS Key Management Service Developer Guide.
If the configuration of the output S3 bucket requires server-side encryption for objects, and you don't provide the KMS key ID, Amazon SageMaker uses the default service key. For more information, see KMS-Managed Encryption Keys in Amazon Simple Storage Service developer guide.
The KMS key policy must grant permission to the IAM role you specify in your
CreateTrainingJob
request. Using Key Policies in AWS
KMS in the AWS Key Management Service Developer Guide.
public String s3OutputPath()
Identifies the S3 path where you want Amazon SageMaker to store the model artifacts. For example,
s3://bucket-name/key-name-prefix
.
s3://bucket-name/key-name-prefix
.public OutputDataConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<OutputDataConfig.Builder,OutputDataConfig>
public static OutputDataConfig.Builder builder()
public static Class<? extends OutputDataConfig.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.