public static final class ApiServiceConfig.Builder
extends java.lang.Object
ApiServiceConfig
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ApiServiceConfig . |
Modifier and Type | Method and Description |
---|---|
ApiServiceConfig |
build() |
ApiServiceConfig.Builder |
setBasicAuthenticationEnabled(java.lang.Boolean basicAuthenticationEnabled)
Identifies whether basic authentication is enabled or disabled in API calls.
|
ApiServiceConfig.Builder |
setCipherSuites(java.util.List<CipherSuite> cipherSuites)
The TLS cipher suites that the API service will negotiate.
|
ApiServiceConfig.Builder |
setClientApiConcurrencyLimit(java.lang.Long clientApiConcurrencyLimit)
The maximum number of concurrent API requests that will be serviced for a given
authenticated client.
|
ApiServiceConfig.Builder |
setClientApiRateLimit(java.lang.Long clientApiRateLimit)
The maximum number of API requests that will be serviced per second for a given
authenticated client.
|
ApiServiceConfig.Builder |
setConnectionTimeout(java.lang.Long connectionTimeout)
NSX connection timeout, in seconds.
|
ApiServiceConfig.Builder |
setCookieBasedAuthenticationEnabled(java.lang.Boolean cookieBasedAuthenticationEnabled)
Identifies whether cookie-based authentication is enabled or disabled in API
calls.
|
ApiServiceConfig.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.
|
ApiServiceConfig.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.
|
ApiServiceConfig.Builder |
setDescription(java.lang.String description)
Description of this resource
|
ApiServiceConfig.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
ApiServiceConfig.Builder |
setGlobalApiConcurrencyLimit(java.lang.Long globalApiConcurrencyLimit)
The maximum number of concurrent API requests that will be serviced.
|
ApiServiceConfig.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
ApiServiceConfig.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.
|
ApiServiceConfig.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.
|
ApiServiceConfig.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
ApiServiceConfig.Builder |
setLockoutImmuneAddresses(java.util.List<java.lang.String> lockoutImmuneAddresses)
The list of IP addresses which are not subjected to a lockout on failed login
attempts.
|
ApiServiceConfig.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.
|
ApiServiceConfig.Builder |
setProtocolVersions(java.util.List<ProtocolVersion> protocolVersions)
The TLS protocol versions that the API service will negotiate.
|
ApiServiceConfig.Builder |
setRedirectHost(java.lang.String redirectHost)
Host name or IP address to use for redirect location headers, or empty string to
derive from current request.
|
ApiServiceConfig.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
ApiServiceConfig.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
ApiServiceConfig.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.
|
ApiServiceConfig.Builder |
setSelf(SelfResourceLink self) |
ApiServiceConfig.Builder |
setSessionTimeout(java.lang.Long sessionTimeout)
NSX session inactivity timeout format: int64
|
ApiServiceConfig.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.
|
ApiServiceConfig.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
ApiServiceConfig
.public ApiServiceConfig.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public ApiServiceConfig.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public ApiServiceConfig.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public ApiServiceConfig.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public ApiServiceConfig.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public ApiServiceConfig.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public ApiServiceConfig.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public ApiServiceConfig.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public ApiServiceConfig.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public ApiServiceConfig.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public ApiServiceConfig.Builder setDescription(java.lang.String description)
description
- New value for the property.public ApiServiceConfig.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public ApiServiceConfig.Builder setId(java.lang.String id)
id
- New value for the property.public ApiServiceConfig.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public ApiServiceConfig.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public ApiServiceConfig.Builder setBasicAuthenticationEnabled(java.lang.Boolean basicAuthenticationEnabled)
basicAuthenticationEnabled
- New value for the property.public ApiServiceConfig.Builder setCipherSuites(java.util.List<CipherSuite> cipherSuites)
cipherSuites
- New value for the property.public ApiServiceConfig.Builder setClientApiConcurrencyLimit(java.lang.Long clientApiConcurrencyLimit)
clientApiConcurrencyLimit
- New value for the property.public ApiServiceConfig.Builder setClientApiRateLimit(java.lang.Long clientApiRateLimit)
clientApiRateLimit
- New value for the property.public ApiServiceConfig.Builder setConnectionTimeout(java.lang.Long connectionTimeout)
connectionTimeout
- New value for the property.public ApiServiceConfig.Builder setCookieBasedAuthenticationEnabled(java.lang.Boolean cookieBasedAuthenticationEnabled)
cookieBasedAuthenticationEnabled
- New value for the property.public ApiServiceConfig.Builder setGlobalApiConcurrencyLimit(java.lang.Long globalApiConcurrencyLimit)
globalApiConcurrencyLimit
- New value for the property.public ApiServiceConfig.Builder setLockoutImmuneAddresses(java.util.List<java.lang.String> lockoutImmuneAddresses)
lockoutImmuneAddresses
- New value for the property.public ApiServiceConfig.Builder setProtocolVersions(java.util.List<ProtocolVersion> protocolVersions)
protocolVersions
- New value for the property.public ApiServiceConfig.Builder setRedirectHost(java.lang.String redirectHost)
redirectHost
- New value for the property.public ApiServiceConfig.Builder setSessionTimeout(java.lang.Long sessionTimeout)
sessionTimeout
- New value for the property.public ApiServiceConfig build()