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
Constructors -
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 Amazon Resource Name (ARN) of the Amazon VPC Lattice resource configuration for the resource endpoint. 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.The value of this property is set by EventBridge . Any value you specify in your template is ignored.
- 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
-