Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Job.Builder |
applyJobPlanResolution(ApplyJobPlanResolution applyJobPlanResolution) |
Job |
build() |
Job.Builder |
cancellationDetails(CancellationDetails cancellationDetails) |
Job.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment in which the job’s associated stack resides.
|
Job.Builder |
configSource(ConfigSourceRecord configSource) |
Job.Builder |
copy(Job model) |
Job.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Job.Builder |
displayName(String displayName)
The job’s display name.
|
Job.Builder |
failureDetails(FailureDetails failureDetails) |
Job.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags associated with this resource.
|
Job.Builder |
id(String id)
The OCID
of the job.
|
Job.Builder |
isProviderUpgradeRequired(Boolean isProviderUpgradeRequired)
Specifies whether or not to upgrade provider versions.
|
Job.Builder |
isThirdPartyProviderExperienceEnabled(Boolean isThirdPartyProviderExperienceEnabled)
When
true , the stack sources third-party Terraform providers from Terraform
Registry and allows customTerraformProvider . |
Job.Builder |
jobOperationDetails(JobOperationDetails jobOperationDetails) |
Job.Builder |
lifecycleState(Job.LifecycleState lifecycleState)
Current state of the specified job.
|
Job.Builder |
operation(Job.Operation operation)
The type of job executing.
|
Job.Builder |
resolvedPlanJobId(String resolvedPlanJobId)
Deprecated.
|
Job.Builder |
stackId(String stackId)
The OCID
of the stack that is associated with the job.
|
Job.Builder |
timeCreated(Date timeCreated)
The date and time when the job was created.
|
Job.Builder |
timeFinished(Date timeFinished)
The date and time when the job stopped running, irrespective of whether the job ran
successfully.
|
Job.Builder |
variables(Map<String,String> variables)
Terraform variables associated with this resource.
|
Job.Builder |
workingDirectory(String workingDirectory)
File path to the directory to use for running Terraform.
|
public Job.Builder id(String id)
The OCID of the job.
id
- the value to setpublic Job.Builder stackId(String stackId)
The OCID of the stack that is associated with the job.
stackId
- the value to setpublic Job.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the job’s associated stack resides.
compartmentId
- the value to setpublic Job.Builder displayName(String displayName)
The job’s display name.
displayName
- the value to setpublic Job.Builder operation(Job.Operation operation)
The type of job executing.
operation
- the value to setpublic Job.Builder isThirdPartyProviderExperienceEnabled(Boolean isThirdPartyProviderExperienceEnabled)
When true
, the stack sources third-party Terraform providers from Terraform
Registry and allows customTerraformProvider
. For
more information about stack sourcing of third-party Terraform providers, see
Third-party Provider
Configuration.
isThirdPartyProviderExperienceEnabled
- the value to setpublic Job.Builder isProviderUpgradeRequired(Boolean isProviderUpgradeRequired)
Specifies whether or not to upgrade provider versions. Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. For more information about this option, see Dependency Lock File (terraform.io).
isProviderUpgradeRequired
- the value to setpublic Job.Builder jobOperationDetails(JobOperationDetails jobOperationDetails)
public Job.Builder applyJobPlanResolution(ApplyJobPlanResolution applyJobPlanResolution)
public Job.Builder resolvedPlanJobId(String resolvedPlanJobId)
Deprecated. Use the property executionPlanJobId
in jobOperationDetails
instead. The plan job
OCID that
was used (if this was an apply job and was not auto-approved).
resolvedPlanJobId
- the value to setpublic Job.Builder timeCreated(Date timeCreated)
The date and time when the job was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
timeCreated
- the value to setpublic Job.Builder timeFinished(Date timeFinished)
The date and time when the job stopped running, irrespective of whether the job ran
successfully. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
timeFinished
- the value to setpublic Job.Builder lifecycleState(Job.LifecycleState lifecycleState)
Current state of the specified job. For more information about job lifecycle states in Resource Manager, see Key Concepts.
lifecycleState
- the value to setpublic Job.Builder failureDetails(FailureDetails failureDetails)
public Job.Builder cancellationDetails(CancellationDetails cancellationDetails)
public Job.Builder workingDirectory(String workingDirectory)
File path to the directory to use for running Terraform. If not specified, the root
directory is used. Required when using a zip Terraform configuration (configSourceType
value of ZIP_UPLOAD
) that contains folders. Ignored for the
configSourceType
value of COMPARTMENT_CONFIG_SOURCE
. For more information
about required and recommended file structure, see File Structure (Terraform
Configurations for Resource
Manager).
workingDirectory
- the value to setpublic Job.Builder variables(Map<String,String> variables)
Terraform variables associated with this resource. Maximum number of variables supported
is 250. The maximum size of each variable, including both name and value, is 8192 bytes.
Example: {"CompartmentId": "compartment-id-value"}
variables
- the value to setpublic Job.Builder configSource(ConfigSourceRecord configSource)
public Job.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags associated with this resource. Each tag is a key-value pair with no
predefined name, type, or namespace. For more information, see Resource
Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic Job.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic Job build()
public Job.Builder copy(Job model)
Copyright © 2016–2024. All rights reserved.