public static final class SoftwareUpdatePolicy.Builder
extends java.lang.Object
SoftwareUpdatePolicy.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
SoftwareUpdatePolicy. |
| Modifier and Type | Method and Description |
|---|---|
SoftwareUpdatePolicy |
build() |
SoftwareUpdatePolicy.Builder |
setAutoStage(java.lang.Boolean autoStage)
Check for update at the pre-configured repository URL.
|
SoftwareUpdatePolicy.Builder |
setCheckSchedule(java.util.List<Time> checkSchedule)
The
Time class defines day and time the automatic check for new updates
will be run. |
SoftwareUpdatePolicy.Builder |
setDefaultURL(java.lang.String defaultURL)
Default appliance update repository URL.
|
SoftwareUpdatePolicy.Builder |
setEnableSSLCertValidation(java.lang.Boolean enableSSLCertValidation)
Indicates whether certificates will be checked during patching.
|
SoftwareUpdatePolicy.Builder |
setPassword(char[] password)
Password for the url update repository
Only
Set if SoftwareUpdatePolicy requires password. |
SoftwareUpdatePolicy.Builder |
setUrl(java.lang.String url)
Current appliance update repository URL.
|
SoftwareUpdatePolicy.Builder |
setUsername(java.lang.String username)
Username for the url update repository
Only
Set if SoftwareUpdatePolicy requires username. |
public Builder()
SoftwareUpdatePolicy.public SoftwareUpdatePolicy.Builder setUrl(java.lang.String url)
Set if custom URL requiredurl - New value for the property.public SoftwareUpdatePolicy.Builder setDefaultURL(java.lang.String defaultURL)
Set if default URL requireddefaultURL - New value for the property.public SoftwareUpdatePolicy.Builder setAutoStage(java.lang.Boolean autoStage)
Set if auto stage is enable.autoStage - New value for the property.public SoftwareUpdatePolicy.Builder setCheckSchedule(java.util.List<Time> checkSchedule)
Time class defines day and time the automatic check for new updates
will be run.
Only Set if Time required.checkSchedule - New value for the property.public SoftwareUpdatePolicy.Builder setUsername(java.lang.String username)
Set if SoftwareUpdatePolicy requires username.username - New value for the property.public SoftwareUpdatePolicy.Builder setPassword(char[] password)
Set if SoftwareUpdatePolicy requires password.password - New value for the property.public SoftwareUpdatePolicy.Builder setEnableSSLCertValidation(java.lang.Boolean enableSSLCertValidation)
Warning: If this property is set to false, an insecure connection is made to the update repository which can potentially put the appliance security at risk.
enableSSLCertValidation - New value for the property.public SoftwareUpdatePolicy build()