Class NetworkPolicyPatchArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.networking.v1.NetworkPolicyPatchArgs.Builder
-
- Enclosing class:
- NetworkPolicyPatchArgs
public static final class NetworkPolicyPatchArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(NetworkPolicyPatchArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkPolicyPatchArgs.Builder
apiVersion(com.pulumi.core.Output<java.lang.String> apiVersion)
NetworkPolicyPatchArgs.Builder
apiVersion(java.lang.String apiVersion)
NetworkPolicyPatchArgs
build()
NetworkPolicyPatchArgs.Builder
kind(com.pulumi.core.Output<java.lang.String> kind)
NetworkPolicyPatchArgs.Builder
kind(java.lang.String kind)
NetworkPolicyPatchArgs.Builder
metadata(com.pulumi.core.Output<ObjectMetaPatchArgs> metadata)
NetworkPolicyPatchArgs.Builder
metadata(ObjectMetaPatchArgs metadata)
NetworkPolicyPatchArgs.Builder
spec(com.pulumi.core.Output<NetworkPolicySpecPatchArgs> spec)
NetworkPolicyPatchArgs.Builder
spec(NetworkPolicySpecPatchArgs spec)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(NetworkPolicyPatchArgs defaults)
-
-
Method Detail
-
apiVersion
public NetworkPolicyPatchArgs.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 NetworkPolicyPatchArgs.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
-
kind
public NetworkPolicyPatchArgs.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 NetworkPolicyPatchArgs.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 NetworkPolicyPatchArgs.Builder metadata(@Nullable com.pulumi.core.Output<ObjectMetaPatchArgs> metadata)
- Parameters:
metadata
- Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata- Returns:
- builder
-
metadata
public NetworkPolicyPatchArgs.Builder metadata(ObjectMetaPatchArgs metadata)
- Parameters:
metadata
- Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata- Returns:
- builder
-
spec
public NetworkPolicyPatchArgs.Builder spec(@Nullable com.pulumi.core.Output<NetworkPolicySpecPatchArgs> spec)
- Parameters:
spec
- spec represents the specification of the desired behavior for this NetworkPolicy.- Returns:
- builder
-
spec
public NetworkPolicyPatchArgs.Builder spec(NetworkPolicySpecPatchArgs spec)
- Parameters:
spec
- spec represents the specification of the desired behavior for this NetworkPolicy.- Returns:
- builder
-
build
public NetworkPolicyPatchArgs build()
-
-