Class CfnService.InputSourceDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.resiliencehubv2.CfnService.InputSourceDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.InputSourceDefinitionProperty>
- Enclosing interface:
CfnService.InputSourceDefinitionProperty
@Stability(Stable)
public static final class CfnService.InputSourceDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.InputSourceDefinitionProperty>
A builder for
CfnService.InputSourceDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourceConfiguration(IResolvable resourceConfiguration) Sets the value ofCfnService.InputSourceDefinitionProperty.getResourceConfiguration()resourceConfiguration(CfnService.ResourceConfigurationProperty resourceConfiguration) Sets the value ofCfnService.InputSourceDefinitionProperty.getResourceConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceConfiguration
@Stability(Stable) public CfnService.InputSourceDefinitionProperty.Builder resourceConfiguration(IResolvable resourceConfiguration) Sets the value ofCfnService.InputSourceDefinitionProperty.getResourceConfiguration()- Parameters:
resourceConfiguration- Resource configuration for an input source. This parameter is required. Provide exactly one field.- Returns:
this
-
resourceConfiguration
@Stability(Stable) public CfnService.InputSourceDefinitionProperty.Builder resourceConfiguration(CfnService.ResourceConfigurationProperty resourceConfiguration) Sets the value ofCfnService.InputSourceDefinitionProperty.getResourceConfiguration()- Parameters:
resourceConfiguration- Resource configuration for an input source. This parameter is required. Provide exactly one field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.InputSourceDefinitionProperty>- Returns:
- a new instance of
CfnService.InputSourceDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-