public static final class PreviewInfo.Builder
extends java.lang.Object
PreviewInfo.| Constructor and Description |
|---|
PreviewInfo.Builder(PreviewInfo.State state)
Constructor with parameters for the required properties of
PreviewInfo. |
| Modifier and Type | Method and Description |
|---|---|
PreviewInfo |
build() |
PreviewInfo.Builder |
setCertificateInfo(CertificateInfo certificateInfo)
The certificate information of the signed update session content.
|
PreviewInfo.Builder |
setWarnings(java.util.List<PreviewWarningInfo> warnings)
The list of warnings raised for this update session.
|
public PreviewInfo.Builder(PreviewInfo.State state)
PreviewInfo.public PreviewInfo.Builder setCertificateInfo(CertificateInfo certificateInfo)
null if the update session content is not signed.certificateInfo - New value for the property.public PreviewInfo.Builder setWarnings(java.util.List<PreviewWarningInfo> warnings)
getState() is PreviewInfo.State.AVAILABLE.warnings - New value for the property.public PreviewInfo build()