public static interface CreateServiceResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<CreateServiceResponse.Builder,CreateServiceResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateServiceResponse.Builder |
service(Consumer<Service.Builder> service)
The full description of your service following the create call.
|
CreateServiceResponse.Builder |
service(Service service)
The full description of your service following the create call.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildCreateServiceResponse.Builder service(Service service)
The full description of your service following the create call.
If a service is using the ECS deployment controller, the deploymentController and
taskSets parameters will not be returned.
If the service is using the CODE_DEPLOY deployment controller, the
deploymentController, taskSets and deployments parameters will be
returned, however the deployments parameter will be an empty list.
service - The full description of your service following the create call.
If a service is using the ECS deployment controller, the
deploymentController and taskSets parameters will not be returned.
If the service is using the CODE_DEPLOY deployment controller, the
deploymentController, taskSets and deployments parameters will
be returned, however the deployments parameter will be an empty list.
default CreateServiceResponse.Builder service(Consumer<Service.Builder> service)
The full description of your service following the create call.
If a service is using the ECS deployment controller, the deploymentController and
taskSets parameters will not be returned.
If the service is using the CODE_DEPLOY deployment controller, the
deploymentController, taskSets and deployments parameters will be
returned, however the deployments parameter will be an empty list.
Service.Builder avoiding the need to create one
manually via Service.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to service(Service).service - a consumer that will call methods on Service.Builderservice(Service)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.