Class CfnServicePropsMixin.ServiceNowServiceDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnServicePropsMixin.ServiceNowServiceDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.ServiceNowServiceDetailsProperty>
- Enclosing interface:
CfnServicePropsMixin.ServiceNowServiceDetailsProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.ServiceNowServiceDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.ServiceNowServiceDetailsProperty>
A builder for
CfnServicePropsMixin.ServiceNowServiceDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizationConfig(CfnServicePropsMixin.ServiceNowAuthorizationConfigProperty authorizationConfig) authorizationConfig(IResolvable authorizationConfig) build()Builds the configured instance.instanceUrl(String instanceUrl) Sets the value ofCfnServicePropsMixin.ServiceNowServiceDetailsProperty.getInstanceUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationConfig
@Stability(Stable) public CfnServicePropsMixin.ServiceNowServiceDetailsProperty.Builder authorizationConfig(IResolvable authorizationConfig) - Parameters:
authorizationConfig- ServiceNow OAuth authorization configuration.- Returns:
this
-
authorizationConfig
@Stability(Stable) public CfnServicePropsMixin.ServiceNowServiceDetailsProperty.Builder authorizationConfig(CfnServicePropsMixin.ServiceNowAuthorizationConfigProperty authorizationConfig) - Parameters:
authorizationConfig- ServiceNow OAuth authorization configuration.- Returns:
this
-
instanceUrl
@Stability(Stable) public CfnServicePropsMixin.ServiceNowServiceDetailsProperty.Builder instanceUrl(String instanceUrl) Sets the value ofCfnServicePropsMixin.ServiceNowServiceDetailsProperty.getInstanceUrl()- Parameters:
instanceUrl- ServiceNow instance URL.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.ServiceNowServiceDetailsProperty>- Returns:
- a new instance of
CfnServicePropsMixin.ServiceNowServiceDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-