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