Package software.amazon.awscdk
Class PolicyValidationPluginReportBeta1.Builder
java.lang.Object
software.amazon.awscdk.PolicyValidationPluginReportBeta1.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PolicyValidationPluginReportBeta1>
- Enclosing interface:
PolicyValidationPluginReportBeta1
@Stability(Deprecated)
@Deprecated
public static final class PolicyValidationPluginReportBeta1.Builder
extends Object
implements software.amazon.jsii.Builder<PolicyValidationPluginReportBeta1>
Deprecated.
A builder for
PolicyValidationPluginReportBeta1-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.Deprecated.pluginVersion(String pluginVersion) Deprecated.Deprecated.violations(List<? extends PolicyViolationBeta1> violations) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
success
@Stability(Deprecated) @Deprecated public PolicyValidationPluginReportBeta1.Builder success(Boolean success) Deprecated.Sets the value ofPolicyValidationPluginReportBeta1.getSuccess()- Parameters:
success- Whether or not the report was successful. This parameter is required.- Returns:
this
-
violations
@Stability(Deprecated) @Deprecated public PolicyValidationPluginReportBeta1.Builder violations(List<? extends PolicyViolationBeta1> violations) Deprecated.Sets the value ofPolicyValidationPluginReportBeta1.getViolations()- Parameters:
violations- List of violations in the report. This parameter is required.- Returns:
this
-
metadata
@Stability(Deprecated) @Deprecated public PolicyValidationPluginReportBeta1.Builder metadata(Map<String, String> metadata) Deprecated.Sets the value ofPolicyValidationPluginReportBeta1.getMetadata()- Parameters:
metadata- Arbitrary information about the report.- Returns:
this
-
pluginVersion
@Stability(Deprecated) @Deprecated public PolicyValidationPluginReportBeta1.Builder pluginVersion(String pluginVersion) Deprecated.Sets the value ofPolicyValidationPluginReportBeta1.getPluginVersion()- Parameters:
pluginVersion- The version of the plugin that created the report.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PolicyValidationPluginReportBeta1>- Returns:
- a new instance of
PolicyValidationPluginReportBeta1 - Throws:
NullPointerException- if any required attribute was not provided
-