Class MaintenanceWindowSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.stackmonitoring.model.MaintenanceWindowSummary.Builder
 
- 
- Enclosing class:
- MaintenanceWindowSummary
 
 public static class MaintenanceWindowSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic MaintenanceWindowSummary.Builder id(String id) The OCID of maintenance window.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
namepublic MaintenanceWindowSummary.Builder name(String name) Maintenance Window name.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic MaintenanceWindowSummary.Builder compartmentId(String compartmentId) Compartment Identifier OCID.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
numberOfResourcespublic MaintenanceWindowSummary.Builder numberOfResources(Integer numberOfResources) Number of resources of the Maintenance window.- Parameters:
- numberOfResources- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic MaintenanceWindowSummary.Builder lifecycleState(MaintenanceWindowLifecycleState lifecycleState) Lifecycle state of the monitored resource.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic MaintenanceWindowSummary.Builder lifecycleDetails(MaintenanceWindowLifecycleDetails lifecycleDetails) Lifecycle Details of the Maintenance Window.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
operationTypepublic 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
 
 - 
operationStatuspublic MaintenanceWindowSummary.Builder operationStatus(MaintenanceWindowOperationStatus operationStatus) Status of the most recent operation of the Maintenance Window.- Parameters:
- operationStatus- the value to set
- Returns:
- this builder
 
 - 
schedulepublic MaintenanceWindowSummary.Builder schedule(MaintenanceWindowSchedule schedule) 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic MaintenanceWindowSummary build() 
 - 
copypublic MaintenanceWindowSummary.Builder copy(MaintenanceWindowSummary model) 
 
- 
 
-