public static class CccUpgradeSchedule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CccUpgradeSchedule |
build() |
CccUpgradeSchedule.Builder |
compartmentId(String compartmentId)
Compartment
OCID for
the Compute Cloud@Customer upgrade schedule.
|
CccUpgradeSchedule.Builder |
copy(CccUpgradeSchedule model) |
CccUpgradeSchedule.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CccUpgradeSchedule.Builder |
description(String description)
An optional description of the Compute Cloud@Customer upgrade schedule.
|
CccUpgradeSchedule.Builder |
displayName(String displayName)
Compute Cloud@Customer upgrade schedule display name.
|
CccUpgradeSchedule.Builder |
events(List<CccScheduleEvent> events)
List of preferred times for Compute Cloud@Customer infrastructures associated with this
schedule to be upgraded.
|
CccUpgradeSchedule.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CccUpgradeSchedule.Builder |
id(String id)
Upgrade schedule
OCID.
|
CccUpgradeSchedule.Builder |
infrastructureIds(List<String> infrastructureIds)
List of Compute Cloud@Customer infrastructure
OCIDs that
are using this upgrade schedule.
|
CccUpgradeSchedule.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
CccUpgradeSchedule.Builder |
lifecycleState(CccUpgradeSchedule.LifecycleState lifecycleState)
Lifecycle state of the resource.
|
CccUpgradeSchedule.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
CccUpgradeSchedule.Builder |
timeCreated(Date timeCreated)
The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
|
CccUpgradeSchedule.Builder |
timeUpdated(Date timeUpdated)
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
|
public CccUpgradeSchedule.Builder id(String id)
Upgrade schedule OCID. This cannot be changed once created.
id
- the value to setpublic CccUpgradeSchedule.Builder displayName(String displayName)
Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.
displayName
- the value to setpublic CccUpgradeSchedule.Builder description(String description)
An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information.
description
- the value to setpublic CccUpgradeSchedule.Builder compartmentId(String compartmentId)
Compartment OCID for the Compute Cloud@Customer upgrade schedule.
compartmentId
- the value to setpublic CccUpgradeSchedule.Builder timeCreated(Date timeCreated)
The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
timeCreated
- the value to setpublic CccUpgradeSchedule.Builder timeUpdated(Date timeUpdated)
The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic CccUpgradeSchedule.Builder lifecycleState(CccUpgradeSchedule.LifecycleState lifecycleState)
Lifecycle state of the resource.
lifecycleState
- the value to setpublic CccUpgradeSchedule.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.
lifecycleDetails
- the value to setpublic CccUpgradeSchedule.Builder events(List<CccScheduleEvent> events)
List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.
events
- the value to setpublic CccUpgradeSchedule.Builder infrastructureIds(List<String> infrastructureIds)
List of Compute Cloud@Customer infrastructure OCIDs that are using this upgrade schedule.
infrastructureIds
- the value to setpublic CccUpgradeSchedule.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 CccUpgradeSchedule.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 CccUpgradeSchedule.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 CccUpgradeSchedule build()
public CccUpgradeSchedule.Builder copy(CccUpgradeSchedule model)
Copyright © 2016–2024. All rights reserved.