@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationJobInputConfig extends Object implements Serializable, Cloneable, StructuredPojo
The input configuration of the recommendation job.
Constructor and Description |
---|
RecommendationJobInputConfig() |
Modifier and Type | Method and Description |
---|---|
RecommendationJobInputConfig |
clone() |
boolean |
equals(Object obj) |
List<EndpointInputConfiguration> |
getEndpointConfigurations()
Specifies the endpoint configuration to use for a job.
|
Integer |
getJobDurationInSeconds()
Specifies the maximum duration of the job, in seconds.>
|
String |
getModelPackageVersionArn()
The Amazon Resource Name (ARN) of a versioned model package.
|
RecommendationJobResourceLimit |
getResourceLimit()
Defines the resource limit of the job.
|
TrafficPattern |
getTrafficPattern()
Specifies the traffic pattern of the job.
|
String |
getVolumeKmsKeyId()
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that
Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the
endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndpointConfigurations(Collection<EndpointInputConfiguration> endpointConfigurations)
Specifies the endpoint configuration to use for a job.
|
void |
setJobDurationInSeconds(Integer jobDurationInSeconds)
Specifies the maximum duration of the job, in seconds.>
|
void |
setModelPackageVersionArn(String modelPackageVersionArn)
The Amazon Resource Name (ARN) of a versioned model package.
|
void |
setResourceLimit(RecommendationJobResourceLimit resourceLimit)
Defines the resource limit of the job.
|
void |
setTrafficPattern(TrafficPattern trafficPattern)
Specifies the traffic pattern of the job.
|
void |
setVolumeKmsKeyId(String volumeKmsKeyId)
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that
Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the
endpoint.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationJobInputConfig |
withEndpointConfigurations(Collection<EndpointInputConfiguration> endpointConfigurations)
Specifies the endpoint configuration to use for a job.
|
RecommendationJobInputConfig |
withEndpointConfigurations(EndpointInputConfiguration... endpointConfigurations)
Specifies the endpoint configuration to use for a job.
|
RecommendationJobInputConfig |
withJobDurationInSeconds(Integer jobDurationInSeconds)
Specifies the maximum duration of the job, in seconds.>
|
RecommendationJobInputConfig |
withModelPackageVersionArn(String modelPackageVersionArn)
The Amazon Resource Name (ARN) of a versioned model package.
|
RecommendationJobInputConfig |
withResourceLimit(RecommendationJobResourceLimit resourceLimit)
Defines the resource limit of the job.
|
RecommendationJobInputConfig |
withTrafficPattern(TrafficPattern trafficPattern)
Specifies the traffic pattern of the job.
|
RecommendationJobInputConfig |
withVolumeKmsKeyId(String volumeKmsKeyId)
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that
Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the
endpoint.
|
public void setModelPackageVersionArn(String modelPackageVersionArn)
The Amazon Resource Name (ARN) of a versioned model package.
modelPackageVersionArn
- The Amazon Resource Name (ARN) of a versioned model package.public String getModelPackageVersionArn()
The Amazon Resource Name (ARN) of a versioned model package.
public RecommendationJobInputConfig withModelPackageVersionArn(String modelPackageVersionArn)
The Amazon Resource Name (ARN) of a versioned model package.
modelPackageVersionArn
- The Amazon Resource Name (ARN) of a versioned model package.public void setJobDurationInSeconds(Integer jobDurationInSeconds)
Specifies the maximum duration of the job, in seconds.>
jobDurationInSeconds
- Specifies the maximum duration of the job, in seconds.>public Integer getJobDurationInSeconds()
Specifies the maximum duration of the job, in seconds.>
public RecommendationJobInputConfig withJobDurationInSeconds(Integer jobDurationInSeconds)
Specifies the maximum duration of the job, in seconds.>
jobDurationInSeconds
- Specifies the maximum duration of the job, in seconds.>public void setTrafficPattern(TrafficPattern trafficPattern)
Specifies the traffic pattern of the job.
trafficPattern
- Specifies the traffic pattern of the job.public TrafficPattern getTrafficPattern()
Specifies the traffic pattern of the job.
public RecommendationJobInputConfig withTrafficPattern(TrafficPattern trafficPattern)
Specifies the traffic pattern of the job.
trafficPattern
- Specifies the traffic pattern of the job.public void setResourceLimit(RecommendationJobResourceLimit resourceLimit)
Defines the resource limit of the job.
resourceLimit
- Defines the resource limit of the job.public RecommendationJobResourceLimit getResourceLimit()
Defines the resource limit of the job.
public RecommendationJobInputConfig withResourceLimit(RecommendationJobResourceLimit resourceLimit)
Defines the resource limit of the job.
resourceLimit
- Defines the resource limit of the job.public List<EndpointInputConfiguration> getEndpointConfigurations()
Specifies the endpoint configuration to use for a job.
public void setEndpointConfigurations(Collection<EndpointInputConfiguration> endpointConfigurations)
Specifies the endpoint configuration to use for a job.
endpointConfigurations
- Specifies the endpoint configuration to use for a job.public RecommendationJobInputConfig withEndpointConfigurations(EndpointInputConfiguration... endpointConfigurations)
Specifies the endpoint configuration to use for a job.
NOTE: This method appends the values to the existing list (if any). Use
setEndpointConfigurations(java.util.Collection)
or
withEndpointConfigurations(java.util.Collection)
if you want to override the existing values.
endpointConfigurations
- Specifies the endpoint configuration to use for a job.public RecommendationJobInputConfig withEndpointConfigurations(Collection<EndpointInputConfiguration> endpointConfigurations)
Specifies the endpoint configuration to use for a job.
endpointConfigurations
- Specifies the endpoint configuration to use for a job.public void setVolumeKmsKeyId(String volumeKmsKeyId)
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.
The SageMaker execution role must have kms:CreateGrant
permission in order to encrypt data on the
storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail
asynchronously during endpoint configuration creation if the role passed does not have
kms:CreateGrant
permission.
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:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"
// KMS Key Alias
"alias/ExampleAlias"
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
volumeKmsKeyId
- The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS)
key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance
that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.
The SageMaker execution role must have kms:CreateGrant
permission in order to encrypt data on
the storage volume of the endpoints created for inference recommendation. The inference recommendation job
will fail asynchronously during endpoint configuration creation if the role passed does not have
kms:CreateGrant
permission.
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:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"
// KMS Key Alias
"alias/ExampleAlias"
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
public String getVolumeKmsKeyId()
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.
The SageMaker execution role must have kms:CreateGrant
permission in order to encrypt data on the
storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail
asynchronously during endpoint configuration creation if the role passed does not have
kms:CreateGrant
permission.
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:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"
// KMS Key Alias
"alias/ExampleAlias"
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
The SageMaker execution role must have kms:CreateGrant
permission in order to encrypt data
on the storage volume of the endpoints created for inference recommendation. The inference recommendation
job will fail asynchronously during endpoint configuration creation if the role passed does not have
kms:CreateGrant
permission.
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:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"
// KMS Key Alias
"alias/ExampleAlias"
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
public RecommendationJobInputConfig withVolumeKmsKeyId(String volumeKmsKeyId)
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.
The SageMaker execution role must have kms:CreateGrant
permission in order to encrypt data on the
storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail
asynchronously during endpoint configuration creation if the role passed does not have
kms:CreateGrant
permission.
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:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"
// KMS Key Alias
"alias/ExampleAlias"
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
volumeKmsKeyId
- The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS)
key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance
that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.
The SageMaker execution role must have kms:CreateGrant
permission in order to encrypt data on
the storage volume of the endpoints created for inference recommendation. The inference recommendation job
will fail asynchronously during endpoint configuration creation if the role passed does not have
kms:CreateGrant
permission.
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:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"
// KMS Key Alias
"alias/ExampleAlias"
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
public String toString()
toString
in class Object
Object.toString()
public RecommendationJobInputConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.