public static class ImportedPackageSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ImportedPackageSummary |
build() |
ImportedPackageSummary.Builder |
copy(ImportedPackageSummary model) |
ImportedPackageSummary.Builder |
currentPackageId(String currentPackageId)
ID of the package.
|
ImportedPackageSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
ImportedPackageSummary.Builder |
displayName(String displayName)
Display name of the package (can change across versions).
|
ImportedPackageSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
ImportedPackageSummary.Builder |
name(String name)
Stable name of the package (the same across versions).
|
ImportedPackageSummary.Builder |
odaInstanceId(String odaInstanceId)
ID of the host instance.
|
ImportedPackageSummary.Builder |
status(ImportedPackage.Status status)
Status of the imported package.
|
ImportedPackageSummary.Builder |
timeCreated(Date timeCreated)
When the imported package was created.
|
ImportedPackageSummary.Builder |
timeUpdated(Date timeUpdated)
When the imported package was last updated.
|
ImportedPackageSummary.Builder |
version(String version)
version of the package.
|
public ImportedPackageSummary.Builder odaInstanceId(String odaInstanceId)
ID of the host instance.
odaInstanceId
- the value to setpublic ImportedPackageSummary.Builder currentPackageId(String currentPackageId)
ID of the package.
currentPackageId
- the value to setpublic ImportedPackageSummary.Builder name(String name)
Stable name of the package (the same across versions).
name
- the value to setpublic ImportedPackageSummary.Builder displayName(String displayName)
Display name of the package (can change across versions).
displayName
- the value to setpublic ImportedPackageSummary.Builder version(String version)
version of the package.
version
- the value to setpublic ImportedPackageSummary.Builder status(ImportedPackage.Status status)
Status of the imported package.
status
- the value to setpublic ImportedPackageSummary.Builder timeCreated(Date timeCreated)
When the imported package was created. A date-time string as described in RFC 3339, section 14.29.
timeCreated
- the value to setpublic ImportedPackageSummary.Builder timeUpdated(Date timeUpdated)
When the imported package was last updated. A date-time string as described in RFC 3339, section 14.29.
timeUpdated
- the value to setpublic ImportedPackageSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
Example: {"bar-key": "value"}
freeformTags
- the value to setpublic ImportedPackageSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic ImportedPackageSummary build()
public ImportedPackageSummary.Builder copy(ImportedPackageSummary model)
Copyright © 2016–2024. All rights reserved.