public static interface TransformOutput.Builder extends SdkPojo, CopyableBuilder<TransformOutput.Builder,TransformOutput>
Modifier and Type | Method and Description |
---|---|
TransformOutput.Builder |
accept(String accept)
The MIME type used to specify the output data.
|
TransformOutput.Builder |
assembleWith(AssemblyType assembleWith)
Defines how to assemble the results of the transform job as a single S3 object.
|
TransformOutput.Builder |
assembleWith(String assembleWith)
Defines how to assemble the results of the transform job as a single S3 object.
|
TransformOutput.Builder |
kmsKeyId(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.
|
TransformOutput.Builder |
s3OutputPath(String s3OutputPath)
The Amazon S3 path where you want Amazon SageMaker to store the results of the transform job.
|
copy
applyMutation, build
TransformOutput.Builder s3OutputPath(String s3OutputPath)
The Amazon S3 path where you want Amazon SageMaker to store the results of the transform job. For example,
s3://bucket-name/key-name-prefix
.
For every S3 object used as input for the transform job, the transformed data is stored in a corresponding
subfolder in the location under the output prefix. For example, the input data
s3://bucket-name/input-name-prefix/dataset01/data.csv
will have the transformed data stored at
s3://bucket-name/key-name-prefix/dataset01/
, based on the original name, as a series of .part
files (.part0001, part0002, etc).
s3OutputPath
- The Amazon S3 path where you want Amazon SageMaker to store the results of the transform job. For
example, s3://bucket-name/key-name-prefix
.
For every S3 object used as input for the transform job, the transformed data is stored in a
corresponding subfolder in the location under the output prefix. For example, the input data
s3://bucket-name/input-name-prefix/dataset01/data.csv
will have the transformed data
stored at s3://bucket-name/key-name-prefix/dataset01/
, based on the original name, as a
series of .part files (.part0001, part0002, etc).
TransformOutput.Builder accept(String accept)
The MIME type used to specify the output data. Amazon SageMaker uses the MIME type with each http call to transfer data from the transform job.
accept
- The MIME type used to specify the output data. Amazon SageMaker uses the MIME type with each http call
to transfer data from the transform job.TransformOutput.Builder assembleWith(String assembleWith)
Defines how to assemble the results of the transform job as a single S3 object. You should select a format
that is most convenient to you. To concatenate the results in binary format, specify None
. To
add a newline character at the end of every transformed record, specify Line
.
assembleWith
- Defines how to assemble the results of the transform job as a single S3 object. You should select a
format that is most convenient to you. To concatenate the results in binary format, specify
None
. To add a newline character at the end of every transformed record, specify
Line
.AssemblyType
,
AssemblyType
TransformOutput.Builder assembleWith(AssemblyType assembleWith)
Defines how to assemble the results of the transform job as a single S3 object. You should select a format
that is most convenient to you. To concatenate the results in binary format, specify None
. To
add a newline character at the end of every transformed record, specify Line
.
assembleWith
- Defines how to assemble the results of the transform job as a single S3 object. You should select a
format that is most convenient to you. To concatenate the results in binary format, specify
None
. To add a newline character at the end of every transformed record, specify
Line
.AssemblyType
,
AssemblyType
TransformOutput.Builder kmsKeyId(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. The KmsKeyId
can be any of the following formats:
// KMS Key ID
"1234abcd-12ab-34cd-56ef-1234567890ab"
// Amazon Resource Name (ARN) of a KMS Key
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
// KMS Key Alias
"alias/ExampleAlias"
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide.
The KMS key policy must grant permission to the IAM role that you specify in your
CreateTramsformJob
request. For more information, see Using Key Policies in AWS
KMS in the AWS Key Management Service Developer Guide.
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. The KmsKeyId
can be any of the following
formats:
// KMS Key ID
"1234abcd-12ab-34cd-56ef-1234567890ab"
// Amazon Resource Name (ARN) of a KMS Key
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
// KMS Key Alias
"alias/ExampleAlias"
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide.
The KMS key policy must grant permission to the IAM role that you specify in your
CreateTramsformJob
request. For more information, see Using Key Policies in
AWS KMS in the AWS Key Management Service Developer Guide.
Copyright © 2018. All rights reserved.