@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationExportJob extends Object implements Serializable, Cloneable, StructuredPojo
Describes a recommendation export job.
Use the DescribeRecommendationExportJobs
action to view your recommendation export jobs.
Use the ExportAutoScalingGroupRecommendations
or ExportEC2InstanceRecommendations
actions
to request an export of your recommendations.
Constructor and Description |
---|
RecommendationExportJob() |
Modifier and Type | Method and Description |
---|---|
RecommendationExportJob |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTimestamp()
The timestamp of when the export job was created.
|
ExportDestination |
getDestination()
An object that describes the destination of the export file.
|
String |
getFailureReason()
The reason for an export job failure.
|
String |
getJobId()
The identification number of the export job.
|
Date |
getLastUpdatedTimestamp()
The timestamp of when the export job was last updated.
|
String |
getResourceType()
The resource type of the exported recommendations.
|
String |
getStatus()
The status of the export job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTimestamp(Date creationTimestamp)
The timestamp of when the export job was created.
|
void |
setDestination(ExportDestination destination)
An object that describes the destination of the export file.
|
void |
setFailureReason(String failureReason)
The reason for an export job failure.
|
void |
setJobId(String jobId)
The identification number of the export job.
|
void |
setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The timestamp of when the export job was last updated.
|
void |
setResourceType(String resourceType)
The resource type of the exported recommendations.
|
void |
setStatus(String status)
The status of the export job.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationExportJob |
withCreationTimestamp(Date creationTimestamp)
The timestamp of when the export job was created.
|
RecommendationExportJob |
withDestination(ExportDestination destination)
An object that describes the destination of the export file.
|
RecommendationExportJob |
withFailureReason(String failureReason)
The reason for an export job failure.
|
RecommendationExportJob |
withJobId(String jobId)
The identification number of the export job.
|
RecommendationExportJob |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The timestamp of when the export job was last updated.
|
RecommendationExportJob |
withResourceType(ResourceType resourceType)
The resource type of the exported recommendations.
|
RecommendationExportJob |
withResourceType(String resourceType)
The resource type of the exported recommendations.
|
RecommendationExportJob |
withStatus(JobStatus status)
The status of the export job.
|
RecommendationExportJob |
withStatus(String status)
The status of the export job.
|
public void setJobId(String jobId)
The identification number of the export job.
jobId
- The identification number of the export job.public String getJobId()
The identification number of the export job.
public RecommendationExportJob withJobId(String jobId)
The identification number of the export job.
jobId
- The identification number of the export job.public void setDestination(ExportDestination destination)
An object that describes the destination of the export file.
destination
- An object that describes the destination of the export file.public ExportDestination getDestination()
An object that describes the destination of the export file.
public RecommendationExportJob withDestination(ExportDestination destination)
An object that describes the destination of the export file.
destination
- An object that describes the destination of the export file.public void setResourceType(String resourceType)
The resource type of the exported recommendations.
resourceType
- The resource type of the exported recommendations.ResourceType
public String getResourceType()
The resource type of the exported recommendations.
ResourceType
public RecommendationExportJob withResourceType(String resourceType)
The resource type of the exported recommendations.
resourceType
- The resource type of the exported recommendations.ResourceType
public RecommendationExportJob withResourceType(ResourceType resourceType)
The resource type of the exported recommendations.
resourceType
- The resource type of the exported recommendations.ResourceType
public void setStatus(String status)
The status of the export job.
status
- The status of the export job.JobStatus
public String getStatus()
The status of the export job.
JobStatus
public RecommendationExportJob withStatus(String status)
The status of the export job.
status
- The status of the export job.JobStatus
public RecommendationExportJob withStatus(JobStatus status)
The status of the export job.
status
- The status of the export job.JobStatus
public void setCreationTimestamp(Date creationTimestamp)
The timestamp of when the export job was created.
creationTimestamp
- The timestamp of when the export job was created.public Date getCreationTimestamp()
The timestamp of when the export job was created.
public RecommendationExportJob withCreationTimestamp(Date creationTimestamp)
The timestamp of when the export job was created.
creationTimestamp
- The timestamp of when the export job was created.public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The timestamp of when the export job was last updated.
lastUpdatedTimestamp
- The timestamp of when the export job was last updated.public Date getLastUpdatedTimestamp()
The timestamp of when the export job was last updated.
public RecommendationExportJob withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The timestamp of when the export job was last updated.
lastUpdatedTimestamp
- The timestamp of when the export job was last updated.public void setFailureReason(String failureReason)
The reason for an export job failure.
failureReason
- The reason for an export job failure.public String getFailureReason()
The reason for an export job failure.
public RecommendationExportJob withFailureReason(String failureReason)
The reason for an export job failure.
failureReason
- The reason for an export job failure.public String toString()
toString
in class Object
Object.toString()
public RecommendationExportJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.