Interface BatchDisassociateUserStackResponse.Builder
- All Superinterfaces:
AppStreamResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<BatchDisassociateUserStackResponse.Builder,,BatchDisassociateUserStackResponse> SdkBuilder<BatchDisassociateUserStackResponse.Builder,,BatchDisassociateUserStackResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchDisassociateUserStackResponse
public static interface BatchDisassociateUserStackResponse.Builder
extends AppStreamResponse.Builder, SdkPojo, CopyableBuilder<BatchDisassociateUserStackResponse.Builder,BatchDisassociateUserStackResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<UserStackAssociationError> errors) The list of UserStackAssociationError objects.errors(Consumer<UserStackAssociationError.Builder>... errors) The list of UserStackAssociationError objects.errors(UserStackAssociationError... errors) The list of UserStackAssociationError objects.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
errors
The list of UserStackAssociationError objects.
- Parameters:
errors- The list of UserStackAssociationError objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The list of UserStackAssociationError objects.
- Parameters:
errors- The list of UserStackAssociationError objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDisassociateUserStackResponse.Builder errors(Consumer<UserStackAssociationError.Builder>... errors) The list of UserStackAssociationError objects.
This is a convenience method that creates an instance of theUserStackAssociationError.Builderavoiding the need to create one manually viaUserStackAssociationError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<UserStackAssociationError>).- Parameters:
errors- a consumer that will call methods onUserStackAssociationError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-