Interface DescribeServiceDeploymentsResponse.Builder

    • 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.
      • 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 MISSING.

        This is a convenience method that creates an instance of the Failure.Builder avoiding the need to create one manually via Failure.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #failures(List).

        Parameters:
        failures - a consumer that will call methods on Failure.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #failures(java.util.Collection)