Interface AssessmentSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AssessmentSummary.Builder,,AssessmentSummary> SdkBuilder<AssessmentSummary.Builder,,AssessmentSummary> SdkPojo
- Enclosing class:
AssessmentSummary
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssessmentSummary.Builderachievability(Consumer<Achievability.Builder> achievability) The achievability results from the assessment.achievability(Achievability achievability) The achievability results from the assessment.default AssessmentSummary.BuilderassessmentCost(Consumer<AssessmentCost.Builder> assessmentCost) The cost of the assessment.assessmentCost(AssessmentCost assessmentCost) The cost of the assessment.assessmentId(String assessmentId) The unique identifier of the assessment.assessmentStatus(String assessmentStatus) The current status of the assessment.assessmentStatus(AssessmentStatus assessmentStatus) The current status of the assessment.assessmentStep(String assessmentStep) The current step of the assessment process.assessmentStep(AssessmentStep assessmentStep) The current step of the assessment process.billableAssessmentUnitCount(Integer billableAssessmentUnitCount) The number of billable assessment units consumed by the assessment.The timestamp when the assessment ended.The error code if the assessment failed.errorCode(AssessmentErrorCode errorCode) The error code if the assessment failed.errorMessage(String errorMessage) A message describing the error if the assessment failed.serviceArn(String serviceArn) Sets the value of the ServiceArn property for this object.The timestamp when the assessment started.totalFindings(Integer totalFindings) The total number of findings generated by the assessment.Methods 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, sdkFields
-
Method Details
-
assessmentId
The unique identifier of the assessment.
- Parameters:
assessmentId- The unique identifier of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceArn
Sets the value of the ServiceArn property for this object.- Parameters:
serviceArn- The new value for the ServiceArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentStatus
The current status of the assessment.
- Parameters:
assessmentStatus- The current status of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assessmentStatus
The current status of the assessment.
- Parameters:
assessmentStatus- The current status of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assessmentStep
The current step of the assessment process.
- Parameters:
assessmentStep- The current step of the assessment process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assessmentStep
The current step of the assessment process.
- Parameters:
assessmentStep- The current step of the assessment process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalFindings
The total number of findings generated by the assessment.
- Parameters:
totalFindings- The total number of findings generated by the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The timestamp when the assessment started.
- Parameters:
startedAt- The timestamp when the assessment started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
The timestamp when the assessment ended.
- Parameters:
endedAt- The timestamp when the assessment ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
A message describing the error if the assessment failed.
- Parameters:
errorMessage- A message describing the error if the assessment failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
The error code if the assessment failed.
- Parameters:
errorCode- The error code if the assessment failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The error code if the assessment failed.
- Parameters:
errorCode- The error code if the assessment failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assessmentCost
The cost of the assessment.
- Parameters:
assessmentCost- The cost of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentCost
The cost of the assessment.
This is a convenience method that creates an instance of theAssessmentCost.Builderavoiding the need to create one manually viaAssessmentCost.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassessmentCost(AssessmentCost).- Parameters:
assessmentCost- a consumer that will call methods onAssessmentCost.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
billableAssessmentUnitCount
The number of billable assessment units consumed by the assessment.
- Parameters:
billableAssessmentUnitCount- The number of billable assessment units consumed by the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
achievability
The achievability results from the assessment.
- Parameters:
achievability- The achievability results from the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
achievability
The achievability results from the assessment.
This is a convenience method that creates an instance of theAchievability.Builderavoiding the need to create one manually viaAchievability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toachievability(Achievability).- Parameters:
achievability- a consumer that will call methods onAchievability.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-