public static final class LbUdpMonitor.Builder
extends java.lang.Object
LbUdpMonitor
.Constructor and Description |
---|
Builder(java.lang.String resourceType)
Constructor with parameters for the required properties of
LbUdpMonitor . |
Modifier and Type | Method and Description |
---|---|
LbUdpMonitor |
build() |
LbUdpMonitor.Builder |
setCreateTime(java.lang.Long createTime)
Timestamp of resource creation format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbUdpMonitor.Builder |
setCreateUser(java.lang.String createUser)
ID of the user who created this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbUdpMonitor.Builder |
setDescription(java.lang.String description)
Description of this resource
|
LbUdpMonitor.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
LbUdpMonitor.Builder |
setFallCount(java.lang.Long fallCount)
num of consecutive checks must fail before marking it down format: int64
|
LbUdpMonitor.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
LbUdpMonitor.Builder |
setInterval(java.lang.Long interval)
the frequency at which the system issues the monitor check (in second) format:
int64
|
LbUdpMonitor.Builder |
setLastModifiedTime(java.lang.Long lastModifiedTime)
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbUdpMonitor.Builder |
setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbUdpMonitor.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
LbUdpMonitor.Builder |
setMonitorPort(java.lang.String monitorPort)
If the monitor port is specified, it would override pool member port setting for
healthcheck.
|
LbUdpMonitor.Builder |
setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
LbUdpMonitor.Builder |
setReceive(java.lang.String receive)
Expected data, can be anywhere in the response and it has to be a string,
regular expressions are not supported.
|
LbUdpMonitor.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
LbUdpMonitor.Builder |
setRiseCount(java.lang.Long riseCount)
num of consecutive checks must pass before marking it up format: int64
|
LbUdpMonitor.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbUdpMonitor.Builder |
setSelf(SelfResourceLink self) |
LbUdpMonitor.Builder |
setSend(java.lang.String send)
The data to be sent to the monitored server.
|
LbUdpMonitor.Builder |
setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbUdpMonitor.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
LbUdpMonitor.Builder |
setTimeout(java.lang.Long timeout)
the number of seconds the target has in which to respond to the monitor request
format: int64
|
public Builder(java.lang.String resourceType)
LbUdpMonitor
.public LbUdpMonitor.Builder setReceive(java.lang.String receive)
receive
- New value for the property.public LbUdpMonitor.Builder setSend(java.lang.String send)
send
- New value for the property.public LbUdpMonitor.Builder setFallCount(java.lang.Long fallCount)
fallCount
- New value for the property.public LbUdpMonitor.Builder setInterval(java.lang.Long interval)
interval
- New value for the property.public LbUdpMonitor.Builder setMonitorPort(java.lang.String monitorPort)
monitorPort
- New value for the property.public LbUdpMonitor.Builder setRiseCount(java.lang.Long riseCount)
riseCount
- New value for the property.public LbUdpMonitor.Builder setTimeout(java.lang.Long timeout)
timeout
- New value for the property.public LbUdpMonitor.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public LbUdpMonitor.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public LbUdpMonitor.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public LbUdpMonitor.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public LbUdpMonitor.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public LbUdpMonitor.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public LbUdpMonitor.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public LbUdpMonitor.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public LbUdpMonitor.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public LbUdpMonitor.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public LbUdpMonitor.Builder setDescription(java.lang.String description)
description
- New value for the property.public LbUdpMonitor.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public LbUdpMonitor.Builder setId(java.lang.String id)
id
- New value for the property.public LbUdpMonitor.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public LbUdpMonitor build()