Class ContainerAttachedClusterAuthorization.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • adminGroups

        @Stability(Stable)
        public ContainerAttachedClusterAuthorization.Builder adminGroups​(List<String> adminGroups)
        Parameters:
        adminGroups - Groups that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the 'cluster-admin' ClusterRole to the groups. Up to ten admin groups can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#admin_groups ContainerAttachedCluster#admin_groups}
        Returns:
        this
      • adminUsers

        @Stability(Stable)
        public ContainerAttachedClusterAuthorization.Builder adminUsers​(List<String> adminUsers)
        Parameters:
        adminUsers - Users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the 'cluster-admin' ClusterRole to the users. Up to ten admin users can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#admin_users ContainerAttachedCluster#admin_users}
        Returns:
        this