Class RoleArgs.Builder

  • Enclosing class:
    RoleArgs

    public static final class RoleArgs.Builder
    extends java.lang.Object
    • 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
      • 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