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