Interface BatchAssociateUserStackResponse.Builder
- All Superinterfaces:
AppStreamResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<BatchAssociateUserStackResponse.Builder,,BatchAssociateUserStackResponse> SdkBuilder<BatchAssociateUserStackResponse.Builder,,BatchAssociateUserStackResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchAssociateUserStackResponse
@Mutable
@NotThreadSafe
public static interface BatchAssociateUserStackResponse.Builder
extends AppStreamResponse.Builder, SdkPojo, CopyableBuilder<BatchAssociateUserStackResponse.Builder,BatchAssociateUserStackResponse>
-
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, sdkFieldNameToField, 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
BatchAssociateUserStackResponse.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:
-