public static final class RemotePscSpec.Builder
extends java.lang.Object
RemotePscSpec
.Constructor and Description |
---|
RemotePscSpec.Builder(java.lang.String pscHostname,
java.lang.String ssoAdminPassword)
Constructor with parameters for the required properties of
RemotePscSpec . |
Modifier and Type | Method and Description |
---|---|
RemotePscSpec |
build() |
RemotePscSpec.Builder |
setHttpsPort(java.lang.Long httpsPort)
The HTTPS port of the external PSC appliance.
|
RemotePscSpec.Builder |
setSslThumbprint(java.lang.String sslThumbprint)
SHA1 thumbprint of the server SSL certificate will be used for verification when
ssl_verify field is set to true.
|
RemotePscSpec.Builder |
setSslVerify(java.lang.Boolean sslVerify)
SSL verification should be enabled or disabled.
|
public RemotePscSpec.Builder(java.lang.String pscHostname, java.lang.String ssoAdminPassword)
RemotePscSpec
.public RemotePscSpec.Builder setHttpsPort(java.lang.Long httpsPort)
null
, port 443 will be used.httpsPort
- New value for the property.public RemotePscSpec.Builder setSslThumbprint(java.lang.String sslThumbprint)
getSslVerify()
is null
or has
the value true.sslThumbprint
- New value for the property.public RemotePscSpec.Builder setSslVerify(java.lang.Boolean sslVerify)
getSslVerify()
is
true and and getSslThumbprint()
is null
, the CA certificate will
be used for verification. If getSslVerify()
is true and getSslThumbprint()
is set then the thumbprint will be used for verification. No
verification will be performed if getSslVerify()
value is set to false.
This property was added in vSphere API 6.7.
If null
, getSslVerify()
true will be used.sslVerify
- New value for the property.public RemotePscSpec build()