Class ResourceClassPatchArgs.Builder

  • Enclosing class:
    ResourceClassPatchArgs

    public static final class ResourceClassPatchArgs.Builder
    extends java.lang.Object
    • Method Detail

      • apiVersion

        public ResourceClassPatchArgs.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 ResourceClassPatchArgs.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
      • driverName

        public ResourceClassPatchArgs.Builder driverName​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> driverName)
        Parameters:
        driverName - DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class. Resource drivers have a unique name in forward domain order (acme.example.com).
        Returns:
        builder
      • driverName

        public ResourceClassPatchArgs.Builder driverName​(java.lang.String driverName)
        Parameters:
        driverName - DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class. Resource drivers have a unique name in forward domain order (acme.example.com).
        Returns:
        builder
      • kind

        public ResourceClassPatchArgs.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 ResourceClassPatchArgs.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
      • parametersRef

        public ResourceClassPatchArgs.Builder parametersRef​(@Nullable
                                                            com.pulumi.core.Output<ResourceClassParametersReferencePatchArgs> parametersRef)
        Parameters:
        parametersRef - ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec.
        Returns:
        builder
      • parametersRef

        public ResourceClassPatchArgs.Builder parametersRef​(ResourceClassParametersReferencePatchArgs parametersRef)
        Parameters:
        parametersRef - ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec.
        Returns:
        builder
      • structuredParameters

        public ResourceClassPatchArgs.Builder structuredParameters​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Boolean> structuredParameters)
        Parameters:
        structuredParameters - If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true.
        Returns:
        builder
      • structuredParameters

        public ResourceClassPatchArgs.Builder structuredParameters​(java.lang.Boolean structuredParameters)
        Parameters:
        structuredParameters - If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true.
        Returns:
        builder
      • suitableNodes

        public ResourceClassPatchArgs.Builder suitableNodes​(@Nullable
                                                            com.pulumi.core.Output<NodeSelectorPatchArgs> suitableNodes)
        Parameters:
        suitableNodes - Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet. Setting this field is optional. If null, all nodes are candidates.
        Returns:
        builder
      • suitableNodes

        public ResourceClassPatchArgs.Builder suitableNodes​(NodeSelectorPatchArgs suitableNodes)
        Parameters:
        suitableNodes - Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet. Setting this field is optional. If null, all nodes are candidates.
        Returns:
        builder