Class CreateScanResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityResponse
-
- software.amazon.awssdk.services.codegurusecurity.model.CreateScanResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateScanResponse.Builder,CreateScanResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateScanResponse extends CodeGuruSecurityResponse implements ToCopyableBuilder<CreateScanResponse.Builder,CreateScanResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateScanResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateScanResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResourceIdresourceId()The identifier for the resource object that contains resources that were scanned.StringrunId()UUID that identifies the individual scan run.StringscanName()The name of the scan.StringscanNameArn()The ARN for the scan name.ScanStatescanState()The current state of the scan.StringscanStateAsString()The current state of the scan.List<SdkField<?>>sdkFields()static Class<? extends CreateScanResponse.Builder>serializableBuilderClass()CreateScanResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceId
public final ResourceId resourceId()
The identifier for the resource object that contains resources that were scanned.
- Returns:
- The identifier for the resource object that contains resources that were scanned.
-
runId
public final String runId()
UUID that identifies the individual scan run.
- Returns:
- UUID that identifies the individual scan run.
-
scanName
public final String scanName()
The name of the scan.
- Returns:
- The name of the scan.
-
scanNameArn
public final String scanNameArn()
The ARN for the scan name.
- Returns:
- The ARN for the scan name.
-
scanState
public final ScanState scanState()
The current state of the scan. Returns either
InProgress,Successful, orFailed.If the service returns an enum value that is not available in the current SDK version,
scanStatewill returnScanState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanStateAsString().- Returns:
- The current state of the scan. Returns either
InProgress,Successful, orFailed. - See Also:
ScanState
-
scanStateAsString
public final String scanStateAsString()
The current state of the scan. Returns either
InProgress,Successful, orFailed.If the service returns an enum value that is not available in the current SDK version,
scanStatewill returnScanState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanStateAsString().- Returns:
- The current state of the scan. Returns either
InProgress,Successful, orFailed. - See Also:
ScanState
-
toBuilder
public CreateScanResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateScanResponse.Builder,CreateScanResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateScanResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateScanResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-