Class ScopeCluster


  • public final class ScopeCluster
    extends Object
    Specifies that the scope of the extension is Cluster.
    • Constructor Detail

      • ScopeCluster

        public ScopeCluster()
    • Method Detail

      • releaseNamespace

        public String releaseNamespace()
        Get the releaseNamespace property: Namespace where the extension Release must be placed, for a Cluster scoped extension. If this namespace does not exist, it will be created.
        Returns:
        the releaseNamespace value.
      • withReleaseNamespace

        public ScopeCluster withReleaseNamespace​(String releaseNamespace)
        Set the releaseNamespace property: Namespace where the extension Release must be placed, for a Cluster scoped extension. If this namespace does not exist, it will be created.
        Parameters:
        releaseNamespace - the releaseNamespace value to set.
        Returns:
        the ScopeCluster object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.