@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SolutionVersionSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides a summary of the properties of a solution version. For a complete listing, call the DescribeSolutionVersion API.
Constructor and Description |
---|
SolutionVersionSummary() |
Modifier and Type | Method and Description |
---|---|
SolutionVersionSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The date and time (in Unix time) that this version of a solution was created.
|
String |
getFailureReason()
If a solution version fails, the reason behind the failure.
|
Date |
getLastUpdatedDateTime()
The date and time (in Unix time) that the solution version was last updated.
|
String |
getSolutionVersionArn()
The Amazon Resource Name (ARN) of the solution version.
|
String |
getStatus()
The status of the solution version.
|
String |
getTrainingMode()
The scope of training to be performed when creating the solution version.
|
String |
getTrainingType()
Whether the solution version was created automatically or manually.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDateTime(Date creationDateTime)
The date and time (in Unix time) that this version of a solution was created.
|
void |
setFailureReason(String failureReason)
If a solution version fails, the reason behind the failure.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the solution version was last updated.
|
void |
setSolutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of the solution version.
|
void |
setStatus(String status)
The status of the solution version.
|
void |
setTrainingMode(String trainingMode)
The scope of training to be performed when creating the solution version.
|
void |
setTrainingType(String trainingType)
Whether the solution version was created automatically or manually.
|
String |
toString()
Returns a string representation of this object.
|
SolutionVersionSummary |
withCreationDateTime(Date creationDateTime)
The date and time (in Unix time) that this version of a solution was created.
|
SolutionVersionSummary |
withFailureReason(String failureReason)
If a solution version fails, the reason behind the failure.
|
SolutionVersionSummary |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the solution version was last updated.
|
SolutionVersionSummary |
withSolutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of the solution version.
|
SolutionVersionSummary |
withStatus(String status)
The status of the solution version.
|
SolutionVersionSummary |
withTrainingMode(String trainingMode)
The scope of training to be performed when creating the solution version.
|
SolutionVersionSummary |
withTrainingMode(TrainingMode trainingMode)
The scope of training to be performed when creating the solution version.
|
SolutionVersionSummary |
withTrainingType(String trainingType)
Whether the solution version was created automatically or manually.
|
SolutionVersionSummary |
withTrainingType(TrainingType trainingType)
Whether the solution version was created automatically or manually.
|
public void setSolutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of the solution version.
solutionVersionArn
- The Amazon Resource Name (ARN) of the solution version.public String getSolutionVersionArn()
The Amazon Resource Name (ARN) of the solution version.
public SolutionVersionSummary withSolutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of the solution version.
solutionVersionArn
- The Amazon Resource Name (ARN) of the solution version.public void setStatus(String status)
The status of the solution version.
A solution version can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
status
- The status of the solution version.
A solution version can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
public String getStatus()
The status of the solution version.
A solution version can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
A solution version can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
public SolutionVersionSummary withStatus(String status)
The status of the solution version.
A solution version can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
status
- The status of the solution version.
A solution version can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
public void setTrainingMode(String trainingMode)
The scope of training to be performed when creating the solution version. A FULL
training considers
all of the data in your dataset group. An UPDATE
processes only the data that has changed since the
latest training. Only solution versions created with the User-Personalization recipe can use UPDATE
.
trainingMode
- The scope of training to be performed when creating the solution version. A FULL
training
considers all of the data in your dataset group. An UPDATE
processes only the data that has
changed since the latest training. Only solution versions created with the User-Personalization recipe can
use UPDATE
.TrainingMode
public String getTrainingMode()
The scope of training to be performed when creating the solution version. A FULL
training considers
all of the data in your dataset group. An UPDATE
processes only the data that has changed since the
latest training. Only solution versions created with the User-Personalization recipe can use UPDATE
.
FULL
training
considers all of the data in your dataset group. An UPDATE
processes only the data that has
changed since the latest training. Only solution versions created with the User-Personalization recipe
can use UPDATE
.TrainingMode
public SolutionVersionSummary withTrainingMode(String trainingMode)
The scope of training to be performed when creating the solution version. A FULL
training considers
all of the data in your dataset group. An UPDATE
processes only the data that has changed since the
latest training. Only solution versions created with the User-Personalization recipe can use UPDATE
.
trainingMode
- The scope of training to be performed when creating the solution version. A FULL
training
considers all of the data in your dataset group. An UPDATE
processes only the data that has
changed since the latest training. Only solution versions created with the User-Personalization recipe can
use UPDATE
.TrainingMode
public SolutionVersionSummary withTrainingMode(TrainingMode trainingMode)
The scope of training to be performed when creating the solution version. A FULL
training considers
all of the data in your dataset group. An UPDATE
processes only the data that has changed since the
latest training. Only solution versions created with the User-Personalization recipe can use UPDATE
.
trainingMode
- The scope of training to be performed when creating the solution version. A FULL
training
considers all of the data in your dataset group. An UPDATE
processes only the data that has
changed since the latest training. Only solution versions created with the User-Personalization recipe can
use UPDATE
.TrainingMode
public void setTrainingType(String trainingType)
Whether the solution version was created automatically or manually.
trainingType
- Whether the solution version was created automatically or manually.TrainingType
public String getTrainingType()
Whether the solution version was created automatically or manually.
TrainingType
public SolutionVersionSummary withTrainingType(String trainingType)
Whether the solution version was created automatically or manually.
trainingType
- Whether the solution version was created automatically or manually.TrainingType
public SolutionVersionSummary withTrainingType(TrainingType trainingType)
Whether the solution version was created automatically or manually.
trainingType
- Whether the solution version was created automatically or manually.TrainingType
public void setCreationDateTime(Date creationDateTime)
The date and time (in Unix time) that this version of a solution was created.
creationDateTime
- The date and time (in Unix time) that this version of a solution was created.public Date getCreationDateTime()
The date and time (in Unix time) that this version of a solution was created.
public SolutionVersionSummary withCreationDateTime(Date creationDateTime)
The date and time (in Unix time) that this version of a solution was created.
creationDateTime
- The date and time (in Unix time) that this version of a solution was created.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the solution version was last updated.
lastUpdatedDateTime
- The date and time (in Unix time) that the solution version was last updated.public Date getLastUpdatedDateTime()
The date and time (in Unix time) that the solution version was last updated.
public SolutionVersionSummary withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the solution version was last updated.
lastUpdatedDateTime
- The date and time (in Unix time) that the solution version was last updated.public void setFailureReason(String failureReason)
If a solution version fails, the reason behind the failure.
failureReason
- If a solution version fails, the reason behind the failure.public String getFailureReason()
If a solution version fails, the reason behind the failure.
public SolutionVersionSummary withFailureReason(String failureReason)
If a solution version fails, the reason behind the failure.
failureReason
- If a solution version fails, the reason behind the failure.public String toString()
toString
in class Object
Object.toString()
public SolutionVersionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.