public static class DeployArtifact.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DeployArtifact.Builder |
argumentSubstitutionMode(DeployArtifact.ArgumentSubstitutionMode argumentSubstitutionMode)
Mode for artifact parameter substitution.
|
DeployArtifact |
build() |
DeployArtifact.Builder |
compartmentId(String compartmentId)
The OCID of a compartment.
|
DeployArtifact.Builder |
copy(DeployArtifact model) |
DeployArtifact.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DeployArtifact.Builder |
deployArtifactSource(DeployArtifactSource deployArtifactSource) |
DeployArtifact.Builder |
deployArtifactType(DeployArtifact.DeployArtifactType deployArtifactType)
Type of the deployment artifact.
|
DeployArtifact.Builder |
description(String description)
Optional description about the artifact to be deployed.
|
DeployArtifact.Builder |
displayName(String displayName)
Deployment artifact identifier, which can be renamed and is not necessarily unique.
|
DeployArtifact.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DeployArtifact.Builder |
id(String id)
Unique identifier that is immutable on creation.
|
DeployArtifact.Builder |
lifecycleDetails(String lifecycleDetails)
A detailed message describing the current state.
|
DeployArtifact.Builder |
lifecycleState(DeployArtifact.LifecycleState lifecycleState)
Current state of the deployment artifact.
|
DeployArtifact.Builder |
projectId(String projectId)
The OCID of a project.
|
DeployArtifact.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
DeployArtifact.Builder |
timeCreated(Date timeCreated)
Time the deployment artifact was created.
|
DeployArtifact.Builder |
timeUpdated(Date timeUpdated)
Time the deployment artifact was updated.
|
public DeployArtifact.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic DeployArtifact.Builder description(String description)
Optional description about the artifact to be deployed.
description
- the value to setpublic DeployArtifact.Builder displayName(String displayName)
Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information.
displayName
- the value to setpublic DeployArtifact.Builder projectId(String projectId)
The OCID of a project.
projectId
- the value to setpublic DeployArtifact.Builder compartmentId(String compartmentId)
The OCID of a compartment.
compartmentId
- the value to setpublic DeployArtifact.Builder deployArtifactType(DeployArtifact.DeployArtifactType deployArtifactType)
Type of the deployment artifact.
deployArtifactType
- the value to setpublic DeployArtifact.Builder argumentSubstitutionMode(DeployArtifact.ArgumentSubstitutionMode argumentSubstitutionMode)
Mode for artifact parameter substitution.
argumentSubstitutionMode
- the value to setpublic DeployArtifact.Builder deployArtifactSource(DeployArtifactSource deployArtifactSource)
public DeployArtifact.Builder timeCreated(Date timeCreated)
Time the deployment artifact was created. Format defined by RFC3339.
timeCreated
- the value to setpublic DeployArtifact.Builder timeUpdated(Date timeUpdated)
Time the deployment artifact was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic DeployArtifact.Builder lifecycleState(DeployArtifact.LifecycleState lifecycleState)
Current state of the deployment artifact.
lifecycleState
- the value to setpublic DeployArtifact.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.
lifecycleDetails
- the value to setpublic DeployArtifact.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"}
freeformTags
- the value to setpublic DeployArtifact.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"}}
definedTags
- the value to setpublic DeployArtifact.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"}}
systemTags
- the value to setpublic DeployArtifact build()
public DeployArtifact.Builder copy(DeployArtifact model)
Copyright © 2016–2024. All rights reserved.