Class PodDisruptionBudgetArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.policy.v1beta1.PodDisruptionBudgetArgs.Builder
-
- Enclosing class:
- PodDisruptionBudgetArgs
public static final class PodDisruptionBudgetArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PodDisruptionBudgetArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodDisruptionBudgetArgs.Builder
apiVersion(com.pulumi.core.Output<java.lang.String> apiVersion)
PodDisruptionBudgetArgs.Builder
apiVersion(java.lang.String apiVersion)
PodDisruptionBudgetArgs
build()
PodDisruptionBudgetArgs.Builder
kind(com.pulumi.core.Output<java.lang.String> kind)
PodDisruptionBudgetArgs.Builder
kind(java.lang.String kind)
PodDisruptionBudgetArgs.Builder
metadata(com.pulumi.core.Output<ObjectMetaArgs> metadata)
PodDisruptionBudgetArgs.Builder
metadata(ObjectMetaArgs metadata)
PodDisruptionBudgetArgs.Builder
spec(com.pulumi.core.Output<PodDisruptionBudgetSpecArgs> spec)
PodDisruptionBudgetArgs.Builder
spec(PodDisruptionBudgetSpecArgs spec)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PodDisruptionBudgetArgs defaults)
-
-
Method Detail
-
apiVersion
public PodDisruptionBudgetArgs.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 PodDisruptionBudgetArgs.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 PodDisruptionBudgetArgs.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 PodDisruptionBudgetArgs.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 PodDisruptionBudgetArgs.Builder metadata(@Nullable com.pulumi.core.Output<ObjectMetaArgs> metadata)
-
metadata
public PodDisruptionBudgetArgs.Builder metadata(ObjectMetaArgs metadata)
-
spec
public PodDisruptionBudgetArgs.Builder spec(@Nullable com.pulumi.core.Output<PodDisruptionBudgetSpecArgs> spec)
- Parameters:
spec
- Specification of the desired behavior of the PodDisruptionBudget.- Returns:
- builder
-
spec
public PodDisruptionBudgetArgs.Builder spec(PodDisruptionBudgetSpecArgs spec)
- Parameters:
spec
- Specification of the desired behavior of the PodDisruptionBudget.- Returns:
- builder
-
build
public PodDisruptionBudgetArgs build()
-
-