Class ArtifactSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.marketplacepublisher.model.ArtifactSummary.Builder
 
- 
- Enclosing class:
- ArtifactSummary
 
 public static class ArtifactSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactSummary.BuilderartifactType(ArtifactTypeEnum artifactType)Artifact Type for the artifact.ArtifactSummarybuild()ArtifactSummary.BuildercompartmentId(String compartmentId)The unique identifier for the compartment.ArtifactSummary.Buildercopy(ArtifactSummary model)ArtifactSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ArtifactSummary.BuilderdisplayName(String displayName)The display name for the artifact.ArtifactSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ArtifactSummary.Builderid(String id)Unique identifier for the artifact.ArtifactSummary.BuilderlifecycleState(Artifact.LifecycleState lifecycleState)The current state for the Artifact.ArtifactSummary.Builderstatus(Artifact.Status status)The current status for the Artifact.ArtifactSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ArtifactSummary.BuildertimeCreated(Date timeCreated)The date and time the artifact was created, in the format defined by RFC3339.ArtifactSummary.BuildertimeUpdated(Date timeUpdated)The date and time the artifact was updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic ArtifactSummary.Builder id(String id) Unique identifier for the artifact.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ArtifactSummary.Builder compartmentId(String compartmentId) The unique identifier for the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ArtifactSummary.Builder displayName(String displayName) The display name for the artifact.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
artifactTypepublic ArtifactSummary.Builder artifactType(ArtifactTypeEnum artifactType) Artifact Type for the artifact.- Parameters:
- artifactType- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ArtifactSummary.Builder lifecycleState(Artifact.LifecycleState lifecycleState) The current state for the Artifact.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
statuspublic ArtifactSummary.Builder status(Artifact.Status status) The current status for the Artifact.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic ArtifactSummary build() 
 - 
copypublic ArtifactSummary.Builder copy(ArtifactSummary model) 
 
- 
 
-