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