public static final class ReferenceHostInfo.Builder
extends java.lang.Object
ReferenceHostInfo
.Constructor and Description |
---|
Builder(ReferenceHostInfo.Status status,
LocalizableMessage summary)
Constructor with parameters for the required properties of
ReferenceHostInfo . |
Modifier and Type | Method and Description |
---|---|
ReferenceHostInfo |
build() |
ReferenceHostInfo.Builder |
setHost(java.lang.String host)
The ID of the reference host.
|
ReferenceHostInfo.Builder |
setName(java.lang.String name)
The name of the reference host.
|
public Builder(ReferenceHostInfo.Status status, LocalizableMessage summary)
ReferenceHostInfo
.public ReferenceHostInfo.Builder setHost(java.lang.String host)
getStatus()
is one of ReferenceHostInfo.Status.OK
or
ReferenceHostInfo.Status.DISCONNECTED
.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 ReferenceHostInfo.Builder setName(java.lang.String name)
getStatus()
is one of ReferenceHostInfo.Status.OK
or
ReferenceHostInfo.Status.DISCONNECTED
.name
- New value for the property.public ReferenceHostInfo build()