Interface UserStackAssociationError.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<UserStackAssociationError.Builder,,UserStackAssociationError> SdkBuilder<UserStackAssociationError.Builder,,UserStackAssociationError> SdkPojo
- Enclosing class:
 UserStackAssociationError
public static interface UserStackAssociationError.Builder
extends SdkPojo, CopyableBuilder<UserStackAssociationError.Builder,UserStackAssociationError> 
- 
Method Summary
Modifier and TypeMethodDescriptionThe error code for the error that is returned when a user can’t be associated with or disassociated from a stack.errorCode(UserStackAssociationErrorCode errorCode) The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.errorMessage(String errorMessage) The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.userStackAssociation(Consumer<UserStackAssociation.Builder> userStackAssociation) Information about the user and associated stack.userStackAssociation(UserStackAssociation userStackAssociation) Information about the user and associated stack.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
userStackAssociation
Information about the user and associated stack.
- Parameters:
 userStackAssociation- Information about the user and associated stack.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
userStackAssociation
default UserStackAssociationError.Builder userStackAssociation(Consumer<UserStackAssociation.Builder> userStackAssociation) Information about the user and associated stack.
This is a convenience method that creates an instance of theUserStackAssociation.Builderavoiding the need to create one manually viaUserStackAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserStackAssociation(UserStackAssociation).- Parameters:
 userStackAssociation- a consumer that will call methods onUserStackAssociation.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
errorCode
The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.
- Parameters:
 errorCode- The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
errorCode
The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.
- Parameters:
 errorCode- The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
errorMessage
The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.
- Parameters:
 errorMessage- The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -