Interface UpdateContainerServiceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateContainerServiceResponse.Builder,,UpdateContainerServiceResponse> LightsailResponse.Builder,SdkBuilder<UpdateContainerServiceResponse.Builder,,UpdateContainerServiceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateContainerServiceResponse
public static interface UpdateContainerServiceResponse.Builder
extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<UpdateContainerServiceResponse.Builder,UpdateContainerServiceResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontainerService(Consumer<ContainerService.Builder> containerService) An object that describes a container service.containerService(ContainerService containerService) An object that describes a container service.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
containerService
An object that describes a container service.
- Parameters:
containerService- An object that describes a container service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerService
default UpdateContainerServiceResponse.Builder containerService(Consumer<ContainerService.Builder> containerService) An object that describes a container service.
This is a convenience method that creates an instance of theContainerService.Builderavoiding the need to create one manually viaContainerService.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerService(ContainerService).- Parameters:
containerService- a consumer that will call methods onContainerService.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-