Class CfnAssociationPropsMixin.ServiceNowConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnAssociationPropsMixin.ServiceNowConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociationPropsMixin.ServiceNowConfigurationProperty>
- Enclosing interface:
CfnAssociationPropsMixin.ServiceNowConfigurationProperty
@Stability(Stable)
public static final class CfnAssociationPropsMixin.ServiceNowConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociationPropsMixin.ServiceNowConfigurationProperty>
A builder for
CfnAssociationPropsMixin.ServiceNowConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableWebhookUpdates(Boolean enableWebhookUpdates) enableWebhookUpdates(IResolvable enableWebhookUpdates) instanceId(String instanceId) Sets the value ofCfnAssociationPropsMixin.ServiceNowConfigurationProperty.getInstanceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociationPropsMixin.ServiceNowConfigurationProperty.Builder enableWebhookUpdates(Boolean enableWebhookUpdates) Sets the value ofCfnAssociationPropsMixin.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 CfnAssociationPropsMixin.ServiceNowConfigurationProperty.Builder enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociationPropsMixin.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 CfnAssociationPropsMixin.ServiceNowConfigurationProperty.Builder instanceId(String instanceId) Sets the value ofCfnAssociationPropsMixin.ServiceNowConfigurationProperty.getInstanceId()- Parameters:
instanceId- ServiceNow instance ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociationPropsMixin.ServiceNowConfigurationProperty>- Returns:
- a new instance of
CfnAssociationPropsMixin.ServiceNowConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-