public static final class SchedulesTypes.UpdateSpec.Builder
extends java.lang.Object
SchedulesTypes.UpdateSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
SchedulesTypes.UpdateSpec . |
Modifier and Type | Method and Description |
---|---|
SchedulesTypes.UpdateSpec |
build() |
SchedulesTypes.UpdateSpec.Builder |
setBackupPassword(char[] backupPassword)
Password for a backup piece.
|
SchedulesTypes.UpdateSpec.Builder |
setEnable(java.lang.Boolean enable)
Enable or disable a schedule.
|
SchedulesTypes.UpdateSpec.Builder |
setLocation(java.net.URI location)
URL of the backup location.
|
SchedulesTypes.UpdateSpec.Builder |
setLocationPassword(char[] locationPassword)
Password for the given location.
|
SchedulesTypes.UpdateSpec.Builder |
setLocationUser(java.lang.String locationUser)
Username for the given location.
|
SchedulesTypes.UpdateSpec.Builder |
setParts(java.util.List<java.lang.String> parts)
List of optional parts.
|
SchedulesTypes.UpdateSpec.Builder |
setRecurrenceInfo(SchedulesTypes.RecurrenceInfo recurrenceInfo)
Recurrence information for the schedule.
|
SchedulesTypes.UpdateSpec.Builder |
setRetentionInfo(SchedulesTypes.RetentionInfo retentionInfo)
Retention information for the schedule.
|
public Builder()
SchedulesTypes.UpdateSpec
.public SchedulesTypes.UpdateSpec.Builder setParts(java.util.List<java.lang.String> parts)
Parts.list()
method to get information about
the supported parts. This property was added in vSphere API 6.7.
If null
the value will not be changed.parts
- New value for the property.public SchedulesTypes.UpdateSpec.Builder setBackupPassword(char[] backupPassword)
null
the value will not be changed.backupPassword
- New value for the property.public SchedulesTypes.UpdateSpec.Builder setLocation(java.net.URI location)
null
the value will not be changed.location
- New value for the property.public SchedulesTypes.UpdateSpec.Builder setLocationUser(java.lang.String locationUser)
null
the value will not be changed.locationUser
- New value for the property.public SchedulesTypes.UpdateSpec.Builder setLocationPassword(char[] locationPassword)
null
the value will not be changed.locationPassword
- New value for the property.public SchedulesTypes.UpdateSpec.Builder setEnable(java.lang.Boolean enable)
null
the value will not be changed.enable
- New value for the property.public SchedulesTypes.UpdateSpec.Builder setRecurrenceInfo(SchedulesTypes.RecurrenceInfo recurrenceInfo)
null
the infomration will not be changed. See SchedulesTypes.RecurrenceInfo
recurrenceInfo
- New value for the property.public SchedulesTypes.UpdateSpec.Builder setRetentionInfo(SchedulesTypes.RetentionInfo retentionInfo)
null
the information will not be changed. See SchedulesTypes.RetentionInfo
retentionInfo
- New value for the property.public SchedulesTypes.UpdateSpec build()