Class RuntimeClassPatchArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.node.v1beta1.RuntimeClassPatchArgs.Builder
-
- Enclosing class:
- RuntimeClassPatchArgs
public static final class RuntimeClassPatchArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(RuntimeClassPatchArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RuntimeClassPatchArgs defaults)
-
-
Method Detail
-
apiVersion
public RuntimeClassPatchArgs.Builder apiVersion(@Nullable com.pulumi.core.Output<java.lang.String> apiVersion)
- Parameters:
apiVersion
- APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Returns:
- builder
-
apiVersion
public RuntimeClassPatchArgs.Builder apiVersion(java.lang.String apiVersion)
- Parameters:
apiVersion
- APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Returns:
- builder
-
handler
public RuntimeClassPatchArgs.Builder handler(@Nullable com.pulumi.core.Output<java.lang.String> handler)
- Parameters:
handler
- Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.- Returns:
- builder
-
handler
public RuntimeClassPatchArgs.Builder handler(java.lang.String handler)
- Parameters:
handler
- Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.- Returns:
- builder
-
kind
public RuntimeClassPatchArgs.Builder kind(@Nullable com.pulumi.core.Output<java.lang.String> kind)
- Parameters:
kind
- Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- builder
-
kind
public RuntimeClassPatchArgs.Builder kind(java.lang.String kind)
- Parameters:
kind
- Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- builder
-
metadata
public RuntimeClassPatchArgs.Builder metadata(@Nullable com.pulumi.core.Output<ObjectMetaPatchArgs> metadata)
- Parameters:
metadata
- More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata- Returns:
- builder
-
metadata
public RuntimeClassPatchArgs.Builder metadata(ObjectMetaPatchArgs metadata)
- Parameters:
metadata
- More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata- Returns:
- builder
-
overhead
public RuntimeClassPatchArgs.Builder overhead(@Nullable com.pulumi.core.Output<OverheadPatchArgs> overhead)
- Parameters:
overhead
- Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md- Returns:
- builder
-
overhead
public RuntimeClassPatchArgs.Builder overhead(OverheadPatchArgs overhead)
- Parameters:
overhead
- Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md- Returns:
- builder
-
scheduling
public RuntimeClassPatchArgs.Builder scheduling(@Nullable com.pulumi.core.Output<SchedulingPatchArgs> scheduling)
- Parameters:
scheduling
- Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.- Returns:
- builder
-
scheduling
public RuntimeClassPatchArgs.Builder scheduling(SchedulingPatchArgs scheduling)
- Parameters:
scheduling
- Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.- Returns:
- builder
-
build
public RuntimeClassPatchArgs build()
-
-