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 CreateRunbookDetailsbuild()CreateRunbookDetails.BuildercompartmentId(String compartmentId)OCID of the compartment to which the resource belongs to.CreateRunbookDetails.Buildercopy(CreateRunbookDetails model)CreateRunbookDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateRunbookDetails.Builderdescription(String description)A user-friendly description.CreateRunbookDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateRunbookDetails.BuilderestimatedTime(String estimatedTime)Estimated time to successfully complete the runbook execution.CreateRunbookDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateRunbookDetails.BuilderisDefault(Boolean isDefault)Is the runbook default?CreateRunbookDetails.BuilderisSudoAccessNeeded(Boolean isSudoAccessNeeded)Does this runbook need SUDO access to execute?CreateRunbookDetails.Builderoperation(String operation)The lifecycle operation performed by the task.CreateRunbookDetails.BuilderosType(OsType osType)The OS type for the runbook.CreateRunbookDetails.Builderplatform(String platform)The platform of the runbook.CreateRunbookDetails.BuilderrunbookVersion(Version runbookVersion)
-
-
-
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
-
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
-
isSudoAccessNeeded
public CreateRunbookDetails.Builder isSudoAccessNeeded(Boolean isSudoAccessNeeded)
Does this runbook need SUDO access to execute?- Parameters:
isSudoAccessNeeded- 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
-
runbookVersion
public CreateRunbookDetails.Builder runbookVersion(Version runbookVersion)
-
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)
-
-