Constructor and Description |
---|
Builder(java.util.Map<java.lang.String,PopAmiInfo> amiInfos)
Constructor with parameters for the required properties of
PopInfo . |
Modifier and Type | Method and Description |
---|---|
PopInfo |
build() |
PopInfo.Builder |
setCreatedAt(java.util.Calendar createdAt)
The PopInfo (or PoP AMI) created time.
|
PopInfo.Builder |
setId(java.lang.String id)
UUID of the PopInfo format: UUID
|
PopInfo.Builder |
setManifestVersion(java.lang.String manifestVersion)
version of the manifest.
|
PopInfo.Builder |
setOsType(java.lang.String osType)
Possible values are:
PopInfo.OS_TYPE_CENTOS PopInfo.OS_TYPE_AMAZON PopInfo.OS_TYPE_PHOTON Type of OS: CENTOS or
AMAZON(Amazon Linux 2) or PHOTON |
PopInfo.Builder |
setServiceInfos(java.util.Map<java.lang.String,PopServiceInfo> serviceInfos)
A map of [service type]:[PopServiceInfo]
|
public Builder(java.util.Map<java.lang.String,PopAmiInfo> amiInfos)
PopInfo
.public PopInfo.Builder setManifestVersion(java.lang.String manifestVersion)
manifestVersion
- New value for the property.public PopInfo.Builder setServiceInfos(java.util.Map<java.lang.String,PopServiceInfo> serviceInfos)
serviceInfos
- New value for the property.public PopInfo.Builder setCreatedAt(java.util.Calendar createdAt)
createdAt
- New value for the property.public PopInfo.Builder setOsType(java.lang.String osType)
osType
- New value for the property.public PopInfo.Builder setId(java.lang.String id)
id
- New value for the property.public PopInfo build()