public static class ArtifactSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ArtifactSummary.Builder |
artifactType(ArtifactTypeEnum artifactType)
Artifact Type for the artifact.
|
ArtifactSummary |
build() |
ArtifactSummary.Builder |
compartmentId(String compartmentId)
The unique identifier for the compartment.
|
ArtifactSummary.Builder |
copy(ArtifactSummary model) |
ArtifactSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ArtifactSummary.Builder |
displayName(String displayName)
The display name for the artifact.
|
ArtifactSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ArtifactSummary.Builder |
id(String id)
Unique identifier for the artifact.
|
ArtifactSummary.Builder |
lifecycleState(Artifact.LifecycleState lifecycleState)
The current state for the Artifact.
|
ArtifactSummary.Builder |
status(Artifact.Status status)
The current status for the Artifact.
|
ArtifactSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ArtifactSummary.Builder |
timeCreated(Date timeCreated)
The date and time the artifact was created, in the format defined by
RFC3339.
|
ArtifactSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the artifact was updated, in the format defined by
RFC3339.
|
public ArtifactSummary.Builder id(String id)
Unique identifier for the artifact.
id
- the value to setpublic ArtifactSummary.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.
compartmentId
- the value to setpublic ArtifactSummary.Builder displayName(String displayName)
The display name for the artifact.
displayName
- the value to setpublic ArtifactSummary.Builder artifactType(ArtifactTypeEnum artifactType)
Artifact Type for the artifact.
artifactType
- the value to setpublic ArtifactSummary.Builder lifecycleState(Artifact.LifecycleState lifecycleState)
The current state for the Artifact.
lifecycleState
- the value to setpublic ArtifactSummary.Builder status(Artifact.Status status)
The current status for the Artifact.
status
- the value to setpublic ArtifactSummary.Builder timeCreated(Date timeCreated)
The date and time the artifact was created, in the format defined by RFC3339.
Example: 2023-03-27T21:10:29.600Z
timeCreated
- the value to setpublic ArtifactSummary.Builder timeUpdated(Date timeUpdated)
The date and time the artifact was updated, in the format defined by RFC3339.
Example: 2023-03-27T21:10:29.600Z
timeUpdated
- the value to setpublic ArtifactSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic ArtifactSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic ArtifactSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic ArtifactSummary build()
public ArtifactSummary.Builder copy(ArtifactSummary model)
Copyright © 2016–2024. All rights reserved.