Class AssessmentReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.auditmanager.AssessmentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssessmentReference>
- Enclosing interface:
AssessmentReference
@Stability(Stable)
public static final class AssessmentReference.Builder
extends Object
implements software.amazon.jsii.Builder<AssessmentReference>
A builder for
AssessmentReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassessmentArn(String assessmentArn) Sets the value ofAssessmentReference.getAssessmentArn()assessmentId(String assessmentId) Sets the value ofAssessmentReference.getAssessmentId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assessmentArn
Sets the value ofAssessmentReference.getAssessmentArn()- Parameters:
assessmentArn- The ARN of the Assessment resource. This parameter is required.- Returns:
this
-
assessmentId
Sets the value ofAssessmentReference.getAssessmentId()- Parameters:
assessmentId- The AssessmentId of the Assessment resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AssessmentReference>- Returns:
- a new instance of
AssessmentReference - Throws:
NullPointerException- if any required attribute was not provided
-