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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UserStackAssociationError.BuildererrorCode(String errorCode)The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.UserStackAssociationError.BuildererrorCode(UserStackAssociationErrorCode errorCode)The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.UserStackAssociationError.BuildererrorMessage(String errorMessage)The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.default UserStackAssociationError.BuilderuserStackAssociation(Consumer<UserStackAssociation.Builder> userStackAssociation)Information about the user and associated stack.UserStackAssociationError.BuilderuserStackAssociation(UserStackAssociation userStackAssociation)Information about the user and associated stack.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
userStackAssociation
UserStackAssociationError.Builder userStackAssociation(UserStackAssociation 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:
userStackAssociation(UserStackAssociation)
-
errorCode
UserStackAssociationError.Builder errorCode(String 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:
UserStackAssociationErrorCode,UserStackAssociationErrorCode
-
errorCode
UserStackAssociationError.Builder 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.
- 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:
UserStackAssociationErrorCode,UserStackAssociationErrorCode
-
errorMessage
UserStackAssociationError.Builder 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.
- 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.
-
-