Interface GetVulnerabilityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<GetVulnerabilityResponse.Builder,,GetVulnerabilityResponse> SdkBuilder<GetVulnerabilityResponse.Builder,,GetVulnerabilityResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetVulnerabilityResponse
@Mutable
@NotThreadSafe
public static interface GetVulnerabilityResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<GetVulnerabilityResponse.Builder,GetVulnerabilityResponse>
-
Method Summary
Modifier and TypeMethodDescriptionadvisoryUrls(String... advisoryUrls) URLs of advisories that describe the vulnerability.advisoryUrls(Collection<String> advisoryUrls) URLs of advisories that describe the vulnerability.analysisState(String analysisState) Amazon Inspector's analysis state.analysisState(VulnerabilityAnalysisState analysisState) Amazon Inspector's analysis state.The CWE numbers of the weaknesses behind the vulnerability.cwes(Collection<Integer> cwes) The CWE numbers of the weaknesses behind the vulnerability.description(String description) A description of the vulnerability.The vulnerability ID.Whether Amazon Inspector classifies this vulnerability as malicious.Amazon Inspector's severity rating.severity(VulnerabilitySeverity severity) Amazon Inspector's severity rating.Methods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
The vulnerability ID.
- Parameters:
id- The vulnerability ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
malicious
Whether Amazon Inspector classifies this vulnerability as malicious.
- Parameters:
malicious- Whether Amazon Inspector classifies this vulnerability as malicious.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
Amazon Inspector's severity rating.
- Parameters:
severity- Amazon Inspector's severity rating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
Amazon Inspector's severity rating.
- Parameters:
severity- Amazon Inspector's severity rating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisState
Amazon Inspector's analysis state.
- Parameters:
analysisState- Amazon Inspector's analysis state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisState
Amazon Inspector's analysis state.
- Parameters:
analysisState- Amazon Inspector's analysis state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the vulnerability.
- Parameters:
description- A description of the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cwes
The CWE numbers of the weaknesses behind the vulnerability.
- Parameters:
cwes- The CWE numbers of the weaknesses behind the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cwes
The CWE numbers of the weaknesses behind the vulnerability.
- Parameters:
cwes- The CWE numbers of the weaknesses behind the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advisoryUrls
URLs of advisories that describe the vulnerability.
- Parameters:
advisoryUrls- URLs of advisories that describe the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advisoryUrls
URLs of advisories that describe the vulnerability.
- Parameters:
advisoryUrls- URLs of advisories that describe the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-