public static final class SoftwareUpdatePolicy.Builder
extends java.lang.Object
SoftwareUpdatePolicy.| Constructor and Description |
|---|
Builder(SoftwareUpdatePolicy.AutoUpdateNotification autoStage,
boolean certificateCheck)
Constructor with parameters for the required properties of
SoftwareUpdatePolicy. |
| Modifier and Type | Method and Description |
|---|---|
SoftwareUpdatePolicy |
build() |
SoftwareUpdatePolicy.Builder |
setCheckSchedule(Time checkSchedule)
The
Time class defines day and time the automatic check for new updates
will be run. |
SoftwareUpdatePolicy.Builder |
setCustomURL(java.lang.String customURL)
Current appliance update repository URL.
|
SoftwareUpdatePolicy.Builder |
setDefaultURL(java.lang.String defaultURL)
Default appliance update repository URL.
|
SoftwareUpdatePolicy.Builder |
setPassword(char[] password)
Password for the url update repository
Only
Set if SoftwareUpdatePolicy requires password. |
SoftwareUpdatePolicy.Builder |
setUsername(java.lang.String username)
Username for the url update repository
Only
Set if SoftwareUpdatePolicy requires username. |
public Builder(SoftwareUpdatePolicy.AutoUpdateNotification autoStage, boolean certificateCheck)
SoftwareUpdatePolicy.public SoftwareUpdatePolicy.Builder setCustomURL(java.lang.String customURL)
Set if custom URL requiredcustomURL - 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 setCheckSchedule(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 build()