public static final class LibraryItemTypes.DeploymentResult.Builder
extends java.lang.Object
LibraryItemTypes.DeploymentResult
.Constructor and Description |
---|
Builder(boolean succeeded)
Constructor with parameters for the required properties of
LibraryItemTypes.DeploymentResult . |
Modifier and Type | Method and Description |
---|---|
LibraryItemTypes.DeploymentResult |
build() |
LibraryItemTypes.DeploymentResult.Builder |
setError(LibraryItemTypes.ResultInfo error)
Errors, warnings, and informational messages produced by the
deploy()
method. |
LibraryItemTypes.DeploymentResult.Builder |
setResourceId(LibraryItemTypes.DeployableIdentity resourceId)
Identifier of the deployed resource entity.
|
public Builder(boolean succeeded)
LibraryItemTypes.DeploymentResult
.public LibraryItemTypes.DeploymentResult.Builder setResourceId(LibraryItemTypes.DeployableIdentity resourceId)
null
, the deploy()
method failed and LibraryItemTypes.DeploymentResult.getError()
will describe
the error(s) that caused the failure.resourceId
- New value for the property.public LibraryItemTypes.DeploymentResult.Builder setError(LibraryItemTypes.ResultInfo error)
deploy()
method.
If null
, no errors, warnings, or informational messages were reported by
the deploy()
method.error
- New value for the property.public LibraryItemTypes.DeploymentResult build()