public static final class UpgradeTypes.SourceApplianceSpec.Builder
extends java.lang.Object
UpgradeTypes.SourceApplianceSpec
.Constructor and Description |
---|
Builder(java.lang.String hostname,
java.lang.String ssoAdminUsername,
char[] ssoAdminPassword,
char[] rootPassword)
Constructor with parameters for the required properties of
UpgradeTypes.SourceApplianceSpec . |
Modifier and Type | Method and Description |
---|---|
UpgradeTypes.SourceApplianceSpec |
build() |
UpgradeTypes.SourceApplianceSpec.Builder |
setHttpsPort(java.lang.Long httpsPort)
The HTTPS port of the source appliance.
|
UpgradeTypes.SourceApplianceSpec.Builder |
setSshThumbprint(java.lang.String sshThumbprint)
MD5 thumbprint of the server SSH key will be used for verification.
|
UpgradeTypes.SourceApplianceSpec.Builder |
setSshVerify(java.lang.Boolean sshVerify)
Appliance SSH verification should be enabled or disabled.
|
UpgradeTypes.SourceApplianceSpec.Builder |
setSslThumbprint(java.lang.String sslThumbprint)
SHA1 thumbprint of the server SSL certificate will be used for verification.
|
UpgradeTypes.SourceApplianceSpec.Builder |
setSslVerify(java.lang.Boolean sslVerify)
SSL verification should be enabled or disabled for the source appliance
validations.
|
public Builder(java.lang.String hostname, java.lang.String ssoAdminUsername, char[] ssoAdminPassword, char[] rootPassword)
UpgradeTypes.SourceApplianceSpec
.public UpgradeTypes.SourceApplianceSpec.Builder setHttpsPort(java.lang.Long httpsPort)
null
, port 443 will be used.httpsPort
- New value for the property.public UpgradeTypes.SourceApplianceSpec.Builder setSslThumbprint(java.lang.String sslThumbprint)
getSslVerify()
is null
or has
the value true.sslThumbprint
- New value for the property.public UpgradeTypes.SourceApplianceSpec.Builder setSslVerify(java.lang.Boolean sslVerify)
null
, ssl_verify true will be used.sslVerify
- New value for the property.public UpgradeTypes.SourceApplianceSpec.Builder setSshVerify(java.lang.Boolean sshVerify)
null
, ssh_verify true will be used.sshVerify
- New value for the property.public UpgradeTypes.SourceApplianceSpec.Builder setSshThumbprint(java.lang.String sshThumbprint)
getSshVerify()
is null
or has
the value true.sshThumbprint
- New value for the property.public UpgradeTypes.SourceApplianceSpec build()