Class Metadata.Builder
- java.lang.Object
-
- com.oracle.bmc.clusterhealth.model.Metadata.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Metadatabuild()Metadata.Buildercopy(Metadata model)Metadata.BuilderhealthCheckKey(String healthCheckKey)Identifier of the health check run.Metadata.BuilderhostId(String hostId)OCID of the host that ran the test.Metadata.BuilderinstanceId(String instanceId)OCID of the instance related to the test.Metadata.Buildershape(String shape)Shape of the instance under test.Metadata.BuildertestType(Metadata.TestType testType)Test type provided by the diagnosis payload.
-
-
-
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
-
build
public Metadata build()
-
copy
public Metadata.Builder copy(Metadata model)
-
-