Interface UpdateServiceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateServiceResponse.Builder,,UpdateServiceResponse> EcsResponse.Builder,SdkBuilder<UpdateServiceResponse.Builder,,UpdateServiceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateServiceResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateServiceResponse.Builderservice(Consumer<Service.Builder> service) The full description of your service following the update call.The full description of your service following the update call.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
service
The full description of your service following the update call.
The response includes a
lifecycleHookDetailsfield, which is an empty array when the service is created or updated. The values are populated when a lifecycle hook executes and are available as part of the service deployment details (DescribeServiceDeployments).- Parameters:
service- The full description of your service following the update call.The response includes a
lifecycleHookDetailsfield, which is an empty array when the service is created or updated. The values are populated when a lifecycle hook executes and are available as part of the service deployment details (DescribeServiceDeployments).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
The full description of your service following the update call.
The response includes a
This is a convenience method that creates an instance of thelifecycleHookDetailsfield, which is an empty array when the service is created or updated. The values are populated when a lifecycle hook executes and are available as part of the service deployment details (DescribeServiceDeployments).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 onService.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-