Interface ContainerProvider.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ContainerProvider.Builder,
,ContainerProvider> SdkBuilder<ContainerProvider.Builder,
,ContainerProvider> SdkPojo
- Enclosing class:
ContainerProvider
public static interface ContainerProvider.Builder
extends SdkPojo, CopyableBuilder<ContainerProvider.Builder,ContainerProvider>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the container cluster.default ContainerProvider.Builder
info
(Consumer<ContainerInfo.Builder> info) The information about the container cluster.info
(ContainerInfo info) The information about the container cluster.The type of the container provider.type
(ContainerProviderType type) The type of the container provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
type
The type of the container provider. Amazon EKS is the only supported type as of now.
- Parameters:
type
- The type of the container provider. Amazon EKS is the only supported type as of now.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the container provider. Amazon EKS is the only supported type as of now.
- Parameters:
type
- The type of the container provider. Amazon EKS is the only supported type as of now.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The ID of the container cluster.
- Parameters:
id
- The ID of the container cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
info
The information about the container cluster.
- Parameters:
info
- The information about the container cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
info
The information about the container cluster.
This is a convenience method that creates an instance of theContainerInfo.Builder
avoiding the need to create one manually viaContainerInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinfo(ContainerInfo)
.- Parameters:
info
- a consumer that will call methods onContainerInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-