Class FleetDiagnosisSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • resourceType

        public FleetDiagnosisSummary.Builder resourceType​(FleetDiagnosisSummary.ResourceType resourceType)
        The type of the resource needed by the fleet.

        This is the role of a resource in the fleet. Use the OCID to determine the actual OCI resource type such as log group or log.

        Parameters:
        resourceType - the value to set
        Returns:
        this builder
      • resourceId

        public FleetDiagnosisSummary.Builder resourceId​(String resourceId)
        The OCID of the external resouce needed by the fleet.
        Parameters:
        resourceId - the value to set
        Returns:
        this builder
      • resourceState

        public FleetDiagnosisSummary.Builder resourceState​(FleetDiagnosisSummary.ResourceState resourceState)
        The state of the resource.

        The resource state is ACTIVE when it works properly for the fleet. In case it would cause an issue for the fleet function, the state is INACTIVE. When JMS can’t locate the resource, the state is NOT_FOUND. OTHER covers other cases, such as a temporarily network issue that prevents JMS from detecting the resource. Check the resourceDiagnosis for details.

        Parameters:
        resourceState - the value to set
        Returns:
        this builder
      • resourceDiagnosis

        public FleetDiagnosisSummary.Builder resourceDiagnosis​(String resourceDiagnosis)
        The diagnosis message.
        Parameters:
        resourceDiagnosis - the value to set
        Returns:
        this builder