Class ScanJobSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScanJobSummary.Builder,ScanJobSummary>
Contains summary information about scan jobs, including counts and metadata for a specific time period and criteria.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe account ID that owns the scan jobs included in this summary.static ScanJobSummary.Builderbuilder()final Integercount()The number of scan jobs that match the specified criteria.final InstantendTime()The value of time in number format of a job end time.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) final inthashCode()final MalwareScannerSpecifies the malware scanner used during the scan job.final StringSpecifies the malware scanner used during the scan job.final Stringregion()The Amazon Web Services Region where the scan jobs were executed.final StringThe type of Amazon Web Services resource for the scan jobs included in this summary.final ScanResultStatusThe scan result status for the scan jobs included in this summary.final StringThe scan result status for the scan jobs included in this summary.static Class<? extends ScanJobSummary.Builder> final InstantThe value of time in number format of a job start time.final ScanJobStatusstate()The state of the scan jobs included in this summary.final StringThe state of the scan jobs included in this summary.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 interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
region
The Amazon Web Services Region where the scan jobs were executed.
- Returns:
- The Amazon Web Services Region where the scan jobs were executed.
-
accountId
The account ID that owns the scan jobs included in this summary.
- Returns:
- The account ID that owns the scan jobs included in this summary.
-
state
The state of the scan jobs included in this summary.
Valid values:
CREATED|RUNNING|COMPLETED|COMPLETED_WITH_ISSUES|FAILED|CANCELED.If the service returns an enum value that is not available in the current SDK version,
statewill returnScanJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the scan jobs included in this summary.
Valid values:
CREATED|RUNNING|COMPLETED|COMPLETED_WITH_ISSUES|FAILED|CANCELED. - See Also:
-
stateAsString
The state of the scan jobs included in this summary.
Valid values:
CREATED|RUNNING|COMPLETED|COMPLETED_WITH_ISSUES|FAILED|CANCELED.If the service returns an enum value that is not available in the current SDK version,
statewill returnScanJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the scan jobs included in this summary.
Valid values:
CREATED|RUNNING|COMPLETED|COMPLETED_WITH_ISSUES|FAILED|CANCELED. - See Also:
-
resourceType
The type of Amazon Web Services resource for the scan jobs included in this summary.
- Returns:
- The type of Amazon Web Services resource for the scan jobs included in this summary.
-
count
The number of scan jobs that match the specified criteria.
- Returns:
- The number of scan jobs that match the specified criteria.
-
startTime
The value of time in number format of a job start time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- Returns:
- The value of time in number format of a job start time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
-
endTime
The value of time in number format of a job end time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- Returns:
- The value of time in number format of a job end time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
-
malwareScanner
Specifies the malware scanner used during the scan job. Currently only supports
GUARDDUTY.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:
- Specifies the malware scanner used during the scan job. Currently only supports
GUARDDUTY. - See Also:
-
malwareScannerAsString
Specifies the malware scanner used during the scan job. Currently only supports
GUARDDUTY.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:
- Specifies the malware scanner used during the scan job. Currently only supports
GUARDDUTY. - See Also:
-
scanResultStatus
The scan result status for the scan jobs included in this summary.
Valid values:
THREATS_FOUND|NO_THREATS_FOUND.If the service returns an enum value that is not available in the current SDK version,
scanResultStatuswill returnScanResultStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanResultStatusAsString().- Returns:
- The scan result status for the scan jobs included in this summary.
Valid values:
THREATS_FOUND|NO_THREATS_FOUND. - See Also:
-
scanResultStatusAsString
The scan result status for the scan jobs included in this summary.
Valid values:
THREATS_FOUND|NO_THREATS_FOUND.If the service returns an enum value that is not available in the current SDK version,
scanResultStatuswill returnScanResultStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanResultStatusAsString().- Returns:
- The scan result status for the scan jobs included in this summary.
Valid values:
THREATS_FOUND|NO_THREATS_FOUND. - See Also:
-
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<ScanJobSummary.Builder,ScanJobSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-