Class ListScanJobsRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListScanJobsRequest.Builder,ListScanJobsRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ListScanJobsRequest.Builderbuilder()final StringThe account ID to list the jobs from.final StringReturns only scan jobs that will be stored in the specified backup vault.final InstantReturns only scan jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).final InstantReturns only backup jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).final MalwareScannerReturns only the scan jobs for the specified malware scanner.final StringReturns only the scan jobs for the specified malware scanner.final StringReturns only the scan jobs that are ran against the specified recovery point.final StringReturns only scan jobs that match the specified resource Amazon Resource Name (ARN).final ScanResourceTypeReturns restore testing selections by the specified restore testing plan name.final StringReturns restore testing selections by the specified restore testing plan name.final ScanResultStatusReturns only the scan jobs for the specified scan results:final StringReturns only the scan jobs for the specified scan results:final ScanStatebyState()Returns only the scan jobs for the specified scanning job state.final StringReturns only the scan jobs for the specified scanning job state.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 extendsSdkRequest.final inthashCode()final IntegerThe maximum number of items to be returned.final StringThe next item following a partial list of returned items.static Class<? extends ListScanJobsRequest.Builder> 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.awscore.AwsRequest
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
byAccountId
The account ID to list the jobs from. Returns only backup jobs associated with the specified account ID.
If used from an Amazon Web Services Organizations management account, passing
*returns all jobs across the organization.Pattern:
^[0-9]{12}$- Returns:
- The account ID to list the jobs from. Returns only backup jobs associated with the specified account
ID.
If used from an Amazon Web Services Organizations management account, passing
*returns all jobs across the organization.Pattern:
^[0-9]{12}$
-
byBackupVaultName
Returns only scan jobs that will be stored in the specified backup vault. 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:
- Returns only scan jobs that will be stored in the specified backup vault. 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}$
-
byCompleteAfter
Returns only scan jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
- Returns:
- Returns only scan jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
-
byCompleteBefore
Returns only backup jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
- Returns:
- Returns only backup jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
-
byMalwareScanner
Returns only the scan jobs for the specified malware scanner. Currently only supports
GUARDDUTY.If the service returns an enum value that is not available in the current SDK version,
byMalwareScannerwill returnMalwareScanner.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyMalwareScannerAsString().- Returns:
- Returns only the scan jobs for the specified malware scanner. Currently only supports
GUARDDUTY. - See Also:
-
byMalwareScannerAsString
Returns only the scan jobs for the specified malware scanner. Currently only supports
GUARDDUTY.If the service returns an enum value that is not available in the current SDK version,
byMalwareScannerwill returnMalwareScanner.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyMalwareScannerAsString().- Returns:
- Returns only the scan jobs for the specified malware scanner. Currently only supports
GUARDDUTY. - See Also:
-
byRecoveryPointArn
Returns only the scan jobs that are ran against the specified recovery point.
- Returns:
- Returns only the scan jobs that are ran against the specified recovery point.
-
byResourceArn
Returns only scan jobs that match the specified resource Amazon Resource Name (ARN).
- Returns:
- Returns only scan jobs that match the specified resource Amazon Resource Name (ARN).
-
byResourceType
Returns restore testing selections by the specified restore testing plan name.
-
EBSfor Amazon Elastic Block Store -
EC2for Amazon Elastic Compute Cloud -
S3for Amazon Simple Storage Service (Amazon S3)
Pattern:
^[a-zA-Z0-9\-\_\.]{1,50}$If the service returns an enum value that is not available in the current SDK version,
byResourceTypewill returnScanResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyResourceTypeAsString().- Returns:
- Returns restore testing selections by the specified restore testing plan name.
-
EBSfor Amazon Elastic Block Store -
EC2for Amazon Elastic Compute Cloud -
S3for Amazon Simple Storage Service (Amazon S3)
Pattern:
^[a-zA-Z0-9\-\_\.]{1,50}$ -
- See Also:
-
-
byResourceTypeAsString
Returns restore testing selections by the specified restore testing plan name.
-
EBSfor Amazon Elastic Block Store -
EC2for Amazon Elastic Compute Cloud -
S3for Amazon Simple Storage Service (Amazon S3)
Pattern:
^[a-zA-Z0-9\-\_\.]{1,50}$If the service returns an enum value that is not available in the current SDK version,
byResourceTypewill returnScanResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyResourceTypeAsString().- Returns:
- Returns restore testing selections by the specified restore testing plan name.
-
EBSfor Amazon Elastic Block Store -
EC2for Amazon Elastic Compute Cloud -
S3for Amazon Simple Storage Service (Amazon S3)
Pattern:
^[a-zA-Z0-9\-\_\.]{1,50}$ -
- See Also:
-
-
byScanResultStatus
Returns only the scan jobs for the specified scan results:
-
THREATS_FOUND -
NO_THREATS_FOUND
If the service returns an enum value that is not available in the current SDK version,
byScanResultStatuswill returnScanResultStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyScanResultStatusAsString().- Returns:
- Returns only the scan jobs for the specified scan results:
-
THREATS_FOUND -
NO_THREATS_FOUND
-
- See Also:
-
-
byScanResultStatusAsString
Returns only the scan jobs for the specified scan results:
-
THREATS_FOUND -
NO_THREATS_FOUND
If the service returns an enum value that is not available in the current SDK version,
byScanResultStatuswill returnScanResultStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyScanResultStatusAsString().- Returns:
- Returns only the scan jobs for the specified scan results:
-
THREATS_FOUND -
NO_THREATS_FOUND
-
- See Also:
-
-
byState
Returns only the scan jobs for the specified scanning job state.
If the service returns an enum value that is not available in the current SDK version,
byStatewill returnScanState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyStateAsString().- Returns:
- Returns only the scan jobs for the specified scanning job state.
- See Also:
-
byStateAsString
Returns only the scan jobs for the specified scanning job state.
If the service returns an enum value that is not available in the current SDK version,
byStatewill returnScanState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombyStateAsString().- Returns:
- Returns only the scan jobs for the specified scanning job state.
- See Also:
-
maxResults
The maximum number of items to be returned.
Valid Range: Minimum value of 1. Maximum value of 1000.
- Returns:
- The maximum number of items to be returned.
Valid Range: Minimum value of 1. Maximum value of 1000.
-
nextToken
The next item following a partial list of returned items. For example, if a request is made to return
MaxResultsnumber of items,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.- Returns:
- The next item following a partial list of returned items. For example, if a request is made to return
MaxResultsnumber of items,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.
-
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<ListScanJobsRequest.Builder,ListScanJobsRequest> - Specified by:
toBuilderin classBackupRequest- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
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:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. 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, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkRequest- 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.
-