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