Class CfnSecurityConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.emr.CfnSecurityConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityConfigurationProps>
- Enclosing interface:
CfnSecurityConfigurationProps
@Stability(Stable)
public static final class CfnSecurityConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityConfigurationProps>
A builder for
CfnSecurityConfigurationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnSecurityConfigurationProps.getName()
securityConfiguration
(Object securityConfiguration) Sets the value ofCfnSecurityConfigurationProps.getSecurityConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityConfiguration
@Stability(Stable) public CfnSecurityConfigurationProps.Builder securityConfiguration(Object securityConfiguration) Sets the value ofCfnSecurityConfigurationProps.getSecurityConfiguration()
- Parameters:
securityConfiguration
- The security configuration details in JSON format. This parameter is required. For JSON parameters and examples, see Use Security Configurations to Set Up Cluster Security in the Amazon EMR Management Guide .- Returns:
this
-
name
Sets the value ofCfnSecurityConfigurationProps.getName()
- Parameters:
name
- The name of the security configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSecurityConfigurationProps>
- Returns:
- a new instance of
CfnSecurityConfigurationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-