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- Specify the item to configure, such as admin role for the OpenSearch Application. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnApplication.AppConfigProperty.getValue()- Parameters:
value- Specifies the value to configure for the 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
-