public static interface UserStackAssociationError.Builder extends SdkPojo, CopyableBuilder<UserStackAssociationError.Builder,UserStackAssociationError>
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
default UserStackAssociationError.Builder |
userStackAssociation(Consumer<UserStackAssociation.Builder> userStackAssociation)
Information about the user and associated stack.
|
UserStackAssociationError.Builder |
userStackAssociation(UserStackAssociation userStackAssociation)
Information about the user and associated stack.
|
copy
applyMutation, build
UserStackAssociationError.Builder userStackAssociation(UserStackAssociation userStackAssociation)
Information about the user and associated stack.
userStackAssociation
- Information about the user and associated stack.default UserStackAssociationError.Builder userStackAssociation(Consumer<UserStackAssociation.Builder> userStackAssociation)
Information about the user and associated stack.
This is a convenience that creates an instance of theUserStackAssociation.Builder
avoiding the need
to create one manually via UserStackAssociation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to userStackAssociation(UserStackAssociation)
.userStackAssociation
- a consumer that will call methods on UserStackAssociation.Builder
userStackAssociation(UserStackAssociation)
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.
errorCode
- The error code for the error that is returned when a user can’t be associated with or disassociated
from a stack.UserStackAssociationErrorCode
,
UserStackAssociationErrorCode
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.
errorCode
- The error code for the error that is returned when a user can’t be associated with or disassociated
from a stack.UserStackAssociationErrorCode
,
UserStackAssociationErrorCode
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.
errorMessage
- The error message for the error that is returned when a user can’t be associated with or disassociated
from a stack.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.