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