Constructor and Description |
---|
Builder(java.net.URI location)
Constructor with parameters for the required properties of
OvaInfo . |
Modifier and Type | Method and Description |
---|---|
OvaInfo |
build() |
OvaInfo.Builder |
setHashAlgorithm(HashAlgorithm hashAlgorithm)
The hash algorithm (SHA256, SHA512) used to calculate the checksum.
|
OvaInfo.Builder |
setSslHash(java.lang.String sslHash)
Hash to verify the SSL OVA location.
|
OvaInfo.Builder |
setSslVerify(java.lang.Boolean sslVerify)
A flag to indicate whether SSL verification is required for the ova location.
|
public Builder(java.net.URI location)
OvaInfo
.public OvaInfo.Builder setSslVerify(java.lang.Boolean sslVerify)
null
defaults to TruesslVerify
- New value for the property.public OvaInfo.Builder setSslHash(java.lang.String sslHash)
getSslVerify()
is false this
filed can be omitted. If getSslVerify()
is true and this field is
ommited a CA based validation will be used. If getSslVerify()
is true
and this field is provided will be used for SSL validation.
If Set
will be used for SSL validation.sslHash
- New value for the property.public OvaInfo.Builder setHashAlgorithm(HashAlgorithm hashAlgorithm)
com.vmware.vcenter.lcm.common.HashAlgorithm#SH_A256
.hashAlgorithm
- New value for the property.public OvaInfo build()