Class RecommendationExportJob
- java.lang.Object
-
- software.amazon.awssdk.services.computeoptimizer.model.RecommendationExportJob
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RecommendationExportJob.Builder,RecommendationExportJob>
@Generated("software.amazon.awssdk:codegen") public final class RecommendationExportJob extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecommendationExportJob.Builder,RecommendationExportJob>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRecommendationExportJob.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecommendationExportJob.Builderbuilder()InstantcreationTimestamp()The timestamp of when the export job was created.ExportDestinationdestination()An object that describes the destination of the export file.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureReason()The reason for an export job failure.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobId()The identification number of the export job.InstantlastUpdatedTimestamp()The timestamp of when the export job was last updated.ResourceTyperesourceType()The resource type of the exported recommendations.StringresourceTypeAsString()The resource type of the exported recommendations.List<SdkField<?>>sdkFields()static Class<? extends RecommendationExportJob.Builder>serializableBuilderClass()JobStatusstatus()The status of the export job.StringstatusAsString()The status of the export job.RecommendationExportJob.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
jobId
public final String jobId()
The identification number of the export job.
- Returns:
- The identification number of the export job.
-
destination
public final ExportDestination destination()
An object that describes the destination of the export file.
- Returns:
- An object that describes the destination of the export file.
-
resourceType
public final ResourceType resourceType()
The resource type of the exported recommendations.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The resource type of the exported recommendations.
- See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The resource type of the exported recommendations.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The resource type of the exported recommendations.
- See Also:
ResourceType
-
status
public final JobStatus status()
The status of the export job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the export job.
- See Also:
JobStatus
-
statusAsString
public final String statusAsString()
The status of the export job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the export job.
- See Also:
JobStatus
-
creationTimestamp
public final Instant creationTimestamp()
The timestamp of when the export job was created.
- Returns:
- The timestamp of when the export job was created.
-
lastUpdatedTimestamp
public final Instant lastUpdatedTimestamp()
The timestamp of when the export job was last updated.
- Returns:
- The timestamp of when the export job was last updated.
-
failureReason
public final String failureReason()
The reason for an export job failure.
- Returns:
- The reason for an export job failure.
-
toBuilder
public RecommendationExportJob.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RecommendationExportJob.Builder,RecommendationExportJob>
-
builder
public static RecommendationExportJob.Builder builder()
-
serializableBuilderClass
public static Class<? extends RecommendationExportJob.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-