Class StackUserAssociationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.appstream.StackUserAssociationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StackUserAssociationReference>
- Enclosing interface:
StackUserAssociationReference
@Stability(Stable)
public static final class StackUserAssociationReference.Builder
extends Object
implements software.amazon.jsii.Builder<StackUserAssociationReference>
A builder for
StackUserAssociationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationType(String authenticationType) Sets the value ofStackUserAssociationReference.getAuthenticationType()build()Builds the configured instance.Sets the value ofStackUserAssociationReference.getStackName()Sets the value ofStackUserAssociationReference.getUserName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationType
@Stability(Stable) public StackUserAssociationReference.Builder authenticationType(String authenticationType) Sets the value ofStackUserAssociationReference.getAuthenticationType()- Parameters:
authenticationType- The AuthenticationType of the StackUserAssociation resource. This parameter is required.- Returns:
this
-
stackName
Sets the value ofStackUserAssociationReference.getStackName()- Parameters:
stackName- The StackName of the StackUserAssociation resource. This parameter is required.- Returns:
this
-
userName
Sets the value ofStackUserAssociationReference.getUserName()- Parameters:
userName- The UserName of the StackUserAssociation resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StackUserAssociationReference>- Returns:
- a new instance of
StackUserAssociationReference - Throws:
NullPointerException- if any required attribute was not provided
-