public static interface GetContainerServicesResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetContainerServicesResponse.Builder,GetContainerServicesResponse>
Modifier and Type | Method and Description |
---|---|
GetContainerServicesResponse.Builder |
containerServices(Collection<ContainerService> containerServices)
An array of objects that describe one or more container services.
|
GetContainerServicesResponse.Builder |
containerServices(Consumer<ContainerService.Builder>... containerServices)
An array of objects that describe one or more container services.
|
GetContainerServicesResponse.Builder |
containerServices(ContainerService... containerServices)
An array of objects that describe one or more container services.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetContainerServicesResponse.Builder containerServices(Collection<ContainerService> containerServices)
An array of objects that describe one or more container services.
containerServices
- An array of objects that describe one or more container services.GetContainerServicesResponse.Builder containerServices(ContainerService... containerServices)
An array of objects that describe one or more container services.
containerServices
- An array of objects that describe one or more container services.GetContainerServicesResponse.Builder containerServices(Consumer<ContainerService.Builder>... containerServices)
An array of objects that describe one or more container services.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #containerServices(List)
.containerServices
- a consumer that will call methods on List.Builder
#containerServices(List)