Class ArtifactSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.ArtifactSummary.Builder
-
- Enclosing class:
- ArtifactSummary
public static class ArtifactSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public ArtifactSummary.Builder id(String id)
Unique identifier for the artifact.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public ArtifactSummary.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public ArtifactSummary.Builder displayName(String displayName)
The display name for the artifact.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
artifactType
public ArtifactSummary.Builder artifactType(ArtifactTypeEnum artifactType)
Artifact Type for the artifact.- Parameters:
artifactType
- the value to set- Returns:
- this builder
-
lifecycleState
public ArtifactSummary.Builder lifecycleState(Artifact.LifecycleState lifecycleState)
The current state for the Artifact.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
status
public ArtifactSummary.Builder status(Artifact.Status status)
The current status for the Artifact.- Parameters:
status
- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public 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
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public ArtifactSummary build()
-
copy
public ArtifactSummary.Builder copy(ArtifactSummary model)
-
-