public static final class MaintenanceInfo.MaintenanceInfoBuilder extends Object
Modifier and Type | Method and Description |
---|---|
MaintenanceInfo |
build()
Constructs a
MaintenanceInfo from the provided values. |
MaintenanceInfo.MaintenanceInfoBuilder |
description(String description)
The description of the impact of the maintenance update.
|
MaintenanceInfo.MaintenanceInfoBuilder |
version(int major,
int minor,
int patch,
String extension)
The version of the maintenance update available for a plan.
|
MaintenanceInfo.MaintenanceInfoBuilder |
version(String version)
The version of the maintenance update available for a plan.
|
public MaintenanceInfo.MaintenanceInfoBuilder version(String version)
version
- the versionpublic MaintenanceInfo.MaintenanceInfoBuilder version(int major, int minor, int patch, String extension)
major
- MAJOR version when you make incompatible API changesminor
- MINOR version when you add functionality in a backwards-compatible mannerpatch
- PATCH version when you make backwards-compatible bug fixesextension
- additional labels for pre-release and build metadatapublic MaintenanceInfo.MaintenanceInfoBuilder description(String description)
description
- the descriptionpublic MaintenanceInfo build()
MaintenanceInfo
from the provided values.IllegalArgumentException
- if the provided to the builder version does not comply to semantic
versioning v2 specification