public static interface KubernetesWorkloadDetails.Builder extends SdkPojo, CopyableBuilder<KubernetesWorkloadDetails.Builder,KubernetesWorkloadDetails>
| Modifier and Type | Method and Description |
|---|---|
KubernetesWorkloadDetails.Builder |
containers(Collection<Container> containers)
Containers running as part of the Kubernetes workload.
|
KubernetesWorkloadDetails.Builder |
containers(Consumer<Container.Builder>... containers)
Containers running as part of the Kubernetes workload.
|
KubernetesWorkloadDetails.Builder |
containers(Container... containers)
Containers running as part of the Kubernetes workload.
|
KubernetesWorkloadDetails.Builder |
hostNetwork(Boolean hostNetwork)
Whether the hostNetwork flag is enabled for the pods included in the workload.
|
KubernetesWorkloadDetails.Builder |
name(String name)
Kubernetes workload name.
|
KubernetesWorkloadDetails.Builder |
namespace(String namespace)
Kubernetes namespace that the workload is part of.
|
KubernetesWorkloadDetails.Builder |
type(String type)
Kubernetes workload type (e.g.
|
KubernetesWorkloadDetails.Builder |
uid(String uid)
Kubernetes workload ID.
|
KubernetesWorkloadDetails.Builder |
volumes(Collection<Volume> volumes)
Volumes used by the Kubernetes workload.
|
KubernetesWorkloadDetails.Builder |
volumes(Consumer<Volume.Builder>... volumes)
Volumes used by the Kubernetes workload.
|
KubernetesWorkloadDetails.Builder |
volumes(Volume... volumes)
Volumes used by the Kubernetes workload.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildKubernetesWorkloadDetails.Builder name(String name)
Kubernetes workload name.
name - Kubernetes workload name.KubernetesWorkloadDetails.Builder type(String type)
Kubernetes workload type (e.g. Pod, Deployment, etc.).
type - Kubernetes workload type (e.g. Pod, Deployment, etc.).KubernetesWorkloadDetails.Builder uid(String uid)
Kubernetes workload ID.
uid - Kubernetes workload ID.KubernetesWorkloadDetails.Builder namespace(String namespace)
Kubernetes namespace that the workload is part of.
namespace - Kubernetes namespace that the workload is part of.KubernetesWorkloadDetails.Builder hostNetwork(Boolean hostNetwork)
Whether the hostNetwork flag is enabled for the pods included in the workload.
hostNetwork - Whether the hostNetwork flag is enabled for the pods included in the workload.KubernetesWorkloadDetails.Builder containers(Collection<Container> containers)
Containers running as part of the Kubernetes workload.
containers - Containers running as part of the Kubernetes workload.KubernetesWorkloadDetails.Builder containers(Container... containers)
Containers running as part of the Kubernetes workload.
containers - Containers running as part of the Kubernetes workload.KubernetesWorkloadDetails.Builder containers(Consumer<Container.Builder>... containers)
Containers running as part of the Kubernetes workload.
This is a convenience method that creates an instance of theContainer.Builder avoiding the need to create one
manually via Container.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #containers(List.
containers - a consumer that will call methods on
Container.Builder#containers(java.util.Collection) KubernetesWorkloadDetails.Builder volumes(Collection<Volume> volumes)
Volumes used by the Kubernetes workload.
volumes - Volumes used by the Kubernetes workload.KubernetesWorkloadDetails.Builder volumes(Volume... volumes)
Volumes used by the Kubernetes workload.
volumes - Volumes used by the Kubernetes workload.KubernetesWorkloadDetails.Builder volumes(Consumer<Volume.Builder>... volumes)
Volumes used by the Kubernetes workload.
This is a convenience method that creates an instance of theVolume.Builder avoiding the need to create one
manually via Volume.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #volumes(List.
volumes - a consumer that will call methods on
Volume.Builder#volumes(java.util.Collection) Copyright © 2022. All rights reserved.