@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeRestoreJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeRestoreJobResult() |
Modifier and Type | Method and Description |
---|---|
DescribeRestoreJobResult |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
Returns the account ID that owns the restore job.
|
Long |
getBackupSizeInBytes()
The size, in bytes, of the restored resource.
|
Date |
getCompletionDate()
The date and time that a job to restore a recovery point is completed, in Unix format and Coordinated Universal
Time (UTC).
|
String |
getCreatedResourceArn()
An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored.
|
Date |
getCreationDate()
The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC).
|
Long |
getExpectedCompletionTimeMinutes()
The amount of time in minutes that a job restoring a recovery point is expected to take.
|
String |
getIamRoleArn()
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access . |
String |
getPercentDone()
Contains an estimated percentage that is complete of a job at the time the job status was queried.
|
String |
getRecoveryPointArn()
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 . |
String |
getResourceType()
Returns metadata associated with a restore job listed by resource type.
|
String |
getRestoreJobId()
Uniquely identifies the job that restores a recovery point.
|
String |
getStatus()
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
|
String |
getStatusMessage()
A message showing the status of a job to restore a recovery point.
|
int |
hashCode() |
void |
setAccountId(String accountId)
Returns the account ID that owns the restore job.
|
void |
setBackupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of the restored resource.
|
void |
setCompletionDate(Date completionDate)
The date and time that a job to restore a recovery point is completed, in Unix format and Coordinated Universal
Time (UTC).
|
void |
setCreatedResourceArn(String createdResourceArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored.
|
void |
setCreationDate(Date creationDate)
The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC).
|
void |
setExpectedCompletionTimeMinutes(Long expectedCompletionTimeMinutes)
The amount of time in minutes that a job restoring a recovery point is expected to take.
|
void |
setIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access . |
void |
setPercentDone(String percentDone)
Contains an estimated percentage that is complete of a job at the time the job status was queried.
|
void |
setRecoveryPointArn(String 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 . |
void |
setResourceType(String resourceType)
Returns metadata associated with a restore job listed by resource type.
|
void |
setRestoreJobId(String restoreJobId)
Uniquely identifies the job that restores a recovery point.
|
void |
setStatus(String status)
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
|
void |
setStatusMessage(String statusMessage)
A message showing the status of a job to restore a recovery point.
|
String |
toString()
Returns a string representation of this object.
|
DescribeRestoreJobResult |
withAccountId(String accountId)
Returns the account ID that owns the restore job.
|
DescribeRestoreJobResult |
withBackupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of the restored resource.
|
DescribeRestoreJobResult |
withCompletionDate(Date completionDate)
The date and time that a job to restore a recovery point is completed, in Unix format and Coordinated Universal
Time (UTC).
|
DescribeRestoreJobResult |
withCreatedResourceArn(String createdResourceArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored.
|
DescribeRestoreJobResult |
withCreationDate(Date creationDate)
The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC).
|
DescribeRestoreJobResult |
withExpectedCompletionTimeMinutes(Long expectedCompletionTimeMinutes)
The amount of time in minutes that a job restoring a recovery point is expected to take.
|
DescribeRestoreJobResult |
withIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access . |
DescribeRestoreJobResult |
withPercentDone(String percentDone)
Contains an estimated percentage that is complete of a job at the time the job status was queried.
|
DescribeRestoreJobResult |
withRecoveryPointArn(String 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 . |
DescribeRestoreJobResult |
withResourceType(String resourceType)
Returns metadata associated with a restore job listed by resource type.
|
DescribeRestoreJobResult |
withRestoreJobId(String restoreJobId)
Uniquely identifies the job that restores a recovery point.
|
DescribeRestoreJobResult |
withStatus(RestoreJobStatus status)
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
|
DescribeRestoreJobResult |
withStatus(String status)
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
|
DescribeRestoreJobResult |
withStatusMessage(String statusMessage)
A message showing the status of a job to restore a recovery point.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAccountId(String accountId)
Returns the account ID that owns the restore job.
accountId
- Returns the account ID that owns the restore job.public String getAccountId()
Returns the account ID that owns the restore job.
public DescribeRestoreJobResult withAccountId(String accountId)
Returns the account ID that owns the restore job.
accountId
- Returns the account ID that owns the restore job.public void setRestoreJobId(String restoreJobId)
Uniquely identifies the job that restores a recovery point.
restoreJobId
- Uniquely identifies the job that restores a recovery point.public String getRestoreJobId()
Uniquely identifies the job that restores a recovery point.
public DescribeRestoreJobResult withRestoreJobId(String restoreJobId)
Uniquely identifies the job that restores a recovery point.
restoreJobId
- Uniquely identifies the job that restores a recovery point.public void setRecoveryPointArn(String 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
.
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
.public String getRecoveryPointArn()
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.public DescribeRestoreJobResult withRecoveryPointArn(String 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
.
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
.public void setCreationDate(Date creationDate)
The date and time that 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.
creationDate
- The date and time that 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.public Date getCreationDate()
The date and time that 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.
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public DescribeRestoreJobResult withCreationDate(Date creationDate)
The date and time that 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.
creationDate
- The date and time that 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.public void setCompletionDate(Date completionDate)
The date and time that 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.
completionDate
- The date and time that 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.public Date getCompletionDate()
The date and time that 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.
CompletionDate
is accurate to milliseconds. For example,
the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public DescribeRestoreJobResult withCompletionDate(Date completionDate)
The date and time that 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.
completionDate
- The date and time that 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.public void setStatus(String status)
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
status
- Status code specifying the state of the job that is initiated by Backup to restore a recovery point.RestoreJobStatus
public String getStatus()
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
RestoreJobStatus
public DescribeRestoreJobResult withStatus(String status)
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
status
- Status code specifying the state of the job that is initiated by Backup to restore a recovery point.RestoreJobStatus
public DescribeRestoreJobResult withStatus(RestoreJobStatus status)
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
status
- Status code specifying the state of the job that is initiated by Backup to restore a recovery point.RestoreJobStatus
public void setStatusMessage(String statusMessage)
A message showing the status of a job to restore a recovery point.
statusMessage
- A message showing the status of a job to restore a recovery point.public String getStatusMessage()
A message showing the status of a job to restore a recovery point.
public DescribeRestoreJobResult withStatusMessage(String statusMessage)
A message showing the status of a job to restore a recovery point.
statusMessage
- A message showing the status of a job to restore a recovery point.public void setPercentDone(String percentDone)
Contains an estimated percentage that is complete of a job at the time the job status was queried.
percentDone
- Contains an estimated percentage that is complete of a job at the time the job status was queried.public String getPercentDone()
Contains an estimated percentage that is complete of a job at the time the job status was queried.
public DescribeRestoreJobResult withPercentDone(String percentDone)
Contains an estimated percentage that is complete of a job at the time the job status was queried.
percentDone
- Contains an estimated percentage that is complete of a job at the time the job status was queried.public void setBackupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of the restored resource.
backupSizeInBytes
- The size, in bytes, of the restored resource.public Long getBackupSizeInBytes()
The size, in bytes, of the restored resource.
public DescribeRestoreJobResult withBackupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of the restored resource.
backupSizeInBytes
- The size, in bytes, of the restored resource.public void setIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.
iamRoleArn
- Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.public String getIamRoleArn()
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.
arn:aws:iam::123456789012:role/S3Access
.public DescribeRestoreJobResult withIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.
iamRoleArn
- Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.public void setExpectedCompletionTimeMinutes(Long expectedCompletionTimeMinutes)
The amount of time in minutes that a job restoring a recovery point is expected to take.
expectedCompletionTimeMinutes
- The amount of time in minutes that a job restoring a recovery point is expected to take.public Long getExpectedCompletionTimeMinutes()
The amount of time in minutes that a job restoring a recovery point is expected to take.
public DescribeRestoreJobResult withExpectedCompletionTimeMinutes(Long expectedCompletionTimeMinutes)
The amount of time in minutes that a job restoring a recovery point is expected to take.
expectedCompletionTimeMinutes
- The amount of time in minutes that a job restoring a recovery point is expected to take.public void setCreatedResourceArn(String createdResourceArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored. The format of the ARN depends on the resource type of the backed-up resource.
createdResourceArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored.
The format of the ARN depends on the resource type of the backed-up resource.public String getCreatedResourceArn()
An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored. The format of the ARN depends on the resource type of the backed-up resource.
public DescribeRestoreJobResult withCreatedResourceArn(String createdResourceArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored. The format of the ARN depends on the resource type of the backed-up resource.
createdResourceArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored.
The format of the ARN depends on the resource type of the backed-up resource.public void setResourceType(String resourceType)
Returns metadata associated with a restore job listed by resource type.
resourceType
- Returns metadata associated with a restore job listed by resource type.public String getResourceType()
Returns metadata associated with a restore job listed by resource type.
public DescribeRestoreJobResult withResourceType(String resourceType)
Returns metadata associated with a restore job listed by resource type.
resourceType
- Returns metadata associated with a restore job listed by resource type.public String toString()
toString
in class Object
Object.toString()
public DescribeRestoreJobResult clone()