Class CfnAssessmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.auditmanager.CfnAssessmentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssessmentProps>
- Enclosing interface:
CfnAssessmentProps
@Stability(Stable)
public static final class CfnAssessmentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssessmentProps>
A builder for
CfnAssessmentProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassessmentReportsDestination(IResolvable assessmentReportsDestination) Sets the value ofCfnAssessmentProps.getAssessmentReportsDestination()assessmentReportsDestination(CfnAssessment.AssessmentReportsDestinationProperty assessmentReportsDestination) Sets the value ofCfnAssessmentProps.getAssessmentReportsDestination()awsAccount(IResolvable awsAccount) Sets the value ofCfnAssessmentProps.getAwsAccount()awsAccount(CfnAssessment.AWSAccountProperty awsAccount) Sets the value ofCfnAssessmentProps.getAwsAccount()build()Builds the configured instance.delegations(List<? extends Object> delegations) Sets the value ofCfnAssessmentProps.getDelegations()delegations(IResolvable delegations) Sets the value ofCfnAssessmentProps.getDelegations()description(String description) Sets the value ofCfnAssessmentProps.getDescription()frameworkId(String frameworkId) Sets the value ofCfnAssessmentProps.getFrameworkId()Sets the value ofCfnAssessmentProps.getName()Sets the value ofCfnAssessmentProps.getRoles()roles(IResolvable roles) Sets the value ofCfnAssessmentProps.getRoles()scope(IResolvable scope) Sets the value ofCfnAssessmentProps.getScope()scope(CfnAssessment.ScopeProperty scope) Sets the value ofCfnAssessmentProps.getScope()Sets the value ofCfnAssessmentProps.getStatus()Sets the value ofCfnAssessmentProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assessmentReportsDestination
@Stability(Stable) public CfnAssessmentProps.Builder assessmentReportsDestination(IResolvable assessmentReportsDestination) Sets the value ofCfnAssessmentProps.getAssessmentReportsDestination()- Parameters:
assessmentReportsDestination- The destination that evidence reports are stored in for the assessment.- Returns:
this
-
assessmentReportsDestination
@Stability(Stable) public CfnAssessmentProps.Builder assessmentReportsDestination(CfnAssessment.AssessmentReportsDestinationProperty assessmentReportsDestination) Sets the value ofCfnAssessmentProps.getAssessmentReportsDestination()- Parameters:
assessmentReportsDestination- The destination that evidence reports are stored in for the assessment.- Returns:
this
-
awsAccount
Sets the value ofCfnAssessmentProps.getAwsAccount()- Parameters:
awsAccount- The AWS account that's associated with the assessment.- Returns:
this
-
awsAccount
@Stability(Stable) public CfnAssessmentProps.Builder awsAccount(CfnAssessment.AWSAccountProperty awsAccount) Sets the value ofCfnAssessmentProps.getAwsAccount()- Parameters:
awsAccount- The AWS account that's associated with the assessment.- Returns:
this
-
delegations
Sets the value ofCfnAssessmentProps.getDelegations()- Parameters:
delegations- The delegations that are associated with the assessment.- Returns:
this
-
delegations
@Stability(Stable) public CfnAssessmentProps.Builder delegations(List<? extends Object> delegations) Sets the value ofCfnAssessmentProps.getDelegations()- Parameters:
delegations- The delegations that are associated with the assessment.- Returns:
this
-
description
Sets the value ofCfnAssessmentProps.getDescription()- Parameters:
description- The description of the assessment.- Returns:
this
-
frameworkId
Sets the value ofCfnAssessmentProps.getFrameworkId()- Parameters:
frameworkId- The unique identifier for the framework.- Returns:
this
-
name
Sets the value ofCfnAssessmentProps.getName()- Parameters:
name- The name of the assessment.- Returns:
this
-
roles
Sets the value ofCfnAssessmentProps.getRoles()- Parameters:
roles- The roles that are associated with the assessment.- Returns:
this
-
roles
Sets the value ofCfnAssessmentProps.getRoles()- Parameters:
roles- The roles that are associated with the assessment.- Returns:
this
-
scope
Sets the value ofCfnAssessmentProps.getScope()- Parameters:
scope- The wrapper of AWS accounts and services that are in scope for the assessment.- Returns:
this
-
scope
Sets the value ofCfnAssessmentProps.getScope()- Parameters:
scope- The wrapper of AWS accounts and services that are in scope for the assessment.- Returns:
this
-
status
Sets the value ofCfnAssessmentProps.getStatus()- Parameters:
status- The overall status of the assessment.- Returns:
this
-
tags
Sets the value ofCfnAssessmentProps.getTags()- Parameters:
tags- The tags that are associated with the assessment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssessmentProps>- Returns:
- a new instance of
CfnAssessmentProps - Throws:
NullPointerException- if any required attribute was not provided
-