Class Metadata.Builder

  • Enclosing class:
    Metadata

    public static class Metadata.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • hostId

        public Metadata.Builder hostId​(String hostId)
        OCID of the host that ran the test.
        Parameters:
        hostId - the value to set
        Returns:
        this builder
      • healthCheckKey

        public Metadata.Builder healthCheckKey​(String healthCheckKey)
        Identifier of the health check run.
        Parameters:
        healthCheckKey - the value to set
        Returns:
        this builder
      • instanceId

        public Metadata.Builder instanceId​(String instanceId)
        OCID of the instance related to the test.
        Parameters:
        instanceId - the value to set
        Returns:
        this builder
      • shape

        public Metadata.Builder shape​(String shape)
        Shape of the instance under test.
        Parameters:
        shape - the value to set
        Returns:
        this builder
      • testType

        public Metadata.Builder testType​(Metadata.TestType testType)
        Test type provided by the diagnosis payload.
        Parameters:
        testType - the value to set
        Returns:
        this builder