@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransformOutput extends Object implements Serializable, Cloneable, StructuredPojo
Describes the results of a transform job.
Constructor and Description |
---|
TransformOutput() |
Modifier and Type | Method and Description |
---|---|
TransformOutput |
clone() |
boolean |
equals(Object obj) |
String |
getAccept()
The MIME type used to specify the output data.
|
String |
getAssembleWith()
Defines how to assemble the results of the transform job as a single S3 object.
|
String |
getKmsKeyId()
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to
encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
String |
getS3OutputPath()
The Amazon S3 path where you want Amazon SageMaker to store the results of the transform job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccept(String accept)
The MIME type used to specify the output data.
|
void |
setAssembleWith(String assembleWith)
Defines how to assemble the results of the transform job as a single S3 object.
|
void |
setKmsKeyId(String kmsKeyId)
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to
encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
void |
setS3OutputPath(String s3OutputPath)
The Amazon S3 path where you want Amazon SageMaker to store the results of the transform job.
|
String |
toString()
Returns a string representation of this object.
|
TransformOutput |
withAccept(String accept)
The MIME type used to specify the output data.
|
TransformOutput |
withAssembleWith(AssemblyType assembleWith)
Defines how to assemble the results of the transform job as a single S3 object.
|
TransformOutput |
withAssembleWith(String assembleWith)
Defines how to assemble the results of the transform job as a single S3 object.
|
TransformOutput |
withKmsKeyId(String kmsKeyId)
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to
encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
TransformOutput |
withS3OutputPath(String s3OutputPath)
The Amazon S3 path where you want Amazon SageMaker to store the results of the transform job.
|
public void setS3OutputPath(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, batch transform stores the transformed data with an .
out
suffix in a corresponding subfolder in the location in the output prefix. For example, for the
input data stored at s3://bucket-name/input-name-prefix/dataset01/data.csv
, batch transform stores
the transformed data at s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out
. Batch
transform doesn't upload partially processed objects. For an input S3 object that contains multiple records, it
creates an .out
file only if the transform job succeeds on the entire file. When the input contains
multiple S3 objects, the batch transform job processes the listed S3 objects and uploads only the output for
successfully processed objects. If any object fails in the transform job batch transform marks the job as failed
to prompt investigation.
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, batch transform stores the transformed data with
an .out
suffix in a corresponding subfolder in the location in the output prefix. For
example, for the input data stored at s3://bucket-name/input-name-prefix/dataset01/data.csv
,
batch transform stores the transformed data at
s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out
. Batch transform doesn't
upload partially processed objects. For an input S3 object that contains multiple records, it creates an .
out
file only if the transform job succeeds on the entire file. When the input contains
multiple S3 objects, the batch transform job processes the listed S3 objects and uploads only the output
for successfully processed objects. If any object fails in the transform job batch transform marks the job
as failed to prompt investigation.
public String getS3OutputPath()
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, batch transform stores the transformed data with an .
out
suffix in a corresponding subfolder in the location in the output prefix. For example, for the
input data stored at s3://bucket-name/input-name-prefix/dataset01/data.csv
, batch transform stores
the transformed data at s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out
. Batch
transform doesn't upload partially processed objects. For an input S3 object that contains multiple records, it
creates an .out
file only if the transform job succeeds on the entire file. When the input contains
multiple S3 objects, the batch transform job processes the listed S3 objects and uploads only the output for
successfully processed objects. If any object fails in the transform job batch transform marks the job as failed
to prompt investigation.
s3://bucket-name/key-name-prefix
.
For every S3 object used as input for the transform job, batch transform stores the transformed data with
an .out
suffix in a corresponding subfolder in the location in the output prefix. For
example, for the input data stored at s3://bucket-name/input-name-prefix/dataset01/data.csv
,
batch transform stores the transformed data at
s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out
. Batch transform doesn't
upload partially processed objects. For an input S3 object that contains multiple records, it creates an
.out
file only if the transform job succeeds on the entire file. When the input contains
multiple S3 objects, the batch transform job processes the listed S3 objects and uploads only the output
for successfully processed objects. If any object fails in the transform job batch transform marks the
job as failed to prompt investigation.
public TransformOutput withS3OutputPath(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, batch transform stores the transformed data with an .
out
suffix in a corresponding subfolder in the location in the output prefix. For example, for the
input data stored at s3://bucket-name/input-name-prefix/dataset01/data.csv
, batch transform stores
the transformed data at s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out
. Batch
transform doesn't upload partially processed objects. For an input S3 object that contains multiple records, it
creates an .out
file only if the transform job succeeds on the entire file. When the input contains
multiple S3 objects, the batch transform job processes the listed S3 objects and uploads only the output for
successfully processed objects. If any object fails in the transform job batch transform marks the job as failed
to prompt investigation.
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, batch transform stores the transformed data with
an .out
suffix in a corresponding subfolder in the location in the output prefix. For
example, for the input data stored at s3://bucket-name/input-name-prefix/dataset01/data.csv
,
batch transform stores the transformed data at
s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out
. Batch transform doesn't
upload partially processed objects. For an input S3 object that contains multiple records, it creates an .
out
file only if the transform job succeeds on the entire file. When the input contains
multiple S3 objects, the batch transform job processes the listed S3 objects and uploads only the output
for successfully processed objects. If any object fails in the transform job batch transform marks the job
as failed to prompt investigation.
public void setAccept(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.public String getAccept()
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.
public TransformOutput withAccept(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.public void setAssembleWith(String assembleWith)
Defines how to assemble the results of the transform job as a single S3 object. Choose 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. Choose 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
public String getAssembleWith()
Defines how to assemble the results of the transform job as a single S3 object. Choose 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
.
None
. To add a
newline character at the end of every transformed record, specify Line
.AssemblyType
public TransformOutput withAssembleWith(String assembleWith)
Defines how to assemble the results of the transform job as a single S3 object. Choose 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. Choose 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
public TransformOutput withAssembleWith(AssemblyType assembleWith)
Defines how to assemble the results of the transform job as a single S3 object. Choose 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. Choose 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
public void setKmsKeyId(String kmsKeyId)
The Amazon Web Services Key Management Service (Amazon Web Services 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:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias name ARN: 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 CreateModel request. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.
kmsKeyId
- The Amazon Web Services Key Management Service (Amazon Web Services 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:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias name ARN: 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 CreateModel request. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.
public String getKmsKeyId()
The Amazon Web Services Key Management Service (Amazon Web Services 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:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias name ARN: 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 CreateModel request. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.
KmsKeyId
can be any of the following formats:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias name ARN: 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 CreateModel request. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.
public TransformOutput withKmsKeyId(String kmsKeyId)
The Amazon Web Services Key Management Service (Amazon Web Services 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:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias name ARN: 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 CreateModel request. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.
kmsKeyId
- The Amazon Web Services Key Management Service (Amazon Web Services 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:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias name ARN: 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 CreateModel request. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.
public String toString()
toString
in class Object
Object.toString()
public TransformOutput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.