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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ContainerProvider.Builderid(String id)The ID of the container cluster.default ContainerProvider.Builderinfo(Consumer<ContainerInfo.Builder> info)The information about the container cluster.ContainerProvider.Builderinfo(ContainerInfo info)The information about the container cluster.ContainerProvider.Buildertype(String type)The type of the container provider.ContainerProvider.Buildertype(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 Detail
-
type
ContainerProvider.Builder type(String 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:
ContainerProviderType,ContainerProviderType
-
type
ContainerProvider.Builder type(ContainerProviderType 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:
ContainerProviderType,ContainerProviderType
-
id
ContainerProvider.Builder id(String 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
ContainerProvider.Builder info(ContainerInfo 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
default ContainerProvider.Builder info(Consumer<ContainerInfo.Builder> info)
The information about the container cluster.
This is a convenience method that creates an instance of theContainerInfo.Builderavoiding the need to create one manually viaContainerInfo.builder().When the
Consumercompletes,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:
info(ContainerInfo)
-
-