Class CfnUserProfileMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opsworks.CfnUserProfileMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProfileMixinProps>
- Enclosing interface:
CfnUserProfileMixinProps
@Stability(Stable)
public static final class CfnUserProfileMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserProfileMixinProps>
A builder for
CfnUserProfileMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowSelfManagement(Boolean allowSelfManagement) Sets the value ofCfnUserProfileMixinProps.getAllowSelfManagement()allowSelfManagement(IResolvable allowSelfManagement) Sets the value ofCfnUserProfileMixinProps.getAllowSelfManagement()build()Builds the configured instance.iamUserArn(String iamUserArn) Sets the value ofCfnUserProfileMixinProps.getIamUserArn()sshPublicKey(String sshPublicKey) Sets the value ofCfnUserProfileMixinProps.getSshPublicKey()sshUsername(String sshUsername) Sets the value ofCfnUserProfileMixinProps.getSshUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowSelfManagement
@Stability(Stable) public CfnUserProfileMixinProps.Builder allowSelfManagement(Boolean allowSelfManagement) Sets the value ofCfnUserProfileMixinProps.getAllowSelfManagement()- Parameters:
allowSelfManagement- Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions .- Returns:
this
-
allowSelfManagement
@Stability(Stable) public CfnUserProfileMixinProps.Builder allowSelfManagement(IResolvable allowSelfManagement) Sets the value ofCfnUserProfileMixinProps.getAllowSelfManagement()- Parameters:
allowSelfManagement- Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions .- Returns:
this
-
iamUserArn
Sets the value ofCfnUserProfileMixinProps.getIamUserArn()- Parameters:
iamUserArn- The user's IAM ARN.- Returns:
this
-
sshPublicKey
Sets the value ofCfnUserProfileMixinProps.getSshPublicKey()- Parameters:
sshPublicKey- The user's SSH public key.- Returns:
this
-
sshUsername
Sets the value ofCfnUserProfileMixinProps.getSshUsername()- Parameters:
sshUsername- The user's SSH user name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserProfileMixinProps>- Returns:
- a new instance of
CfnUserProfileMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-