Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
Agent . |
Modifier and Type | Method and Description |
---|---|
Agent |
build() |
Agent.Builder |
setAddresses(java.util.List<java.lang.String> addresses)
The addresses of the agent including its public IP and DNS names.
|
Agent.Builder |
setAgentState(java.lang.String agentState)
|
Agent.Builder |
setAgentUrl(java.lang.String agentUrl)
The accessible URL of the agent service, it is resolved to public IP address
from the Internet and private IP address within SDDC
|
Agent.Builder |
setCertEnabled(java.lang.Boolean certEnabled)
Boolean flag to indicate if the agent is using CA signed certificate
|
Agent.Builder |
setCustomProperties(java.util.Map<java.lang.String,java.lang.String> customProperties) |
Agent.Builder |
setHealthy(java.lang.Boolean healthy)
Boolean flag to indicate if the agent is healthy.
|
Agent.Builder |
setHostnameVerifierEnabled(java.lang.Boolean hostnameVerifierEnabled)
Boolean flag to indicate if the agent is using FQDN in the certificate
|
Agent.Builder |
setId(java.lang.String id)
The agent id
|
Agent.Builder |
setInternalIp(java.lang.String internalIp)
The internal IP address of the agent which is provided by the underlying cloud
provider
|
Agent.Builder |
setManagementIp(java.lang.String managementIp)
The internal management IP address of the agent exposed to the SDDC, which might
be different from the internal IP
|
Agent.Builder |
setMaster(java.lang.Boolean master)
Boolean flag to indicate if the agent is the master, only the master Agent is
accessible
|
Agent.Builder |
setNetworkCidr(java.lang.String networkCidr)
Network CIDR of the agent
|
Agent.Builder |
setNetworkGateway(java.lang.String networkGateway)
Network gateway of the agent
|
Agent.Builder |
setNetworkNetmask(java.lang.String networkNetmask)
Network netmask of the agent
|
Agent.Builder |
setSddcCspOauthClient(AgentCspOauthClient sddcCspOauthClient)
CSP Oauth client credentials to access information from POP.
|
Agent.Builder |
setTenantServiceInfo(TenantServiceInfo tenantServiceInfo)
Tenant service information that we will save as a part of agent data.
|
Agent.Builder |
setTinyproxyWhitelist(java.util.List<java.lang.String> tinyproxyWhitelist)
The list of white listed domains of the HTTP proxy.
|
public Builder()
Agent
.public Agent.Builder setSddcCspOauthClient(AgentCspOauthClient sddcCspOauthClient)
sddcCspOauthClient
- New value for the property.public Agent.Builder setAddresses(java.util.List<java.lang.String> addresses)
addresses
- New value for the property.public Agent.Builder setInternalIp(java.lang.String internalIp)
internalIp
- New value for the property.public Agent.Builder setHostnameVerifierEnabled(java.lang.Boolean hostnameVerifierEnabled)
hostnameVerifierEnabled
- New value for the property.public Agent.Builder setCertEnabled(java.lang.Boolean certEnabled)
certEnabled
- New value for the property.public Agent.Builder setNetworkCidr(java.lang.String networkCidr)
networkCidr
- New value for the property.public Agent.Builder setId(java.lang.String id)
id
- New value for the property.public Agent.Builder setTenantServiceInfo(TenantServiceInfo tenantServiceInfo)
tenantServiceInfo
- New value for the property.public Agent.Builder setTinyproxyWhitelist(java.util.List<java.lang.String> tinyproxyWhitelist)
tinyproxyWhitelist
- New value for the property.public Agent.Builder setHealthy(java.lang.Boolean healthy)
healthy
- New value for the property.public Agent.Builder setCustomProperties(java.util.Map<java.lang.String,java.lang.String> customProperties)
customProperties
- New value for the property.public Agent.Builder setManagementIp(java.lang.String managementIp)
managementIp
- New value for the property.public Agent.Builder setMaster(java.lang.Boolean master)
master
- New value for the property.public Agent.Builder setNetworkNetmask(java.lang.String networkNetmask)
networkNetmask
- New value for the property.public Agent.Builder setNetworkGateway(java.lang.String networkGateway)
networkGateway
- New value for the property.public Agent.Builder setAgentUrl(java.lang.String agentUrl)
agentUrl
- New value for the property.public Agent.Builder setAgentState(java.lang.String agentState)
agentState
- New value for the property.public Agent build()