Interface DescribeFleetDeploymentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeFleetDeploymentResponse.Builder,
,DescribeFleetDeploymentResponse> GameLiftResponse.Builder
,SdkBuilder<DescribeFleetDeploymentResponse.Builder,
,DescribeFleetDeploymentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeFleetDeploymentResponse
@Mutable
@NotThreadSafe
public static interface DescribeFleetDeploymentResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeFleetDeploymentResponse.Builder,DescribeFleetDeploymentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfleetDeployment
(Consumer<FleetDeployment.Builder> fleetDeployment) The requested deployment information.fleetDeployment
(FleetDeployment fleetDeployment) The requested deployment information.locationalDeployments
(Map<String, LocationalDeployment> locationalDeployments) If the deployment is for a multi-location fleet, the requests returns the deployment status in each fleet location.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
fleetDeployment
The requested deployment information.
- Parameters:
fleetDeployment
- The requested deployment information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetDeployment
default DescribeFleetDeploymentResponse.Builder fleetDeployment(Consumer<FleetDeployment.Builder> fleetDeployment) The requested deployment information.
This is a convenience method that creates an instance of theFleetDeployment.Builder
avoiding the need to create one manually viaFleetDeployment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofleetDeployment(FleetDeployment)
.- Parameters:
fleetDeployment
- a consumer that will call methods onFleetDeployment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
locationalDeployments
DescribeFleetDeploymentResponse.Builder locationalDeployments(Map<String, LocationalDeployment> locationalDeployments) If the deployment is for a multi-location fleet, the requests returns the deployment status in each fleet location.
- Parameters:
locationalDeployments
- If the deployment is for a multi-location fleet, the requests returns the deployment status in each fleet location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-