Package com.oracle.bmc.devops.model
Class DeployArtifactSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.DeployArtifactSummary.Builder
-
- Enclosing class:
- DeployArtifactSummary
public static class DeployArtifactSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeployArtifactSummary.Builder
argumentSubstitutionMode(DeployArtifact.ArgumentSubstitutionMode argumentSubstitutionMode)
Mode for artifact parameter substitution.DeployArtifactSummary
build()
DeployArtifactSummary.Builder
compartmentId(String compartmentId)
The OCID of a compartment.DeployArtifactSummary.Builder
copy(DeployArtifactSummary model)
DeployArtifactSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DeployArtifactSummary.Builder
deployArtifactSource(DeployArtifactSource deployArtifactSource)
DeployArtifactSummary.Builder
deployArtifactType(DeployArtifact.DeployArtifactType deployArtifactType)
Type of the deployment artifact.DeployArtifactSummary.Builder
description(String description)
Optional description about the deployment artifact.DeployArtifactSummary.Builder
displayName(String displayName)
Deployment artifact identifier, which can be renamed and is not necessarily unique.DeployArtifactSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DeployArtifactSummary.Builder
id(String id)
Unique identifier that is immutable on creation.DeployArtifactSummary.Builder
lifecycleDetails(String lifecycleDetails)
A detailed message describing the current state.DeployArtifactSummary.Builder
lifecycleState(DeployArtifact.LifecycleState lifecycleState)
Current state of the deployment artifact.DeployArtifactSummary.Builder
projectId(String projectId)
The OCID of a project.DeployArtifactSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.DeployArtifactSummary.Builder
timeCreated(Date timeCreated)
Time the deployment artifact was created.DeployArtifactSummary.Builder
timeUpdated(Date timeUpdated)
Time the deployment artifact was updated.
-
-
-
Method Detail
-
id
public DeployArtifactSummary.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
description
public DeployArtifactSummary.Builder description(String description)
Optional description about the deployment artifact.- Parameters:
description
- the value to set- Returns:
- this builder
-
displayName
public DeployArtifactSummary.Builder displayName(String displayName)
Deployment artifact identifier, which can be renamed and is not necessarily unique.Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
projectId
public DeployArtifactSummary.Builder projectId(String projectId)
The OCID of a project.- Parameters:
projectId
- the value to set- Returns:
- this builder
-
compartmentId
public DeployArtifactSummary.Builder compartmentId(String compartmentId)
The OCID of a compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
deployArtifactType
public DeployArtifactSummary.Builder deployArtifactType(DeployArtifact.DeployArtifactType deployArtifactType)
Type of the deployment artifact.- Parameters:
deployArtifactType
- the value to set- Returns:
- this builder
-
deployArtifactSource
public DeployArtifactSummary.Builder deployArtifactSource(DeployArtifactSource deployArtifactSource)
-
argumentSubstitutionMode
public DeployArtifactSummary.Builder argumentSubstitutionMode(DeployArtifact.ArgumentSubstitutionMode argumentSubstitutionMode)
Mode for artifact parameter substitution.- Parameters:
argumentSubstitutionMode
- the value to set- Returns:
- this builder
-
timeCreated
public DeployArtifactSummary.Builder timeCreated(Date timeCreated)
Time the deployment artifact was created.Format defined by RFC3339.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public DeployArtifactSummary.Builder timeUpdated(Date timeUpdated)
Time the deployment artifact was updated.Format defined by RFC3339.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public DeployArtifactSummary.Builder lifecycleState(DeployArtifact.LifecycleState lifecycleState)
Current state of the deployment artifact.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public DeployArtifactSummary.Builder lifecycleDetails(String lifecycleDetails)
A detailed message describing the current state.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public DeployArtifactSummary.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. See Resource Tags. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public DeployArtifactSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public DeployArtifactSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. See Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public DeployArtifactSummary build()
-
copy
public DeployArtifactSummary.Builder copy(DeployArtifactSummary model)
-
-