public static class FleetDiagnosisSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FleetDiagnosisSummary |
build() |
FleetDiagnosisSummary.Builder |
copy(FleetDiagnosisSummary model) |
FleetDiagnosisSummary.Builder |
resourceDiagnosis(String resourceDiagnosis)
The diagnosis message.
|
FleetDiagnosisSummary.Builder |
resourceId(String resourceId)
The OCID of the external resouce needed by the fleet.
|
FleetDiagnosisSummary.Builder |
resourceState(FleetDiagnosisSummary.ResourceState resourceState)
The state of the resource.
|
FleetDiagnosisSummary.Builder |
resourceType(FleetDiagnosisSummary.ResourceType resourceType)
The type of the resource needed by the fleet.
|
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.
resourceType
- the value to setpublic FleetDiagnosisSummary.Builder resourceId(String resourceId)
The OCID of the external resouce needed by the fleet.
resourceId
- the value to setpublic 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.
resourceState
- the value to setpublic FleetDiagnosisSummary.Builder resourceDiagnosis(String resourceDiagnosis)
The diagnosis message.
resourceDiagnosis
- the value to setpublic FleetDiagnosisSummary build()
public FleetDiagnosisSummary.Builder copy(FleetDiagnosisSummary model)
Copyright © 2016–2024. All rights reserved.