public static final class LastCheckResultTypes.EntityCheckResult.Builder
extends java.lang.Object
LastCheckResultTypes.EntityCheckResult
.Constructor and Description |
---|
Builder(LastCheckResultTypes.EntityCheckResult.EntityType type,
LastCheckResultTypes.Status status,
java.util.List<LastCheckResultTypes.CheckStatus> checkStatuses)
Constructor with parameters for the required properties of
LastCheckResultTypes.EntityCheckResult . |
Modifier and Type | Method and Description |
---|---|
LastCheckResultTypes.EntityCheckResult |
build() |
LastCheckResultTypes.EntityCheckResult.Builder |
setCluster(java.lang.String cluster)
If the entity type is CLUSTER then the cluster identifier for which the checks
have been run.
|
LastCheckResultTypes.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(LastCheckResultTypes.EntityCheckResult.EntityType type, LastCheckResultTypes.Status status, java.util.List<LastCheckResultTypes.CheckStatus> checkStatuses)
LastCheckResultTypes.EntityCheckResult
.public LastCheckResultTypes.EntityCheckResult.Builder setCluster(java.lang.String cluster)
getType()
is LastCheckResultTypes.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 LastCheckResultTypes.EntityCheckResult.Builder setHost(java.lang.String host)
getType()
is LastCheckResultTypes.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 LastCheckResultTypes.EntityCheckResult build()