Class RestoreJobsListMember
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<RestoreJobsListMember.Builder,
RestoreJobsListMember>
Contains metadata about a restore job.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
The account ID that owns the restore job.final Long
The size, in bytes, of the restored resource.builder()
final Instant
The date and time a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC).final String
An Amazon Resource Name (ARN) that uniquely identifies a resource.final Instant
The date and time a restore job is created, in Unix format and Coordinated Universal Time (UTC).final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Long
The amount of time in minutes that a job restoring a recovery point is expected to take.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
Specifies the IAM role ARN used to create the target recovery point; for example,arn:aws:iam::123456789012:role/S3Access
.final String
Contains an estimated percentage complete of a job at the time the job status was queried.final String
An ARN that uniquely identifies a recovery point; for example,arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.final String
The resource type of the listed restore jobs; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.final String
Uniquely identifies the job that restores a recovery point.static Class
<? extends RestoreJobsListMember.Builder> final RestoreJobStatus
status()
A status code specifying the state of the job initiated by Backup to restore a recovery point.final String
A status code specifying the state of the job initiated by Backup to restore a recovery point.final String
A detailed message explaining the status of the job to restore a recovery point.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
accountId
The account ID that owns the restore job.
- Returns:
- The account ID that owns the restore job.
-
restoreJobId
Uniquely identifies the job that restores a recovery point.
- Returns:
- Uniquely identifies the job that restores a recovery point.
-
recoveryPointArn
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.- Returns:
- An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
-
creationDate
The date and time a restore job is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- The date and time a restore job is created, in Unix format and Coordinated Universal Time (UTC). The
value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
-
completionDate
The date and time a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of
CompletionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- The date and time a job to restore a recovery point is completed, in Unix format and Coordinated
Universal Time (UTC). The value of
CompletionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
-
status
A status code specifying the state of the job initiated by Backup to restore a recovery point.
If the service returns an enum value that is not available in the current SDK version,
status
will returnRestoreJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- A status code specifying the state of the job initiated by Backup to restore a recovery point.
- See Also:
-
statusAsString
A status code specifying the state of the job initiated by Backup to restore a recovery point.
If the service returns an enum value that is not available in the current SDK version,
status
will returnRestoreJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- A status code specifying the state of the job initiated by Backup to restore a recovery point.
- See Also:
-
statusMessage
A detailed message explaining the status of the job to restore a recovery point.
- Returns:
- A detailed message explaining the status of the job to restore a recovery point.
-
percentDone
Contains an estimated percentage complete of a job at the time the job status was queried.
- Returns:
- Contains an estimated percentage complete of a job at the time the job status was queried.
-
backupSizeInBytes
The size, in bytes, of the restored resource.
- Returns:
- The size, in bytes, of the restored resource.
-
iamRoleArn
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.- Returns:
- Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.
-
expectedCompletionTimeMinutes
The amount of time in minutes that a job restoring a recovery point is expected to take.
- Returns:
- The amount of time in minutes that a job restoring a recovery point is expected to take.
-
createdResourceArn
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
- Returns:
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
-
resourceType
The resource type of the listed restore jobs; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
- Returns:
- The resource type of the listed restore jobs; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<RestoreJobsListMember.Builder,
RestoreJobsListMember> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-