Interface DescribeServiceDeploymentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeServiceDeploymentsResponse.Builder,DescribeServiceDeploymentsResponse>,EcsResponse.Builder,SdkBuilder<DescribeServiceDeploymentsResponse.Builder,DescribeServiceDeploymentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeServiceDeploymentsResponse
public static interface DescribeServiceDeploymentsResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<DescribeServiceDeploymentsResponse.Builder,DescribeServiceDeploymentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeServiceDeploymentsResponse.Builderfailures(Collection<Failure> failures)Any failures associated with the call.DescribeServiceDeploymentsResponse.Builderfailures(Consumer<Failure.Builder>... failures)Any failures associated with the call.DescribeServiceDeploymentsResponse.Builderfailures(Failure... failures)Any failures associated with the call.DescribeServiceDeploymentsResponse.BuilderserviceDeployments(Collection<ServiceDeployment> serviceDeployments)The list of service deployments described.DescribeServiceDeploymentsResponse.BuilderserviceDeployments(Consumer<ServiceDeployment.Builder>... serviceDeployments)The list of service deployments described.DescribeServiceDeploymentsResponse.BuilderserviceDeployments(ServiceDeployment... serviceDeployments)The list of service deployments described.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.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 Detail
-
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 to#serviceDeployments(List.) - 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:
#serviceDeployments(java.util.Collection)
-
failures
DescribeServiceDeploymentsResponse.Builder failures(Collection<Failure> 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
DescribeServiceDeploymentsResponse.Builder failures(Failure... 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
DescribeServiceDeploymentsResponse.Builder failures(Consumer<Failure.Builder>... 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 to#failures(List.) - 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:
#failures(java.util.Collection)
-
-