public static class ImportedPackage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ImportedPackage |
build() |
ImportedPackage.Builder |
copy(ImportedPackage model) |
ImportedPackage.Builder |
currentPackageId(String currentPackageId)
ID of the package.
|
ImportedPackage.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
ImportedPackage.Builder |
displayName(String displayName)
Display name of the package (can change across versions).
|
ImportedPackage.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
ImportedPackage.Builder |
name(String name)
Stable name of the package (the same across versions).
|
ImportedPackage.Builder |
odaInstanceId(String odaInstanceId)
ID of the host instance.
|
ImportedPackage.Builder |
parameterValues(Map<String,String> parameterValues)
A list of parameter values used to import the package.
|
ImportedPackage.Builder |
status(ImportedPackage.Status status)
Status of the imported package.
|
ImportedPackage.Builder |
statusMessage(String statusMessage)
Short message explaining the status of this imported package.
|
ImportedPackage.Builder |
timeCreated(Date timeCreated)
When the imported package was created.
|
ImportedPackage.Builder |
timeUpdated(Date timeUpdated)
When the imported package was last updated.
|
ImportedPackage.Builder |
version(String version)
version of the package.
|
public ImportedPackage.Builder odaInstanceId(String odaInstanceId)
ID of the host instance.
odaInstanceId
- the value to setpublic ImportedPackage.Builder currentPackageId(String currentPackageId)
ID of the package.
currentPackageId
- the value to setpublic ImportedPackage.Builder name(String name)
Stable name of the package (the same across versions).
name
- the value to setpublic ImportedPackage.Builder displayName(String displayName)
Display name of the package (can change across versions).
displayName
- the value to setpublic ImportedPackage.Builder version(String version)
version of the package.
version
- the value to setpublic ImportedPackage.Builder status(ImportedPackage.Status status)
Status of the imported package.
status
- the value to setpublic ImportedPackage.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 ImportedPackage.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 ImportedPackage.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 ImportedPackage.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 ImportedPackage.Builder statusMessage(String statusMessage)
Short message explaining the status of this imported package.
statusMessage
- the value to setpublic ImportedPackage.Builder parameterValues(Map<String,String> parameterValues)
A list of parameter values used to import the package.
parameterValues
- the value to setpublic ImportedPackage build()
public ImportedPackage.Builder copy(ImportedPackage model)
Copyright © 2016–2024. All rights reserved.