public static final class CertificateParams.Builder
extends java.lang.Object
CertificateParams
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
CertificateParams . |
Modifier and Type | Method and Description |
---|---|
CertificateParams |
build() |
CertificateParams.Builder |
setIsSelfSigned(java.lang.Boolean isSelfSigned)
Is the certificate self-signed.
|
CertificateParams.Builder |
setIssuer(java.lang.String issuer)
Certificate issuer.
|
CertificateParams.Builder |
setIsValid(java.lang.Boolean isValid)
Is the certificate chain validated.
|
CertificateParams.Builder |
setSubject(java.lang.String subject)
Certificate subject.
|
CertificateParams.Builder |
setType(java.lang.String type)
Unique identifier describing the type of the OVF parameters.
|
CertificateParams.Builder |
setWarnings(java.util.List<WarningInfo> warnings)
The list of warnings raised for the OVF certificate used in this OVF package
deployment.
|
CertificateParams.Builder |
setX509(java.lang.String x509)
The X509 representation of the certificate.
|
public Builder()
CertificateParams
.public CertificateParams.Builder setIssuer(java.lang.String issuer)
issuer
- New value for the property.public CertificateParams.Builder setSubject(java.lang.String subject)
subject
- New value for the property.public CertificateParams.Builder setIsValid(java.lang.Boolean isValid)
isValid
- New value for the property.public CertificateParams.Builder setIsSelfSigned(java.lang.Boolean isSelfSigned)
isSelfSigned
- New value for the property.public CertificateParams.Builder setX509(java.lang.String x509)
x509
- New value for the property.public CertificateParams.Builder setWarnings(java.util.List<WarningInfo> warnings)
LibraryItem.filter(java.lang.String, com.vmware.vcenter.ovf.LibraryItemTypes.DeploymentTarget)
. When the property is set, the WarningInfo.getIgnored()
property can be updated before
the OVF parameter is passed to LibraryItem.deploy(java.lang.String, java.lang.String, com.vmware.vcenter.ovf.LibraryItemTypes.DeploymentTarget, com.vmware.vcenter.ovf.LibraryItemTypes.ResourcePoolDeploymentSpec)
to deploy the OVF package.warnings
- New value for the property.public CertificateParams.Builder setType(java.lang.String type)
type
- New value for the property.public CertificateParams build()