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