Class CfnApplication.LogTypeMapKeyValuePairProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrserverless.CfnApplication.LogTypeMapKeyValuePairProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.LogTypeMapKeyValuePairProperty>
- Enclosing interface:
CfnApplication.LogTypeMapKeyValuePairProperty
@Stability(Stable)
public static final class CfnApplication.LogTypeMapKeyValuePairProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.LogTypeMapKeyValuePairProperty>
A builder for
CfnApplication.LogTypeMapKeyValuePairProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnApplication.LogTypeMapKeyValuePairProperty.getKey()Sets the value ofCfnApplication.LogTypeMapKeyValuePairProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnApplication.LogTypeMapKeyValuePairProperty.getKey()- Parameters:
key- the value to be set. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnApplication.LogTypeMapKeyValuePairProperty.Builder value(List<String> value) Sets the value ofCfnApplication.LogTypeMapKeyValuePairProperty.getValue()- Parameters:
value- List of Applicable values: [STDOUT, STDERR, HIVE_LOG, TEZ_AM, SYSTEM_LOGS]. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplication.LogTypeMapKeyValuePairProperty>- Returns:
- a new instance of
CfnApplication.LogTypeMapKeyValuePairProperty - Throws:
NullPointerException- if any required attribute was not provided
-