public static final class SoftwareTypes.EntityCheckResult.Builder
extends java.lang.Object
SoftwareTypes.EntityCheckResult
.Constructor and Description |
---|
Builder(SoftwareTypes.EntityCheckResult.EntityType type,
SoftwareTypes.Status status,
java.util.List<SoftwareTypes.CheckStatus> checkStatuses)
Constructor with parameters for the required properties of
SoftwareTypes.EntityCheckResult . |
Modifier and Type | Method and Description |
---|---|
SoftwareTypes.EntityCheckResult |
build() |
SoftwareTypes.EntityCheckResult.Builder |
setCluster(java.lang.String cluster)
If the entity type is CLUSTER then the cluster identifier for which the checks
have been run.
|
SoftwareTypes.EntityCheckResult.Builder |
setHost(java.lang.String host)
If the entity type is HOST then the host identifier for which the checks have
been run.
|
public Builder(SoftwareTypes.EntityCheckResult.EntityType type, SoftwareTypes.Status status, java.util.List<SoftwareTypes.CheckStatus> checkStatuses)
SoftwareTypes.EntityCheckResult
.public SoftwareTypes.EntityCheckResult.Builder setCluster(java.lang.String cluster)
getType()
is SoftwareTypes.EntityCheckResult.EntityType.CLUSTER
.cluster
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: ClusterComputeResource
. When methods
return a value of this class as a return value, the property will be an
identifier for the resource type: ClusterComputeResource
.public SoftwareTypes.EntityCheckResult.Builder setHost(java.lang.String host)
getType()
is SoftwareTypes.EntityCheckResult.EntityType.HOST
.host
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: HostSystem
. When methods return a
value of this class as a return value, the property will be an identifier for
the resource type: HostSystem
.public SoftwareTypes.EntityCheckResult build()