public static final class ComponentInfo.Builder
extends java.lang.Object
ComponentInfo
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ComponentInfo . |
Modifier and Type | Method and Description |
---|---|
ComponentInfo |
build() |
ComponentInfo.Builder |
setDetails(ComponentDetails details)
Details about the component.
|
ComponentInfo.Builder |
setVersion(java.lang.String version)
Version of the component.
|
public Builder()
ComponentInfo
.public ComponentInfo.Builder setVersion(java.lang.String version)
null
if version is not specified.version
- New value for the property.public ComponentInfo.Builder setDetails(ComponentDetails details)
null
if component is not present in the depot.details
- New value for the property.public ComponentInfo build()