Class CfnConnector.HealthIssueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnConnector.HealthIssueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnector.HealthIssueProperty>
- Enclosing interface:
CfnConnector.HealthIssueProperty
@Stability(Stable)
public static final class CfnConnector.HealthIssueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnector.HealthIssueProperty>
A builder for
CfnConnector.HealthIssueProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConnector.HealthIssueProperty.getCode()Sets the value ofCfnConnector.HealthIssueProperty.getMessage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
code
Sets the value ofCfnConnector.HealthIssueProperty.getCode()- Parameters:
code- The code identifying the type of health issue. This parameter is required.- Returns:
this
-
message
Sets the value ofCfnConnector.HealthIssueProperty.getMessage()- Parameters:
message- A human-readable message that describes the health issue. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnector.HealthIssueProperty>- Returns:
- a new instance of
CfnConnector.HealthIssueProperty - Throws:
NullPointerException- if any required attribute was not provided
-