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