Class OneoffPatchSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.OneoffPatchSummary.Builder
-
- Enclosing class:
- OneoffPatchSummary
public static class OneoffPatchSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OneoffPatchSummarybuild()OneoffPatchSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.OneoffPatchSummary.Buildercopy(OneoffPatchSummary model)OneoffPatchSummary.BuilderdbVersion(String dbVersion)A valid Oracle Database version.OneoffPatchSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OneoffPatchSummary.BuilderdisplayName(String displayName)One-off patch name.OneoffPatchSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.OneoffPatchSummary.Builderid(String id)The OCID of the one-off patch.OneoffPatchSummary.BuilderlifecycleDetails(String lifecycleDetails)Detailed message for the lifecycle state.OneoffPatchSummary.BuilderlifecycleState(OneoffPatchSummary.LifecycleState lifecycleState)The current state of the one-off patch.OneoffPatchSummary.BuilderoneOffPatches(List<String> oneOffPatches)List of one-off patches for Database Homes.OneoffPatchSummary.BuilderreleaseUpdate(String releaseUpdate)The PSU or PBP or Release Updates.OneoffPatchSummary.Buildersha256Sum(String sha256Sum)SHA-256 checksum of the one-off patch.OneoffPatchSummary.BuildersizeInKBs(Float sizeInKBs)The size of one-off patch in kilobytes.OneoffPatchSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.OneoffPatchSummary.BuildertimeCreated(Date timeCreated)The date and time one-off patch was created.OneoffPatchSummary.BuildertimeOfExpiration(Date timeOfExpiration)The date and time until which the one-off patch will be available for download.OneoffPatchSummary.BuildertimeUpdated(Date timeUpdated)The date and time one-off patch was updated.
-
-
-
Method Detail
-
id
public OneoffPatchSummary.Builder id(String id)
The OCID of the one-off patch.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public OneoffPatchSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public OneoffPatchSummary.Builder displayName(String displayName)
One-off patch name.- Parameters:
displayName- the value to set- Returns:
- this builder
-
dbVersion
public OneoffPatchSummary.Builder dbVersion(String dbVersion)
A valid Oracle Database version.For a list of supported versions, use the ListDbVersions operation.
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
- Parameters:
dbVersion- the value to set- Returns:
- this builder
-
releaseUpdate
public OneoffPatchSummary.Builder releaseUpdate(String releaseUpdate)
The PSU or PBP or Release Updates.To get a list of supported versions, use the
listDbVersionsoperation.- Parameters:
releaseUpdate- the value to set- Returns:
- this builder
-
oneOffPatches
public OneoffPatchSummary.Builder oneOffPatches(List<String> oneOffPatches)
List of one-off patches for Database Homes.- Parameters:
oneOffPatches- the value to set- Returns:
- this builder
-
sizeInKBs
public OneoffPatchSummary.Builder sizeInKBs(Float sizeInKBs)
The size of one-off patch in kilobytes.- Parameters:
sizeInKBs- the value to set- Returns:
- this builder
-
lifecycleState
public OneoffPatchSummary.Builder lifecycleState(OneoffPatchSummary.LifecycleState lifecycleState)
The current state of the one-off patch.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public OneoffPatchSummary.Builder lifecycleDetails(String lifecycleDetails)
Detailed message for the lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
sha256Sum
public OneoffPatchSummary.Builder sha256Sum(String sha256Sum)
SHA-256 checksum of the one-off patch.- Parameters:
sha256Sum- the value to set- Returns:
- this builder
-
timeUpdated
public OneoffPatchSummary.Builder timeUpdated(Date timeUpdated)
The date and time one-off patch was updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
timeCreated
public OneoffPatchSummary.Builder timeCreated(Date timeCreated)
The date and time one-off patch was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeOfExpiration
public OneoffPatchSummary.Builder timeOfExpiration(Date timeOfExpiration)
The date and time until which the one-off patch will be available for download.- Parameters:
timeOfExpiration- the value to set- Returns:
- this builder
-
freeformTags
public OneoffPatchSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public OneoffPatchSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public OneoffPatchSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public OneoffPatchSummary build()
-
copy
public OneoffPatchSummary.Builder copy(OneoffPatchSummary model)
-
-