Class ConfigurationReference.Builder
java.lang.Object
software.amazon.awscdk.services.amazonmq.ConfigurationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConfigurationReference>
- Enclosing interface:
ConfigurationReference
@Stability(Stable)
public static final class ConfigurationReference.Builder
extends Object
implements software.amazon.jsii.Builder<ConfigurationReference>
A builder for
ConfigurationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configurationArn(String configurationArn) Sets the value ofConfigurationReference.getConfigurationArn()configurationId(String configurationId) Sets the value ofConfigurationReference.getConfigurationId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurationArn
Sets the value ofConfigurationReference.getConfigurationArn()- Parameters:
configurationArn- The ARN of the Configuration resource. This parameter is required.- Returns:
this
-
configurationId
Sets the value ofConfigurationReference.getConfigurationId()- Parameters:
configurationId- The Id of the Configuration resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ConfigurationReference>- Returns:
- a new instance of
ConfigurationReference - Throws:
NullPointerException- if any required attribute was not provided
-