public static final class LbHttpProfile.Builder
extends java.lang.Object
LbHttpProfile
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
LbHttpProfile . |
Modifier and Type | Method and Description |
---|---|
LbHttpProfile |
build() |
LbHttpProfile.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.
|
LbHttpProfile.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.
|
LbHttpProfile.Builder |
setDescription(java.lang.String description)
Description of this resource
|
LbHttpProfile.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
LbHttpProfile.Builder |
setHttpRedirectTo(java.lang.String httpRedirectTo)
If a website is temporarily down or has moved, incoming requests for that
virtual server can be temporarily redirected to a URL
|
LbHttpProfile.Builder |
setHttpRedirectToHttps(java.lang.Boolean httpRedirectToHttps)
Certain secure applications may want to force communication over SSL, but
instead of rejecting non-SSL connections, they may choose to redirect the client
automatically to use SSL.
|
LbHttpProfile.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
LbHttpProfile.Builder |
setIdleTimeout(java.lang.Long idleTimeout)
It is used to specify the HTTP application idle timeout, it means that how long
the load balancer will keep the connection idle to wait for the client to send
the next keep-alive request.
|
LbHttpProfile.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.
|
LbHttpProfile.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.
|
LbHttpProfile.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
LbHttpProfile.Builder |
setNtlm(java.lang.Boolean ntlm)
NTLM is an authentication protocol that can be used over HTTP.
|
LbHttpProfile.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.
|
LbHttpProfile.Builder |
setRequestBodySize(java.lang.Long requestBodySize)
If it is not specified, it means that request body size is unlimited.
|
LbHttpProfile.Builder |
setRequestHeaderSize(java.lang.Long requestHeaderSize)
A request with header equal to or below this size is guaranteed to be processed.
|
LbHttpProfile.Builder |
setResponseBuffering(java.lang.Boolean responseBuffering)
When buffering is disabled, the response is passed to a client synchronously,
immediately as it is received.
|
LbHttpProfile.Builder |
setResponseHeaderSize(java.lang.Long responseHeaderSize)
A response with header larger than response_header_size will be dropped.
|
LbHttpProfile.Builder |
setResponseTimeout(java.lang.Long responseTimeout)
If server doesn't send any packet within this time, the connection is closed.
|
LbHttpProfile.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
LbHttpProfile.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.
|
LbHttpProfile.Builder |
setSelf(SelfResourceLink self) |
LbHttpProfile.Builder |
setServerKeepAlive(java.lang.Boolean serverKeepAlive)
If server_keep_alive is true, it means the backend connection will keep alive
for the client connection.
|
LbHttpProfile.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.
|
LbHttpProfile.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
LbHttpProfile.Builder |
setxForwardedFor(java.lang.String xForwardedFor)
Possible values are:
LbHttpProfile.X_FORWARDED_FOR_INSERT LbHttpProfile.X_FORWARDED_FOR_REPLACE When
X-Forwareded-For is configured, X-Forwarded-Proto and X-Forwarded-Port
information is added automatically. |
public Builder()
LbHttpProfile
.public LbHttpProfile.Builder setHttpRedirectTo(java.lang.String httpRedirectTo)
httpRedirectTo
- New value for the property.public LbHttpProfile.Builder setHttpRedirectToHttps(java.lang.Boolean httpRedirectToHttps)
httpRedirectToHttps
- New value for the property.public LbHttpProfile.Builder setIdleTimeout(java.lang.Long idleTimeout)
idleTimeout
- New value for the property.public LbHttpProfile.Builder setNtlm(java.lang.Boolean ntlm)
ntlm
- New value for the property.public LbHttpProfile.Builder setRequestBodySize(java.lang.Long requestBodySize)
requestBodySize
- New value for the property.public LbHttpProfile.Builder setRequestHeaderSize(java.lang.Long requestHeaderSize)
requestHeaderSize
- New value for the property.public LbHttpProfile.Builder setResponseBuffering(java.lang.Boolean responseBuffering)
responseBuffering
- New value for the property.public LbHttpProfile.Builder setResponseHeaderSize(java.lang.Long responseHeaderSize)
responseHeaderSize
- New value for the property.public LbHttpProfile.Builder setResponseTimeout(java.lang.Long responseTimeout)
responseTimeout
- New value for the property.public LbHttpProfile.Builder setServerKeepAlive(java.lang.Boolean serverKeepAlive)
serverKeepAlive
- New value for the property.public LbHttpProfile.Builder setxForwardedFor(java.lang.String xForwardedFor)
xForwardedFor
- New value for the property.public LbHttpProfile.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public LbHttpProfile.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public LbHttpProfile.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public LbHttpProfile.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public LbHttpProfile.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public LbHttpProfile.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public LbHttpProfile.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public LbHttpProfile.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public LbHttpProfile.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public LbHttpProfile.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public LbHttpProfile.Builder setDescription(java.lang.String description)
description
- New value for the property.public LbHttpProfile.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public LbHttpProfile.Builder setId(java.lang.String id)
id
- New value for the property.public LbHttpProfile.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public LbHttpProfile build()