Class CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty>
- Enclosing interface:
CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty
@Stability(Stable)
public static final class CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceName(String instanceName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceName
@Stability(Stable) public CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty.Builder instanceName(String instanceName) Sets the value ofCfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty.getInstanceName()- Parameters:
instanceName- The instance name of ServiceNow ITSM.- Returns:
this
-
secretArn
@Stability(Stable) public CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty.Builder secretArn(String secretArn) - Parameters:
secretArn- The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the ServiceNow credentials.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty>- Returns:
- a new instance of
CfnConnectorV2PropsMixin.ServiceNowProviderConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-