Interface AssociateApplicationFleetResponse.Builder
- All Superinterfaces:
AppStreamResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<AssociateApplicationFleetResponse.Builder,
,AssociateApplicationFleetResponse> SdkBuilder<AssociateApplicationFleetResponse.Builder,
,AssociateApplicationFleetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AssociateApplicationFleetResponse
public static interface AssociateApplicationFleetResponse.Builder
extends AppStreamResponse.Builder, SdkPojo, CopyableBuilder<AssociateApplicationFleetResponse.Builder,AssociateApplicationFleetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationFleetAssociation
(Consumer<ApplicationFleetAssociation.Builder> applicationFleetAssociation) If fleet name is specified, this returns the list of applications that are associated to it.applicationFleetAssociation
(ApplicationFleetAssociation applicationFleetAssociation) If fleet name is specified, this returns the list of applications that are associated to it.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
applicationFleetAssociation
AssociateApplicationFleetResponse.Builder applicationFleetAssociation(ApplicationFleetAssociation applicationFleetAssociation) If fleet name is specified, this returns the list of applications that are associated to it. If application ARN is specified, this returns the list of fleets to which it is associated.
- Parameters:
applicationFleetAssociation
- If fleet name is specified, this returns the list of applications that are associated to it. If application ARN is specified, this returns the list of fleets to which it is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationFleetAssociation
default AssociateApplicationFleetResponse.Builder applicationFleetAssociation(Consumer<ApplicationFleetAssociation.Builder> applicationFleetAssociation) If fleet name is specified, this returns the list of applications that are associated to it. If application ARN is specified, this returns the list of fleets to which it is associated.
This is a convenience method that creates an instance of theApplicationFleetAssociation.Builder
avoiding the need to create one manually viaApplicationFleetAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationFleetAssociation(ApplicationFleetAssociation)
.- Parameters:
applicationFleetAssociation
- a consumer that will call methods onApplicationFleetAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-