Class RolePatchArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.rbac.v1beta1.RolePatchArgs.Builder
-
- Enclosing class:
- RolePatchArgs
public static final class RolePatchArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(RolePatchArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RolePatchArgs.Builder
apiVersion(com.pulumi.core.Output<java.lang.String> apiVersion)
RolePatchArgs.Builder
apiVersion(java.lang.String apiVersion)
RolePatchArgs
build()
RolePatchArgs.Builder
kind(com.pulumi.core.Output<java.lang.String> kind)
RolePatchArgs.Builder
kind(java.lang.String kind)
RolePatchArgs.Builder
metadata(com.pulumi.core.Output<ObjectMetaPatchArgs> metadata)
RolePatchArgs.Builder
metadata(ObjectMetaPatchArgs metadata)
RolePatchArgs.Builder
rules(com.pulumi.core.Output<java.util.List<PolicyRulePatchArgs>> rules)
RolePatchArgs.Builder
rules(PolicyRulePatchArgs... rules)
RolePatchArgs.Builder
rules(java.util.List<PolicyRulePatchArgs> rules)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RolePatchArgs defaults)
-
-
Method Detail
-
apiVersion
public RolePatchArgs.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 RolePatchArgs.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 RolePatchArgs.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 RolePatchArgs.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 RolePatchArgs.Builder metadata(@Nullable com.pulumi.core.Output<ObjectMetaPatchArgs> metadata)
- Parameters:
metadata
- Standard object's metadata.- Returns:
- builder
-
metadata
public RolePatchArgs.Builder metadata(ObjectMetaPatchArgs metadata)
- Parameters:
metadata
- Standard object's metadata.- Returns:
- builder
-
rules
public RolePatchArgs.Builder rules(@Nullable com.pulumi.core.Output<java.util.List<PolicyRulePatchArgs>> rules)
- Parameters:
rules
- Rules holds all the PolicyRules for this Role- Returns:
- builder
-
rules
public RolePatchArgs.Builder rules(java.util.List<PolicyRulePatchArgs> rules)
- Parameters:
rules
- Rules holds all the PolicyRules for this Role- Returns:
- builder
-
rules
public RolePatchArgs.Builder rules(PolicyRulePatchArgs... rules)
- Parameters:
rules
- Rules holds all the PolicyRules for this Role- Returns:
- builder
-
build
public RolePatchArgs build()
-
-