Class CfnConnector.ConnectorHealthProperty.Builder
java.lang.Object
software.amazon.awscdk.services.inspectorv2.CfnConnector.ConnectorHealthProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnector.ConnectorHealthProperty>
- Enclosing interface:
CfnConnector.ConnectorHealthProperty
@Stability(Stable)
public static final class CfnConnector.ConnectorHealthProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnector.ConnectorHealthProperty>
A builder for
CfnConnector.ConnectorHealthProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectorStatus(String connectorStatus) Sets the value ofCfnConnector.ConnectorHealthProperty.getConnectorStatus()lastCheckedAt(String lastCheckedAt) Sets the value ofCfnConnector.ConnectorHealthProperty.getLastCheckedAt()Sets the value ofCfnConnector.ConnectorHealthProperty.getMessage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectorStatus
@Stability(Stable) public CfnConnector.ConnectorHealthProperty.Builder connectorStatus(String connectorStatus) Sets the value ofCfnConnector.ConnectorHealthProperty.getConnectorStatus()- Parameters:
connectorStatus- the value to be set.- Returns:
this
-
lastCheckedAt
@Stability(Stable) public CfnConnector.ConnectorHealthProperty.Builder lastCheckedAt(String lastCheckedAt) Sets the value ofCfnConnector.ConnectorHealthProperty.getLastCheckedAt()- Parameters:
lastCheckedAt- the value to be set.- Returns:
this
-
message
Sets the value ofCfnConnector.ConnectorHealthProperty.getMessage()- Parameters:
message- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnector.ConnectorHealthProperty>- Returns:
- a new instance of
CfnConnector.ConnectorHealthProperty - Throws:
NullPointerException- if any required attribute was not provided
-