Interface DescribeServiceDeploymentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeServiceDeploymentsResponse.Builder,,DescribeServiceDeploymentsResponse> EcsResponse.Builder,SdkBuilder<DescribeServiceDeploymentsResponse.Builder,,DescribeServiceDeploymentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeServiceDeploymentsResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailures(Collection<Failure> failures) Any failures associated with the call.failures(Consumer<Failure.Builder>... failures) Any failures associated with the call.Any failures associated with the call.serviceDeployments(Collection<ServiceDeployment> serviceDeployments) The list of service deployments described.serviceDeployments(Consumer<ServiceDeployment.Builder>... serviceDeployments) The list of service deployments described.serviceDeployments(ServiceDeployment... serviceDeployments) The list of service deployments described.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
serviceDeployments
DescribeServiceDeploymentsResponse.Builder serviceDeployments(Collection<ServiceDeployment> serviceDeployments) The list of service deployments described.
- Parameters:
serviceDeployments- The list of service deployments described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceDeployments
DescribeServiceDeploymentsResponse.Builder serviceDeployments(ServiceDeployment... serviceDeployments) The list of service deployments described.
- Parameters:
serviceDeployments- The list of service deployments described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceDeployments
DescribeServiceDeploymentsResponse.Builder serviceDeployments(Consumer<ServiceDeployment.Builder>... serviceDeployments) The list of service deployments described.
This is a convenience method that creates an instance of theServiceDeployment.Builderavoiding the need to create one manually viaServiceDeployment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceDeployments(List<ServiceDeployment>).- Parameters:
serviceDeployments- a consumer that will call methods onServiceDeployment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failures
Any failures associated with the call.
If you decsribe a deployment with a service revision created before October 25, 2024, the call fails. The failure includes the service revision ARN and the reason set to
MISSING.- Parameters:
failures- Any failures associated with the call.If you decsribe a deployment with a service revision created before October 25, 2024, the call fails. The failure includes the service revision ARN and the reason set to
MISSING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Any failures associated with the call.
If you decsribe a deployment with a service revision created before October 25, 2024, the call fails. The failure includes the service revision ARN and the reason set to
MISSING.- Parameters:
failures- Any failures associated with the call.If you decsribe a deployment with a service revision created before October 25, 2024, the call fails. The failure includes the service revision ARN and the reason set to
MISSING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Any failures associated with the call.
If you decsribe a deployment with a service revision created before October 25, 2024, the call fails. The failure includes the service revision ARN and the reason set to
This is a convenience method that creates an instance of theMISSING.Failure.Builderavoiding the need to create one manually viaFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailures(List<Failure>).- Parameters:
failures- a consumer that will call methods onFailure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-