Interface CreateServiceResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<CreateServiceResponse.Builder,,- CreateServiceResponse> - EcsResponse.Builder,- SdkBuilder<CreateServiceResponse.Builder,,- CreateServiceResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CreateServiceResponse
- 
Method SummaryModifier and TypeMethodDescriptiondefault CreateServiceResponse.Builderservice(Consumer<Service.Builder> service) The full description of your service following the create call.The full description of your service following the create call.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
serviceThe full description of your service following the create call. A service will return either a capacityProviderStrategyorlaunchTypeparameter, but not both, depending where one was specified when it was created.If a service is using the ECSdeployment controller, thedeploymentControllerandtaskSetsparameters will not be returned.if the service uses the CODE_DEPLOYdeployment controller, thedeploymentController,taskSetsanddeploymentsparameters will be returned, however thedeploymentsparameter will be an empty list.- Parameters:
- service- The full description of your service following the create call.- A service will return either a - capacityProviderStrategyor- launchTypeparameter, but not both, depending where one was specified when it was created.- If a service is using the - ECSdeployment controller, the- deploymentControllerand- taskSetsparameters will not be returned.- if the service uses the - CODE_DEPLOYdeployment controller, the- deploymentController,- taskSetsand- deploymentsparameters will be returned, however the- deploymentsparameter will be an empty list.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
serviceThe full description of your service following the create call. A service will return either a capacityProviderStrategyorlaunchTypeparameter, but not both, depending where one was specified when it was created.If a service is using the ECSdeployment controller, thedeploymentControllerandtaskSetsparameters will not be returned.if the service uses the This is a convenience method that creates an instance of theCODE_DEPLOYdeployment controller, thedeploymentController,taskSetsanddeploymentsparameters will be returned, however thedeploymentsparameter will be an empty list.Service.Builderavoiding the need to create one manually viaService.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toservice(Service).- Parameters:
- service- a consumer that will call methods on- Service.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-