Class CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datazone.CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty>
- Enclosing interface:
CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty
@Stability(Stable)
public static final class CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty>
A builder for
CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.computeArn(String computeArn) Sets the value ofCfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.getComputeArn()instanceProfileArn(String instanceProfileArn) javaVirtualEnv(String javaVirtualEnv) Sets the value ofCfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.getLogUri()managedEndpointArn(String managedEndpointArn) pythonVirtualEnv(String pythonVirtualEnv) runtimeRole(String runtimeRole) Sets the value ofCfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.getRuntimeRole()trustedCertificatesS3Uri(String trustedCertificatesS3Uri)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computeArn
@Stability(Stable) public CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.Builder computeArn(String computeArn) Sets the value ofCfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.getComputeArn()- Parameters:
computeArn- The compute ARN of Spark EMR.- Returns:
this
-
instanceProfileArn
@Stability(Stable) public CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.Builder instanceProfileArn(String instanceProfileArn) - Parameters:
instanceProfileArn- The instance profile ARN of Spark EMR.- Returns:
this
-
javaVirtualEnv
@Stability(Stable) public CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.Builder javaVirtualEnv(String javaVirtualEnv) - Parameters:
javaVirtualEnv- The java virtual env of the Spark EMR.- Returns:
this
-
logUri
@Stability(Stable) public CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.Builder logUri(String logUri) Sets the value ofCfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.getLogUri()- Parameters:
logUri- The log URI of the Spark EMR.- Returns:
this
-
managedEndpointArn
@Stability(Stable) public CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.Builder managedEndpointArn(String managedEndpointArn) - Parameters:
managedEndpointArn- the value to be set.- Returns:
this
-
pythonVirtualEnv
@Stability(Stable) public CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.Builder pythonVirtualEnv(String pythonVirtualEnv) - Parameters:
pythonVirtualEnv- The Python virtual env of the Spark EMR.- Returns:
this
-
runtimeRole
@Stability(Stable) public CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.Builder runtimeRole(String runtimeRole) Sets the value ofCfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.getRuntimeRole()- Parameters:
runtimeRole- The runtime role of the Spark EMR.- Returns:
this
-
trustedCertificatesS3Uri
@Stability(Stable) public CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.Builder trustedCertificatesS3Uri(String trustedCertificatesS3Uri) Sets the value ofCfnConnectionPropsMixin.SparkEmrPropertiesInputProperty.getTrustedCertificatesS3Uri()- Parameters:
trustedCertificatesS3Uri- The certificates S3 URI of the Spark EMR.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty>- Returns:
- a new instance of
CfnConnectionPropsMixin.SparkEmrPropertiesInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-