Class HostedConfigurationVersionReference.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.HostedConfigurationVersionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HostedConfigurationVersionReference>
- Enclosing interface:
HostedConfigurationVersionReference
@Stability(Stable)
public static final class HostedConfigurationVersionReference.Builder
extends Object
implements software.amazon.jsii.Builder<HostedConfigurationVersionReference>
A builder for
HostedConfigurationVersionReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) Sets the value ofHostedConfigurationVersionReference.getApplicationId()
build()
Builds the configured instance.configurationProfileId
(String configurationProfileId) Sets the value ofHostedConfigurationVersionReference.getConfigurationProfileId()
versionNumber
(String versionNumber) Sets the value ofHostedConfigurationVersionReference.getVersionNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
@Stability(Stable) public HostedConfigurationVersionReference.Builder applicationId(String applicationId) Sets the value ofHostedConfigurationVersionReference.getApplicationId()
- Parameters:
applicationId
- The ApplicationId of the HostedConfigurationVersion resource. This parameter is required.- Returns:
this
-
configurationProfileId
@Stability(Stable) public HostedConfigurationVersionReference.Builder configurationProfileId(String configurationProfileId) Sets the value ofHostedConfigurationVersionReference.getConfigurationProfileId()
- Parameters:
configurationProfileId
- The ConfigurationProfileId of the HostedConfigurationVersion resource. This parameter is required.- Returns:
this
-
versionNumber
@Stability(Stable) public HostedConfigurationVersionReference.Builder versionNumber(String versionNumber) Sets the value ofHostedConfigurationVersionReference.getVersionNumber()
- Parameters:
versionNumber
- The VersionNumber of the HostedConfigurationVersion resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HostedConfigurationVersionReference>
- Returns:
- a new instance of
HostedConfigurationVersionReference
- Throws:
NullPointerException
- if any required attribute was not provided
-