Class MaintenanceWindowSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.MaintenanceWindowSummary.Builder
-
- Enclosing class:
- MaintenanceWindowSummary
public static class MaintenanceWindowSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public MaintenanceWindowSummary.Builder id(String id)
The OCID of maintenance window.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public MaintenanceWindowSummary.Builder name(String name)
Maintenance Window name.- Parameters:
name
- the value to set- Returns:
- this builder
-
compartmentId
public MaintenanceWindowSummary.Builder compartmentId(String compartmentId)
Compartment Identifier OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
numberOfResources
public MaintenanceWindowSummary.Builder numberOfResources(Integer numberOfResources)
Number of resources of the Maintenance window.- Parameters:
numberOfResources
- the value to set- Returns:
- this builder
-
lifecycleState
public MaintenanceWindowSummary.Builder lifecycleState(MaintenanceWindowLifecycleState lifecycleState)
Lifecycle state of the monitored resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public MaintenanceWindowSummary.Builder lifecycleDetails(MaintenanceWindowLifecycleDetails lifecycleDetails)
Lifecycle Details of the Maintenance Window.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
operationType
public MaintenanceWindowSummary.Builder operationType(MaintenanceWindowOperationType operationType)
The name of the most recent operation of the Maintenance window.- Parameters:
operationType
- the value to set- Returns:
- this builder
-
operationStatus
public MaintenanceWindowSummary.Builder operationStatus(MaintenanceWindowOperationStatus operationStatus)
Status of the most recent operation of the Maintenance Window.- Parameters:
operationStatus
- the value to set- Returns:
- this builder
-
schedule
public MaintenanceWindowSummary.Builder schedule(MaintenanceWindowSchedule schedule)
-
freeformTags
public MaintenanceWindowSummary.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 MaintenanceWindowSummary.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
-
systemTags
public MaintenanceWindowSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public MaintenanceWindowSummary build()
-
copy
public MaintenanceWindowSummary.Builder copy(MaintenanceWindowSummary model)
-
-