Class DescribeScanJobResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeScanJobResponse.Builder,DescribeScanJobResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringReturns the account ID that owns the scan job.final StringAn Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVaultfinal StringThe name of a logical container where backups are stored.builder()final InstantThe date and time that a backup index finished creation, in Unix format and Coordinated Universal Time (UTC).final ScanJobCreatorReturns the value of the CreatedBy property for this object.final InstantThe date and time that a backup index finished creation, in Unix format and Coordinated Universal Time (UTC).final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkResponse.final inthashCode()final StringAn Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,arn:aws:iam::123456789012:role/S3Access.final MalwareScannerThe scanning engine used for the corresponding scan job.final StringThe scanning engine used for the corresponding scan job.final StringAn ARN that uniquely identifies the target recovery point for scanning.; for example,arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.final StringAn ARN that uniquely identifies the source resource of the corresponding recovery point ARN.final StringThe non-unique name of the resource that belongs to the specified backup.final ScanResourceTypeThe type of Amazon Web Services Resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume.final StringThe type of Amazon Web Services Resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume.final StringAn ARN that uniquely identifies the base recovery point for scanning.final StringscanId()The scan ID generated by Amazon GuardDuty for the corresponding Scan Job ID request from Backup.final StringThe scan job ID that uniquely identified the request to Backup.final ScanModescanMode()Specifies the scan type used for the scan job.final StringSpecifies the scan type used for the scan job.final StringSpecifies the scanner IAM role ARN used to for the scan job.final ScanResultInfoContains theScanResultsStatusfor the scanning job and returnsTHREATS_FOUNDorNO_THREATS_FOUNDfor completed jobs.static Class<? extends DescribeScanJobResponse.Builder> final ScanStatestate()The current state of a scan job.final StringThe current state of a scan job.final StringA detailed message explaining the status of the job to back up a resource.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.services.backup.model.BackupResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
accountId
Returns the account ID that owns the scan job.
Pattern:
^[0-9]{12}$- Returns:
- Returns the account ID that owns the scan job.
Pattern:
^[0-9]{12}$
-
backupVaultArn
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault- Returns:
- An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault
-
backupVaultName
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created.
Pattern:
^[a-zA-Z0-9\-\_\.]{2,50}$- Returns:
- The name of a logical container where backups are stored. Backup vaults are identified by names that are
unique to the account used to create them and the Amazon Web Services Region where they are created.
Pattern:
^[a-zA-Z0-9\-\_\.]{2,50}$
-
completionDate
The date and time that a backup index finished creation, in Unix format and Coordinated Universal Time (UTC). The value of
CompletionDateis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- The date and time that a backup index finished creation, in Unix format and Coordinated Universal Time
(UTC). The value of
CompletionDateis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
-
createdBy
Returns the value of the CreatedBy property for this object.- Returns:
- The value of the CreatedBy property for this object.
-
creationDate
The date and time that a backup index finished creation, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDateis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- The date and time that a backup index finished creation, in Unix format and Coordinated Universal Time
(UTC). The value of
CreationDateis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
-
iamRoleArn
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:iam::123456789012:role/S3Access.- Returns:
- An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:iam::123456789012:role/S3Access.
-
malwareScanner
The scanning engine used for the corresponding scan job. Currently only
GUARDUTYis supported.If the service returns an enum value that is not available in the current SDK version,
malwareScannerwill returnMalwareScanner.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommalwareScannerAsString().- Returns:
- The scanning engine used for the corresponding scan job. Currently only
GUARDUTYis supported. - See Also:
-
malwareScannerAsString
The scanning engine used for the corresponding scan job. Currently only
GUARDUTYis supported.If the service returns an enum value that is not available in the current SDK version,
malwareScannerwill returnMalwareScanner.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommalwareScannerAsString().- Returns:
- The scanning engine used for the corresponding scan job. Currently only
GUARDUTYis supported. - See Also:
-
recoveryPointArn
An ARN that uniquely identifies the target recovery point for scanning.; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.- Returns:
- An ARN that uniquely identifies the target recovery point for scanning.; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
-
resourceArn
An ARN that uniquely identifies the source resource of the corresponding recovery point ARN.
- Returns:
- An ARN that uniquely identifies the source resource of the corresponding recovery point ARN.
-
resourceName
The non-unique name of the resource that belongs to the specified backup.
- Returns:
- The non-unique name of the resource that belongs to the specified backup.
-
resourceType
The type of Amazon Web Services Resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume.
Pattern:
^[a-zA-Z0-9\-\_\.]{1,50}$If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnScanResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of Amazon Web Services Resource to be backed up; for example, an Amazon Elastic Block Store
(Amazon EBS) volume.
Pattern:
^[a-zA-Z0-9\-\_\.]{1,50}$ - See Also:
-
resourceTypeAsString
The type of Amazon Web Services Resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume.
Pattern:
^[a-zA-Z0-9\-\_\.]{1,50}$If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnScanResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of Amazon Web Services Resource to be backed up; for example, an Amazon Elastic Block Store
(Amazon EBS) volume.
Pattern:
^[a-zA-Z0-9\-\_\.]{1,50}$ - See Also:
-
scanBaseRecoveryPointArn
An ARN that uniquely identifies the base recovery point for scanning. This field will only be populated when an incremental scan job has taken place.
- Returns:
- An ARN that uniquely identifies the base recovery point for scanning. This field will only be populated when an incremental scan job has taken place.
-
scanId
The scan ID generated by Amazon GuardDuty for the corresponding Scan Job ID request from Backup.
- Returns:
- The scan ID generated by Amazon GuardDuty for the corresponding Scan Job ID request from Backup.
-
scanJobId
The scan job ID that uniquely identified the request to Backup.
- Returns:
- The scan job ID that uniquely identified the request to Backup.
-
scanMode
Specifies the scan type used for the scan job.
If the service returns an enum value that is not available in the current SDK version,
scanModewill returnScanMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanModeAsString().- Returns:
- Specifies the scan type used for the scan job.
- See Also:
-
scanModeAsString
Specifies the scan type used for the scan job.
If the service returns an enum value that is not available in the current SDK version,
scanModewill returnScanMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanModeAsString().- Returns:
- Specifies the scan type used for the scan job.
- See Also:
-
scanResult
Contains the
ScanResultsStatusfor the scanning job and returnsTHREATS_FOUNDorNO_THREATS_FOUNDfor completed jobs.- Returns:
- Contains the
ScanResultsStatusfor the scanning job and returnsTHREATS_FOUNDorNO_THREATS_FOUNDfor completed jobs.
-
scannerRoleArn
Specifies the scanner IAM role ARN used to for the scan job.
- Returns:
- Specifies the scanner IAM role ARN used to for the scan job.
-
state
The current state of a scan job.
If the service returns an enum value that is not available in the current SDK version,
statewill returnScanState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of a scan job.
- See Also:
-
stateAsString
The current state of a scan job.
If the service returns an enum value that is not available in the current SDK version,
statewill returnScanState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of a scan job.
- See Also:
-
statusMessage
A detailed message explaining the status of the job to back up a resource.
- Returns:
- A detailed message explaining the status of the job to back up a resource.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeScanJobResponse.Builder,DescribeScanJobResponse> - Specified by:
toBuilderin classAwsResponse- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
Description copied from class:SdkResponseUsed to retrieve the value of a field from any class that extendsSdkResponse. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkResponse.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkResponse- Parameters:
fieldName- The name of the member to be retrieved.clazz- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-