public static final class CfnAssessment.AssessmentReportsDestinationProperty.Builder
extends java.lang.Object
CfnAssessment.AssessmentReportsDestinationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAssessment.AssessmentReportsDestinationProperty |
build()
Builds the configured instance.
|
CfnAssessment.AssessmentReportsDestinationProperty.Builder |
destination(java.lang.String destination)
Sets the value of
CfnAssessment.AssessmentReportsDestinationProperty.getDestination() |
CfnAssessment.AssessmentReportsDestinationProperty.Builder |
destinationType(java.lang.String destinationType)
Sets the value of
CfnAssessment.AssessmentReportsDestinationProperty.getDestinationType() |
public CfnAssessment.AssessmentReportsDestinationProperty.Builder destination(java.lang.String destination)
CfnAssessment.AssessmentReportsDestinationProperty.getDestination()
destination
- The destination of the assessment report.this
public CfnAssessment.AssessmentReportsDestinationProperty.Builder destinationType(java.lang.String destinationType)
CfnAssessment.AssessmentReportsDestinationProperty.getDestinationType()
destinationType
- The destination type, such as Amazon S3.this
public CfnAssessment.AssessmentReportsDestinationProperty build()
CfnAssessment.AssessmentReportsDestinationProperty
java.lang.NullPointerException
- if any required attribute was not provided