public static final class ClustersTypes.Result.Builder
extends java.lang.Object
ClustersTypes.Result
.Constructor and Description |
---|
Builder(ClustersTypes.Result.Res res)
Constructor with parameters for the required properties of
ClustersTypes.Result . |
Modifier and Type | Method and Description |
---|---|
ClustersTypes.Result |
build() |
ClustersTypes.Result.Builder |
setException(ApiError exception)
Exception when cluster pre-check failed during upgrade invocation.
|
public Builder(ClustersTypes.Result.Res res)
ClustersTypes.Result
.public ClustersTypes.Result.Builder setException(ApiError exception)
getRes()
is ClustersTypes.Result.Res.REJECTED
.exception
- New value for the property.public ClustersTypes.Result build()