Interface AssessmentSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AssessmentSummary.Builder,,AssessmentSummary> SdkBuilder<AssessmentSummary.Builder,,AssessmentSummary> SdkPojo
- Enclosing class:
AssessmentSummary
-
Method Summary
Modifier and TypeMethodDescriptionassessmentArn(String assessmentArn) The ARN associated with the assessment.assessmentId(String assessmentId) The unique ID of the assessment.assessmentResult(String assessmentResult) The overall result of the assessment.assessmentResult(AssessmentResult assessmentResult) The overall result of the assessment.default AssessmentSummary.BuilderassessmentTargetSummary(Consumer<AssessmentTargetSummary.Builder> assessmentTargetSummary) Identifies the entity or change set that was assessed.assessmentTargetSummary(AssessmentTargetSummary assessmentTargetSummary) Identifies the entity or change set that was assessed.The date and time the assessment was created, in ISO 8601 format (2018-02-27T13:45:22Z).The date and time the assessment expires, in ISO 8601 format (2018-02-27T13:45:22Z).frameworkId(String frameworkId) The identifier of the framework that was evaluated by this assessment, in the formatframeworkId@version(for example,AMISecurity@1.0).default AssessmentSummary.BuilderframeworkSummary(Consumer<FrameworkSummary.Builder> frameworkSummary) The framework-specific details of the assessed resource.frameworkSummary(FrameworkSummary frameworkSummary) The framework-specific details of the assessed resource.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
-
assessmentArn
The ARN associated with the assessment.
- Parameters:
assessmentArn- The ARN associated with the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentId
The unique ID of the assessment.
- Parameters:
assessmentId- The unique ID of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameworkId
The identifier of the framework that was evaluated by this assessment, in the format
frameworkId@version(for example,AMISecurity@1.0).- Parameters:
frameworkId- The identifier of the framework that was evaluated by this assessment, in the formatframeworkId@version(for example,AMISecurity@1.0).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentTargetSummary
Identifies the entity or change set that was assessed.
- Parameters:
assessmentTargetSummary- Identifies the entity or change set that was assessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentTargetSummary
default AssessmentSummary.Builder assessmentTargetSummary(Consumer<AssessmentTargetSummary.Builder> assessmentTargetSummary) Identifies the entity or change set that was assessed.
This is a convenience method that creates an instance of theAssessmentTargetSummary.Builderavoiding the need to create one manually viaAssessmentTargetSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassessmentTargetSummary(AssessmentTargetSummary).- Parameters:
assessmentTargetSummary- a consumer that will call methods onAssessmentTargetSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
frameworkSummary
The framework-specific details of the assessed resource. The set member corresponds to the framework identified by
FrameworkId.- Parameters:
frameworkSummary- The framework-specific details of the assessed resource. The set member corresponds to the framework identified byFrameworkId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameworkSummary
default AssessmentSummary.Builder frameworkSummary(Consumer<FrameworkSummary.Builder> frameworkSummary) The framework-specific details of the assessed resource. The set member corresponds to the framework identified by
This is a convenience method that creates an instance of theFrameworkId.FrameworkSummary.Builderavoiding the need to create one manually viaFrameworkSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toframeworkSummary(FrameworkSummary).- Parameters:
frameworkSummary- a consumer that will call methods onFrameworkSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assessmentResult
The overall result of the assessment.
- Parameters:
assessmentResult- The overall result of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assessmentResult
The overall result of the assessment.
- Parameters:
assessmentResult- The overall result of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time the assessment was created, in ISO 8601 format (
2018-02-27T13:45:22Z).- Parameters:
createdAt- The date and time the assessment was created, in ISO 8601 format (2018-02-27T13:45:22Z).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAt
The date and time the assessment expires, in ISO 8601 format (
2018-02-27T13:45:22Z).- Parameters:
expiresAt- The date and time the assessment expires, in ISO 8601 format (2018-02-27T13:45:22Z).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-