Class ClusterReportedProperties


  • public final class ClusterReportedProperties
    extends Object
    Properties reported by cluster agent.
    • Constructor Detail

      • ClusterReportedProperties

        public ClusterReportedProperties()
    • Method Detail

      • clusterName

        public String clusterName()
        Get the clusterName property: Name of the on-prem cluster connected to this resource.
        Returns:
        the clusterName value.
      • clusterId

        public String clusterId()
        Get the clusterId property: Unique id generated by the on-prem cluster.
        Returns:
        the clusterId value.
      • clusterVersion

        public String clusterVersion()
        Get the clusterVersion property: Version of the cluster software.
        Returns:
        the clusterVersion value.
      • nodes

        public List<ClusterNode> nodes()
        Get the nodes property: List of nodes reported by the cluster.
        Returns:
        the nodes value.
      • lastUpdated

        public OffsetDateTime lastUpdated()
        Get the lastUpdated property: Last time the cluster reported the data.
        Returns:
        the lastUpdated value.
      • imdsAttestation

        public ImdsAttestation imdsAttestation()
        Get the imdsAttestation property: IMDS attestation status of the cluster.
        Returns:
        the imdsAttestation value.
      • diagnosticLevel

        public DiagnosticLevel diagnosticLevel()
        Get the diagnosticLevel property: Level of diagnostic data emitted by the cluster.
        Returns:
        the diagnosticLevel value.
      • withDiagnosticLevel

        public ClusterReportedProperties withDiagnosticLevel​(DiagnosticLevel diagnosticLevel)
        Set the diagnosticLevel property: Level of diagnostic data emitted by the cluster.
        Parameters:
        diagnosticLevel - the diagnosticLevel value to set.
        Returns:
        the ClusterReportedProperties object itself.
      • validate

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