Class CfnEndpointMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.emrcontainers.CfnEndpointMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointMixinProps>
- Enclosing interface:
CfnEndpointMixinProps
@Stability(Stable)
public static final class CfnEndpointMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointMixinProps>
A builder for
CfnEndpointMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configurationOverrides(CfnEndpointPropsMixin.ConfigurationOverridesProperty configurationOverrides) Sets the value ofCfnEndpointMixinProps.getConfigurationOverrides()configurationOverrides(IResolvable configurationOverrides) Sets the value ofCfnEndpointMixinProps.getConfigurationOverrides()executionRoleArn(String executionRoleArn) Sets the value ofCfnEndpointMixinProps.getExecutionRoleArn()Sets the value ofCfnEndpointMixinProps.getName()releaseLabel(String releaseLabel) Sets the value ofCfnEndpointMixinProps.getReleaseLabel()Sets the value ofCfnEndpointMixinProps.getTags()Sets the value ofCfnEndpointMixinProps.getType()virtualClusterId(String virtualClusterId) Sets the value ofCfnEndpointMixinProps.getVirtualClusterId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurationOverrides
@Stability(Stable) public CfnEndpointMixinProps.Builder configurationOverrides(IResolvable configurationOverrides) Sets the value ofCfnEndpointMixinProps.getConfigurationOverrides()- Parameters:
configurationOverrides- the value to be set.- Returns:
this
-
configurationOverrides
@Stability(Stable) public CfnEndpointMixinProps.Builder configurationOverrides(CfnEndpointPropsMixin.ConfigurationOverridesProperty configurationOverrides) Sets the value ofCfnEndpointMixinProps.getConfigurationOverrides()- Parameters:
configurationOverrides- the value to be set.- Returns:
this
-
executionRoleArn
Sets the value ofCfnEndpointMixinProps.getExecutionRoleArn()- Parameters:
executionRoleArn- The execution role ARN for the managed endpoint.- Returns:
this
-
name
Sets the value ofCfnEndpointMixinProps.getName()- Parameters:
name- The name of the managed endpoint.- Returns:
this
-
releaseLabel
Sets the value ofCfnEndpointMixinProps.getReleaseLabel()- Parameters:
releaseLabel- The Amazon EMR release label.- Returns:
this
-
tags
Sets the value ofCfnEndpointMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this managed endpoint.- Returns:
this
-
type
Sets the value ofCfnEndpointMixinProps.getType()- Parameters:
type- The type of the managed endpoint.- Returns:
this
-
virtualClusterId
Sets the value ofCfnEndpointMixinProps.getVirtualClusterId()- Parameters:
virtualClusterId- The ID of the virtual cluster for which the managed endpoint is created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointMixinProps>- Returns:
- a new instance of
CfnEndpointMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-