Interface DescribeAssessmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAssessmentResponse.Builder,,DescribeAssessmentResponse> MarketplaceCatalogResponse.Builder,SdkBuilder<DescribeAssessmentResponse.Builder,,DescribeAssessmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeAssessmentResponse
-
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.assessmentTargetSummary(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.controlAssessments(Collection<ControlAssessment> controlAssessments) An array ofControlAssessmentobjects, each containing the result of an individual control evaluated as part of the assessment.controlAssessments(Consumer<ControlAssessment.Builder>... controlAssessments) An array ofControlAssessmentobjects, each containing the result of an individual control evaluated as part of the assessment.controlAssessments(ControlAssessment... controlAssessments) An array ofControlAssessmentobjects, each containing the result of an individual control evaluated as part of the assessment.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).frameworkSummary(Consumer<FrameworkSummary.Builder> frameworkSummary) The framework-specific details of the assessed resource.frameworkSummary(FrameworkSummary frameworkSummary) The framework-specific details of the assessed resource.The value of the next token, if it exists.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.marketplacecatalog.model.MarketplaceCatalogResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
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
DescribeAssessmentResponse.Builder assessmentTargetSummary(AssessmentTargetSummary 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 DescribeAssessmentResponse.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 DescribeAssessmentResponse.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.
-
controlAssessments
DescribeAssessmentResponse.Builder controlAssessments(Collection<ControlAssessment> controlAssessments) An array of
ControlAssessmentobjects, each containing the result of an individual control evaluated as part of the assessment.- Parameters:
controlAssessments- An array ofControlAssessmentobjects, each containing the result of an individual control evaluated as part of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlAssessments
An array of
ControlAssessmentobjects, each containing the result of an individual control evaluated as part of the assessment.- Parameters:
controlAssessments- An array ofControlAssessmentobjects, each containing the result of an individual control evaluated as part of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlAssessments
DescribeAssessmentResponse.Builder controlAssessments(Consumer<ControlAssessment.Builder>... controlAssessments) An array of
This is a convenience method that creates an instance of theControlAssessmentobjects, each containing the result of an individual control evaluated as part of the assessment.ControlAssessment.Builderavoiding the need to create one manually viaControlAssessment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontrolAssessments(List<ControlAssessment>).- Parameters:
controlAssessments- a consumer that will call methods onControlAssessment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The value of the next token, if it exists.
nullif there are no more results.- Parameters:
nextToken- The value of the next token, if it exists.nullif there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-