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