Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Runbook.Builder |
associations(Associations associations) |
Runbook |
build() |
Runbook.Builder |
compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
|
Runbook.Builder |
copy(Runbook model) |
Runbook.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Runbook.Builder |
description(String description)
A user-friendly description.
|
Runbook.Builder |
displayName(String displayName)
A user-friendly name.
|
Runbook.Builder |
estimatedTime(String estimatedTime)
Estimated time to successfully complete the runbook execution.
|
Runbook.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Runbook.Builder |
id(String id)
The OCID of the resource.
|
Runbook.Builder |
isDefault(Boolean isDefault)
Is the runbook default? Sets this runbook as the default for the chosen product/product
stack for the specified lifecycle operation.
|
Runbook.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Runbook.Builder |
lifecycleState(Runbook.LifecycleState lifecycleState)
The current state of the Runbook.
|
Runbook.Builder |
operation(String operation)
The lifecycle operation performed by the runbook.
|
Runbook.Builder |
osType(OsType osType)
The OS type for the runbook.
|
Runbook.Builder |
platform(String platform)
The platform of the runbook.
|
Runbook.Builder |
resourceRegion(String resourceRegion)
Associated region
|
Runbook.Builder |
runbookRelevance(Runbook.RunbookRelevance runbookRelevance)
Relevance of the runbook.
|
Runbook.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
Runbook.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
Runbook.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
Runbook.Builder |
type(Runbook.Type type)
The type of the runbook.
|
public Runbook.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic Runbook.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
displayName
- the value to setpublic Runbook.Builder description(String description)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
description
- the value to setpublic Runbook.Builder type(Runbook.Type type)
The type of the runbook.
type
- the value to setpublic Runbook.Builder runbookRelevance(Runbook.RunbookRelevance runbookRelevance)
Relevance of the runbook.
runbookRelevance
- the value to setpublic Runbook.Builder operation(String operation)
The lifecycle operation performed by the runbook.
operation
- the value to setpublic Runbook.Builder osType(OsType osType)
The OS type for the runbook.
osType
- the value to setpublic Runbook.Builder platform(String platform)
The platform of the runbook.
platform
- the value to setpublic Runbook.Builder isDefault(Boolean isDefault)
Is the runbook default? Sets this runbook as the default for the chosen product/product stack for the specified lifecycle operation.
isDefault
- the value to setpublic Runbook.Builder estimatedTime(String estimatedTime)
Estimated time to successfully complete the runbook execution.
estimatedTime
- the value to setpublic Runbook.Builder lifecycleState(Runbook.LifecycleState lifecycleState)
The current state of the Runbook.
lifecycleState
- the value to setpublic Runbook.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic Runbook.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic Runbook.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Runbook.Builder associations(Associations associations)
public Runbook.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
compartmentId
- the value to setpublic Runbook.Builder resourceRegion(String resourceRegion)
Associated region
resourceRegion
- the value to setpublic Runbook.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"}
freeformTags
- the value to setpublic Runbook.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"}}
definedTags
- the value to setpublic Runbook.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"}}
systemTags
- the value to setpublic Runbook build()
public Runbook.Builder copy(Runbook model)
Copyright © 2016–2024. All rights reserved.