JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.ecs.model

Class CreateServiceResult

    • Constructor Detail

      • CreateServiceResult

        public CreateServiceResult()
    • Method Detail

      • setService

        public void setService(Service service)

        The full description of your service following the create call.

        A service will return either a capacityProviderStrategy or launchType parameter, but not both, depending where one was specified when it was created.

        If a service is using the ECS deployment controller, the deploymentController and taskSets parameters will not be returned.

        if the service uses the CODE_DEPLOY deployment controller, the deploymentController, taskSets and deployments parameters will be returned, however the deployments parameter will be an empty list.

        Parameters:
        service - The full description of your service following the create call.

        A service will return either a capacityProviderStrategy or launchType parameter, but not both, depending where one was specified when it was created.

        If a service is using the ECS deployment controller, the deploymentController and taskSets parameters will not be returned.

        if the service uses the CODE_DEPLOY deployment controller, the deploymentController, taskSets and deployments parameters will be returned, however the deployments parameter will be an empty list.

      • getService

        public Service getService()

        The full description of your service following the create call.

        A service will return either a capacityProviderStrategy or launchType parameter, but not both, depending where one was specified when it was created.

        If a service is using the ECS deployment controller, the deploymentController and taskSets parameters will not be returned.

        if the service uses the CODE_DEPLOY deployment controller, the deploymentController, taskSets and deployments parameters will be returned, however the deployments parameter will be an empty list.

        Returns:
        The full description of your service following the create call.

        A service will return either a capacityProviderStrategy or launchType parameter, but not both, depending where one was specified when it was created.

        If a service is using the ECS deployment controller, the deploymentController and taskSets parameters will not be returned.

        if the service uses the CODE_DEPLOY deployment controller, the deploymentController, taskSets and deployments parameters will be returned, however the deployments parameter will be an empty list.

      • withService

        public CreateServiceResult withService(Service service)

        The full description of your service following the create call.

        A service will return either a capacityProviderStrategy or launchType parameter, but not both, depending where one was specified when it was created.

        If a service is using the ECS deployment controller, the deploymentController and taskSets parameters will not be returned.

        if the service uses the CODE_DEPLOY deployment controller, the deploymentController, taskSets and deployments parameters will be returned, however the deployments parameter will be an empty list.

        Parameters:
        service - The full description of your service following the create call.

        A service will return either a capacityProviderStrategy or launchType parameter, but not both, depending where one was specified when it was created.

        If a service is using the ECS deployment controller, the deploymentController and taskSets parameters will not be returned.

        if the service uses the CODE_DEPLOY deployment controller, the deploymentController, taskSets and deployments parameters will be returned, however the deployments parameter will be an empty list.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /