@Generated(value="software.amazon.awssdk:codegen") public final class GetScanResponse extends CodeGuruSecurityResponse implements ToCopyableBuilder<GetScanResponse.Builder,GetScanResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetScanResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
AnalysisType |
analysisType()
The type of analysis CodeGuru Security performed in the scan, either
Security or All. |
String |
analysisTypeAsString()
The type of analysis CodeGuru Security performed in the scan, either
Security or All. |
static GetScanResponse.Builder |
builder() |
Instant |
createdAt()
The time the scan was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
numberOfRevisions()
The number of times a scan has been re-run on a revised resource.
|
String |
runId()
UUID that identifies the individual scan run.
|
String |
scanName()
The name of the scan.
|
String |
scanNameArn()
The ARN for the scan name.
|
ScanState |
scanState()
The current state of the scan.
|
String |
scanStateAsString()
The current state of the scan.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetScanResponse.Builder> |
serializableBuilderClass() |
GetScanResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The time when the scan was last updated.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AnalysisType analysisType()
The type of analysis CodeGuru Security performed in the scan, either Security or All.
The Security type only generates findings related to security. The All type generates
both security findings and quality findings.
If the service returns an enum value that is not available in the current SDK version, analysisType will
return AnalysisType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
analysisTypeAsString().
Security or
All. The Security type only generates findings related to security. The
All type generates both security findings and quality findings.AnalysisTypepublic final String analysisTypeAsString()
The type of analysis CodeGuru Security performed in the scan, either Security or All.
The Security type only generates findings related to security. The All type generates
both security findings and quality findings.
If the service returns an enum value that is not available in the current SDK version, analysisType will
return AnalysisType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
analysisTypeAsString().
Security or
All. The Security type only generates findings related to security. The
All type generates both security findings and quality findings.AnalysisTypepublic final Instant createdAt()
The time the scan was created.
public final Long numberOfRevisions()
The number of times a scan has been re-run on a revised resource.
public final String runId()
UUID that identifies the individual scan run.
public final String scanName()
The name of the scan.
public final String scanNameArn()
The ARN for the scan name.
public final ScanState scanState()
The current state of the scan. Pass either InProgress, Successful, or
Failed.
If the service returns an enum value that is not available in the current SDK version, scanState will
return ScanState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scanStateAsString().
InProgress, Successful, or
Failed.ScanStatepublic final String scanStateAsString()
The current state of the scan. Pass either InProgress, Successful, or
Failed.
If the service returns an enum value that is not available in the current SDK version, scanState will
return ScanState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scanStateAsString().
InProgress, Successful, or
Failed.ScanStatepublic final Instant updatedAt()
The time when the scan was last updated. Only available for STANDARD scan types.
STANDARD scan types.public GetScanResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetScanResponse.Builder,GetScanResponse>toBuilder in class AwsResponsepublic static GetScanResponse.Builder builder()
public static Class<? extends GetScanResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.