Class ClusterRoleBinding.Builder

    • Method Detail

      • metadata

        @Stability(Stable)
        public ClusterRoleBinding.Builder metadata​(org.cdk8s.ApiObjectMetadata metadata)
        Metadata that all persisted resources must have, which includes all objects users must create.

        Parameters:
        metadata - Metadata that all persisted resources must have, which includes all objects users must create. This parameter is required.
        Returns:
        this
      • role

        @Stability(Stable)
        public ClusterRoleBinding.Builder role​(IClusterRole role)
        The role to bind to.

        Parameters:
        role - The role to bind to. This parameter is required.
        Returns:
        this