Class CfnAssociation.ServiceNowConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnAssociation.ServiceNowConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociation.ServiceNowConfigurationProperty>
- Enclosing interface:
CfnAssociation.ServiceNowConfigurationProperty
@Stability(Stable)
public static final class CfnAssociation.ServiceNowConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociation.ServiceNowConfigurationProperty>
A builder for
CfnAssociation.ServiceNowConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableWebhookUpdates(Boolean enableWebhookUpdates) Sets the value ofCfnAssociation.ServiceNowConfigurationProperty.getEnableWebhookUpdates()enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociation.ServiceNowConfigurationProperty.getEnableWebhookUpdates()instanceId(String instanceId) Sets the value ofCfnAssociation.ServiceNowConfigurationProperty.getInstanceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociation.ServiceNowConfigurationProperty.Builder enableWebhookUpdates(Boolean enableWebhookUpdates) Sets the value ofCfnAssociation.ServiceNowConfigurationProperty.getEnableWebhookUpdates()- Parameters:
enableWebhookUpdates- When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.- Returns:
this
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociation.ServiceNowConfigurationProperty.Builder enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociation.ServiceNowConfigurationProperty.getEnableWebhookUpdates()- Parameters:
enableWebhookUpdates- When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.- Returns:
this
-
instanceId
@Stability(Stable) public CfnAssociation.ServiceNowConfigurationProperty.Builder instanceId(String instanceId) Sets the value ofCfnAssociation.ServiceNowConfigurationProperty.getInstanceId()- Parameters:
instanceId- ServiceNow instance ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociation.ServiceNowConfigurationProperty>- Returns:
- a new instance of
CfnAssociation.ServiceNowConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-