@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.
|
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.
|
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.
|
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 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.