Class CfnConnectorV2.ServiceNowProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnConnectorV2.ServiceNowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorV2.ServiceNowProperty>
- Enclosing interface:
CfnConnectorV2.ServiceNowProperty
@Stability(Stable)
public static final class CfnConnectorV2.ServiceNowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorV2.ServiceNowProperty>
A builder for
CfnConnectorV2.ServiceNowProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthStatus(String authStatus) Sets the value ofCfnConnectorV2.ServiceNowProperty.getAuthStatus()build()Builds the configured instance.instanceName(String instanceName) Sets the value ofCfnConnectorV2.ServiceNowProperty.getInstanceName()Sets the value ofCfnConnectorV2.ServiceNowProperty.getSecretArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceName
@Stability(Stable) public CfnConnectorV2.ServiceNowProperty.Builder instanceName(String instanceName) Sets the value ofCfnConnectorV2.ServiceNowProperty.getInstanceName()- Parameters:
instanceName- the value to be set. This parameter is required.- Returns:
this
-
secretArn
Sets the value ofCfnConnectorV2.ServiceNowProperty.getSecretArn()- Parameters:
secretArn- The ARN of secrets manager containing ClientId and ClientSecret. This parameter is required.- Returns:
this
-
authStatus
Sets the value ofCfnConnectorV2.ServiceNowProperty.getAuthStatus()- Parameters:
authStatus- The auth status of the connector.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorV2.ServiceNowProperty>- Returns:
- a new instance of
CfnConnectorV2.ServiceNowProperty - Throws:
NullPointerException- if any required attribute was not provided
-