Class FsuCycleSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetsoftwareupdate.model.FsuCycleSummary.Builder
-
- Enclosing class:
- FsuCycleSummary
public static class FsuCycleSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FsuCycleSummary
build()
FsuCycleSummary.Builder
collectionType(CollectionTypes collectionType)
Type of Collection this Exadata Fleet Update Cycle belongs to.FsuCycleSummary.Builder
compartmentId(String compartmentId)
Compartment Identifier.FsuCycleSummary.Builder
copy(FsuCycleSummary model)
FsuCycleSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.FsuCycleSummary.Builder
diagnosticsCollection(DiagnosticsCollectionDetails diagnosticsCollection)
FsuCycleSummary.Builder
displayName(String displayName)
Exadata Fleet Update Cycle display name.FsuCycleSummary.Builder
executingFsuActionId(String executingFsuActionId)
OCID identifier for the Action that is currently in execution, if applicable.FsuCycleSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.FsuCycleSummary.Builder
fsuCollectionId(String fsuCollectionId)
OCID identifier for the Collection ID the Exadata Fleet Update Cycle is assigned to.FsuCycleSummary.Builder
goalVersionDetails(FsuGoalVersionDetails goalVersionDetails)
FsuCycleSummary.Builder
id(String id)
OCID identifier for the Exadata Fleet Update Cycle.FsuCycleSummary.Builder
lastCompletedAction(DetailedActionTypes lastCompletedAction)
The latest Action type that was completed in the Exadata Fleet Update Cycle.FsuCycleSummary.Builder
lastCompletedActionId(String lastCompletedActionId)
OCID identifier for the latest Action the Exadata Fleet Update Cycle.FsuCycleSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.FsuCycleSummary.Builder
lifecycleState(CycleLifecycleStates lifecycleState)
The current state of the Exadata Fleet Update Cycle.FsuCycleSummary.Builder
nextActionToExecute(List<NextActionToExecuteDetails> nextActionToExecute)
In this array all the possible actions will be listed.FsuCycleSummary.Builder
rollbackCycleState(RollbackCycleStates rollbackCycleState)
Current rollback cycle state if rollback maintenance cycle action has been attempted.FsuCycleSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.FsuCycleSummary.Builder
timeCreated(Date timeCreated)
The date and time the Exadata Fleet Update Cycle was created, as described in RFC 3339, section 14.29.FsuCycleSummary.Builder
timeFinished(Date timeFinished)
The date and time the Exadata Fleet Update Cycle was finished, as described in RFC 3339.FsuCycleSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the Exadata Fleet Update Cycle was updated, as described in RFC 3339, section 14.29.FsuCycleSummary.Builder
type(CycleTypes type)
Type of Exadata Fleet Update Cycle.
-
-
-
Method Detail
-
id
public FsuCycleSummary.Builder id(String id)
OCID identifier for the Exadata Fleet Update Cycle.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public FsuCycleSummary.Builder displayName(String displayName)
Exadata Fleet Update Cycle display name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public FsuCycleSummary.Builder compartmentId(String compartmentId)
Compartment Identifier.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
type
public FsuCycleSummary.Builder type(CycleTypes type)
Type of Exadata Fleet Update Cycle.- Parameters:
type
- the value to set- Returns:
- this builder
-
fsuCollectionId
public FsuCycleSummary.Builder fsuCollectionId(String fsuCollectionId)
OCID identifier for the Collection ID the Exadata Fleet Update Cycle is assigned to.- Parameters:
fsuCollectionId
- the value to set- Returns:
- this builder
-
collectionType
public FsuCycleSummary.Builder collectionType(CollectionTypes collectionType)
Type of Collection this Exadata Fleet Update Cycle belongs to.- Parameters:
collectionType
- the value to set- Returns:
- this builder
-
executingFsuActionId
public FsuCycleSummary.Builder executingFsuActionId(String executingFsuActionId)
OCID identifier for the Action that is currently in execution, if applicable.- Parameters:
executingFsuActionId
- the value to set- Returns:
- this builder
-
nextActionToExecute
public FsuCycleSummary.Builder nextActionToExecute(List<NextActionToExecuteDetails> nextActionToExecute)
In this array all the possible actions will be listed.The first element is the suggested Action.
- Parameters:
nextActionToExecute
- the value to set- Returns:
- this builder
-
lastCompletedActionId
public FsuCycleSummary.Builder lastCompletedActionId(String lastCompletedActionId)
OCID identifier for the latest Action the Exadata Fleet Update Cycle.No value would indicate that the Cycle has not completed any Action yet.
- Parameters:
lastCompletedActionId
- the value to set- Returns:
- this builder
-
rollbackCycleState
public FsuCycleSummary.Builder rollbackCycleState(RollbackCycleStates rollbackCycleState)
Current rollback cycle state if rollback maintenance cycle action has been attempted.No value would indicate that the Cycle has not run a rollback maintenance cycle action before.
- Parameters:
rollbackCycleState
- the value to set- Returns:
- this builder
-
lastCompletedAction
public FsuCycleSummary.Builder lastCompletedAction(DetailedActionTypes lastCompletedAction)
The latest Action type that was completed in the Exadata Fleet Update Cycle.No value would indicate that the Cycle has not completed any Action yet.
- Parameters:
lastCompletedAction
- the value to set- Returns:
- this builder
-
goalVersionDetails
public FsuCycleSummary.Builder goalVersionDetails(FsuGoalVersionDetails goalVersionDetails)
-
diagnosticsCollection
public FsuCycleSummary.Builder diagnosticsCollection(DiagnosticsCollectionDetails diagnosticsCollection)
-
timeCreated
public FsuCycleSummary.Builder timeCreated(Date timeCreated)
The date and time the Exadata Fleet Update Cycle was created, as described in RFC 3339, section 14.29.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public FsuCycleSummary.Builder timeUpdated(Date timeUpdated)
The date and time the Exadata Fleet Update Cycle was updated, as described in RFC 3339, section 14.29.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
timeFinished
public FsuCycleSummary.Builder timeFinished(Date timeFinished)
The date and time the Exadata Fleet Update Cycle was finished, as described in RFC 3339.- Parameters:
timeFinished
- the value to set- Returns:
- this builder
-
lifecycleState
public FsuCycleSummary.Builder lifecycleState(CycleLifecycleStates lifecycleState)
The current state of the Exadata Fleet Update Cycle.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public FsuCycleSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public FsuCycleSummary.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 FsuCycleSummary.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 FsuCycleSummary.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 FsuCycleSummary build()
-
copy
public FsuCycleSummary.Builder copy(FsuCycleSummary model)
-
-