public static interface CreateContainerServiceResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<CreateContainerServiceResponse.Builder,CreateContainerServiceResponse>
Modifier and Type | Method and Description |
---|---|
default CreateContainerServiceResponse.Builder |
containerService(Consumer<ContainerService.Builder> containerService)
An object that describes a container service.
|
CreateContainerServiceResponse.Builder |
containerService(ContainerService containerService)
An object that describes a container service.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateContainerServiceResponse.Builder containerService(ContainerService containerService)
An object that describes a container service.
containerService
- An object that describes a container service.default CreateContainerServiceResponse.Builder containerService(Consumer<ContainerService.Builder> containerService)
An object that describes a container service.
This is a convenience that creates an instance of theContainerService.Builder
avoiding the need to
create one manually via ContainerService.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to containerService(ContainerService)
.containerService
- a consumer that will call methods on ContainerService.Builder
containerService(ContainerService)