Class CfnAssessment.AssessmentReportsDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.auditmanager.CfnAssessment.AssessmentReportsDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssessment.AssessmentReportsDestinationProperty>
- Enclosing interface:
CfnAssessment.AssessmentReportsDestinationProperty
@Stability(Stable)
public static final class CfnAssessment.AssessmentReportsDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssessment.AssessmentReportsDestinationProperty>
A builder for
CfnAssessment.AssessmentReportsDestinationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destination
(String destination) Sets the value ofCfnAssessment.AssessmentReportsDestinationProperty.getDestination()
destinationType
(String destinationType) Sets the value ofCfnAssessment.AssessmentReportsDestinationProperty.getDestinationType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
@Stability(Stable) public CfnAssessment.AssessmentReportsDestinationProperty.Builder destination(String destination) Sets the value ofCfnAssessment.AssessmentReportsDestinationProperty.getDestination()
- Parameters:
destination
- The destination bucket where Audit Manager stores assessment reports.- Returns:
this
-
destinationType
@Stability(Stable) public CfnAssessment.AssessmentReportsDestinationProperty.Builder destinationType(String destinationType) Sets the value ofCfnAssessment.AssessmentReportsDestinationProperty.getDestinationType()
- Parameters:
destinationType
- The destination type, such as Amazon S3.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAssessment.AssessmentReportsDestinationProperty>
- Returns:
- a new instance of
CfnAssessment.AssessmentReportsDestinationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-