Class CreateRunbookDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.CreateRunbookDetails.Builder
-
- Enclosing class:
- CreateRunbookDetails
public static class CreateRunbookDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateRunbookDetails.Builder
associations(Associations associations)
CreateRunbookDetails
build()
CreateRunbookDetails.Builder
compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.CreateRunbookDetails.Builder
copy(CreateRunbookDetails model)
CreateRunbookDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateRunbookDetails.Builder
description(String description)
A user-friendly description.CreateRunbookDetails.Builder
displayName(String displayName)
A user-friendly name.CreateRunbookDetails.Builder
estimatedTime(String estimatedTime)
Estimated time to successfully complete the runbook executionCreateRunbookDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.CreateRunbookDetails.Builder
isDefault(Boolean isDefault)
Is the runbook default?CreateRunbookDetails.Builder
operation(String operation)
The lifecycle operation performed by the task.CreateRunbookDetails.Builder
osType(OsType osType)
The OS type for the runbook.CreateRunbookDetails.Builder
platform(String platform)
The platform of the runbook.CreateRunbookDetails.Builder
runbookRelevance(Runbook.RunbookRelevance runbookRelevance)
Type of runbook structure.
-
-
-
Method Detail
-
displayName
public CreateRunbookDetails.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
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateRunbookDetails.Builder description(String description)
A user-friendly description.To provide some insight about the resource. Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
runbookRelevance
public CreateRunbookDetails.Builder runbookRelevance(Runbook.RunbookRelevance runbookRelevance)
Type of runbook structure.- Parameters:
runbookRelevance
- the value to set- Returns:
- this builder
-
operation
public CreateRunbookDetails.Builder operation(String operation)
The lifecycle operation performed by the task.- Parameters:
operation
- the value to set- Returns:
- this builder
-
osType
public CreateRunbookDetails.Builder osType(OsType osType)
The OS type for the runbook.- Parameters:
osType
- the value to set- Returns:
- this builder
-
platform
public CreateRunbookDetails.Builder platform(String platform)
The platform of the runbook.- Parameters:
platform
- the value to set- Returns:
- this builder
-
isDefault
public CreateRunbookDetails.Builder isDefault(Boolean isDefault)
Is the runbook default?- Parameters:
isDefault
- the value to set- Returns:
- this builder
-
estimatedTime
public CreateRunbookDetails.Builder estimatedTime(String estimatedTime)
Estimated time to successfully complete the runbook execution- Parameters:
estimatedTime
- the value to set- Returns:
- this builder
-
associations
public CreateRunbookDetails.Builder associations(Associations associations)
-
compartmentId
public CreateRunbookDetails.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
freeformTags
public CreateRunbookDetails.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 CreateRunbookDetails.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
-
build
public CreateRunbookDetails build()
-
copy
public CreateRunbookDetails.Builder copy(CreateRunbookDetails model)
-
-