Class CfnApplication.AppConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchservice.CfnApplication.AppConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.AppConfigProperty>
- Enclosing interface:
CfnApplication.AppConfigProperty
@Stability(Stable)
public static final class CfnApplication.AppConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.AppConfigProperty>
A builder for
CfnApplication.AppConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnApplication.AppConfigProperty.getKey()Sets the value ofCfnApplication.AppConfigProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnApplication.AppConfigProperty.getKey()- Parameters:
key- The configuration item to set, such as the admin role for the OpenSearch application. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnApplication.AppConfigProperty.getValue()- Parameters:
value- The value assigned to the configuration key, such as an IAM user ARN. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplication.AppConfigProperty>- Returns:
- a new instance of
CfnApplication.AppConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-