Class PolicyValidationReportJson.Builder
java.lang.Object
software.amazon.awscdk.cloud_assembly_schema.PolicyValidationReportJson.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PolicyValidationReportJson>
- Enclosing interface:
PolicyValidationReportJson
@Stability(Stable)
public static final class PolicyValidationReportJson.Builder
extends Object
implements software.amazon.jsii.Builder<PolicyValidationReportJson>
A builder for
PolicyValidationReportJson-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.pluginReports(List<? extends PluginReportJson> pluginReports) Sets the value ofPolicyValidationReportJson.getPluginReports()Sets the value ofPolicyValidationReportJson.getTitle()Sets the value ofPolicyValidationReportJson.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pluginReports
@Stability(Stable) public PolicyValidationReportJson.Builder pluginReports(List<? extends PluginReportJson> pluginReports) Sets the value ofPolicyValidationReportJson.getPluginReports()- Parameters:
pluginReports- Reports from all validation plugins that ran during synthesis. This parameter is required.- Returns:
this
-
version
Sets the value ofPolicyValidationReportJson.getVersion()- Parameters:
version- Protocol version. This parameter is required.- Returns:
this
-
title
Sets the value ofPolicyValidationReportJson.getTitle()- Parameters:
title- Report title, if present.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PolicyValidationReportJson>- Returns:
- a new instance of
PolicyValidationReportJson - Throws:
NullPointerException- if any required attribute was not provided
-