Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
Proxy . |
Modifier and Type | Method and Description |
---|---|
Proxy |
build() |
Proxy.Builder |
setCertificateId(java.lang.String certificateId)
Certificate ID with a valid certificate, procured from trust-management API.
|
Proxy.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.
|
Proxy.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.
|
Proxy.Builder |
setDescription(java.lang.String description)
Description of this resource
|
Proxy.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
Proxy.Builder |
setEnabled(java.lang.Boolean enabled)
Flag to indicate if proxy is enabled.
|
Proxy.Builder |
setHost(java.lang.String host)
Specify the fully qualified domain name, or ip address, of the proxy server.
|
Proxy.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
Proxy.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.
|
Proxy.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.
|
Proxy.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
Proxy.Builder |
setPassword(java.lang.String password)
Specify the password used to authenticate with the proxy server, if required.
|
Proxy.Builder |
setPort(java.lang.Long port)
Specify the port of the proxy server.
|
Proxy.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.
|
Proxy.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
Proxy.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
Proxy.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.
|
Proxy.Builder |
setScheme(java.lang.String scheme)
Possible values are:
Proxy.SCHEME_HTTP Proxy.SCHEME_HTTPS The scheme accepted by the
proxy server. |
Proxy.Builder |
setSelf(SelfResourceLink self) |
Proxy.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.
|
Proxy.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
Proxy.Builder |
setTestConnectionUrl(java.lang.String testConnectionUrl)
Specify a url for connection testing when adding proxy config.
|
Proxy.Builder |
setUsername(java.lang.String username)
Specify the user name used to authenticate with the proxy server, if required.
|
public Builder()
Proxy
.public Proxy.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public Proxy.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public Proxy.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public Proxy.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public Proxy.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public Proxy.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public Proxy.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public Proxy.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public Proxy.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public Proxy.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public Proxy.Builder setDescription(java.lang.String description)
description
- New value for the property.public Proxy.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public Proxy.Builder setId(java.lang.String id)
id
- New value for the property.public Proxy.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public Proxy.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public Proxy.Builder setCertificateId(java.lang.String certificateId)
certificateId
- New value for the property.public Proxy.Builder setEnabled(java.lang.Boolean enabled)
enabled
- New value for the property.public Proxy.Builder setHost(java.lang.String host)
host
- New value for the property.public Proxy.Builder setPassword(java.lang.String password)
password
- New value for the property.public Proxy.Builder setPort(java.lang.Long port)
port
- New value for the property.public Proxy.Builder setScheme(java.lang.String scheme)
scheme
- New value for the property.public Proxy.Builder setTestConnectionUrl(java.lang.String testConnectionUrl)
testConnectionUrl
- New value for the property.public Proxy.Builder setUsername(java.lang.String username)
username
- New value for the property.public Proxy build()