Interface GetContainerServicePowersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetContainerServicePowersResponse.Builder,GetContainerServicePowersResponse>,LightsailResponse.Builder,SdkBuilder<GetContainerServicePowersResponse.Builder,GetContainerServicePowersResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetContainerServicePowersResponse
public static interface GetContainerServicePowersResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetContainerServicePowersResponse.Builder,GetContainerServicePowersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetContainerServicePowersResponse.Builderpowers(Collection<ContainerServicePower> powers)An array of objects that describe the powers that can be specified for a container service.GetContainerServicePowersResponse.Builderpowers(Consumer<ContainerServicePower.Builder>... powers)An array of objects that describe the powers that can be specified for a container service.GetContainerServicePowersResponse.Builderpowers(ContainerServicePower... powers)An array of objects that describe the powers that can be specified for a container service.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
powers
GetContainerServicePowersResponse.Builder powers(Collection<ContainerServicePower> powers)
An array of objects that describe the powers that can be specified for a container service.
- Parameters:
powers- An array of objects that describe the powers that can be specified for a container service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
powers
GetContainerServicePowersResponse.Builder powers(ContainerServicePower... powers)
An array of objects that describe the powers that can be specified for a container service.
- Parameters:
powers- An array of objects that describe the powers that can be specified for a container service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
powers
GetContainerServicePowersResponse.Builder powers(Consumer<ContainerServicePower.Builder>... powers)
An array of objects that describe the powers that can be specified for a container service.
This is a convenience method that creates an instance of theContainerServicePower.Builderavoiding the need to create one manually viaContainerServicePower.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#powers(List.) - Parameters:
powers- a consumer that will call methods onContainerServicePower.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#powers(java.util.Collection)
-
-