Class CfnEnvironment.SuperuserParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.finspace.CfnEnvironment.SuperuserParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironment.SuperuserParametersProperty>
- Enclosing interface:
CfnEnvironment.SuperuserParametersProperty
@Stability(Stable)
public static final class CfnEnvironment.SuperuserParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironment.SuperuserParametersProperty>
A builder for
CfnEnvironment.SuperuserParametersProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.emailAddress
(String emailAddress) Sets the value ofCfnEnvironment.SuperuserParametersProperty.getEmailAddress()
Sets the value ofCfnEnvironment.SuperuserParametersProperty.getFirstName()
Sets the value ofCfnEnvironment.SuperuserParametersProperty.getLastName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
emailAddress
@Stability(Stable) public CfnEnvironment.SuperuserParametersProperty.Builder emailAddress(String emailAddress) Sets the value ofCfnEnvironment.SuperuserParametersProperty.getEmailAddress()
- Parameters:
emailAddress
- The email address of the superuser.- Returns:
this
-
firstName
@Stability(Stable) public CfnEnvironment.SuperuserParametersProperty.Builder firstName(String firstName) Sets the value ofCfnEnvironment.SuperuserParametersProperty.getFirstName()
- Parameters:
firstName
- The first name of the superuser.- Returns:
this
-
lastName
@Stability(Stable) public CfnEnvironment.SuperuserParametersProperty.Builder lastName(String lastName) Sets the value ofCfnEnvironment.SuperuserParametersProperty.getLastName()
- Parameters:
lastName
- The last name of the superuser.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEnvironment.SuperuserParametersProperty>
- Returns:
- a new instance of
CfnEnvironment.SuperuserParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-