Class CfnConnection.ResourceParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnConnection.ResourceParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnection.ResourceParametersProperty>
- Enclosing interface:
CfnConnection.ResourceParametersProperty
@Stability(Stable)
public static final class CfnConnection.ResourceParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnection.ResourceParametersProperty>
A builder for
CfnConnection.ResourceParametersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.resourceAssociationArn
(String resourceAssociationArn) Sets the value ofCfnConnection.ResourceParametersProperty.getResourceAssociationArn()
resourceConfigurationArn
(String resourceConfigurationArn) Sets the value ofCfnConnection.ResourceParametersProperty.getResourceConfigurationArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceConfigurationArn
@Stability(Stable) public CfnConnection.ResourceParametersProperty.Builder resourceConfigurationArn(String resourceConfigurationArn) Sets the value ofCfnConnection.ResourceParametersProperty.getResourceConfigurationArn()
- Parameters:
resourceConfigurationArn
- the value to be set. This parameter is required.- Returns:
this
-
resourceAssociationArn
@Stability(Stable) public CfnConnection.ResourceParametersProperty.Builder resourceAssociationArn(String resourceAssociationArn) Sets the value ofCfnConnection.ResourceParametersProperty.getResourceAssociationArn()
- Parameters:
resourceAssociationArn
- For connections to private APIs, the Amazon Resource Name (ARN) of the resource association EventBridge created between the connection and the private API's resource configuration. For more information, see Managing service network resource associations for connections in the Amazon EventBridge User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnection.ResourceParametersProperty>
- Returns:
- a new instance of
CfnConnection.ResourceParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-