Class HistoricAddmResult.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.HistoricAddmResult.Builder
-
- Enclosing class:
- HistoricAddmResult
public static class HistoricAddmResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HistoricAddmResult.BuilderbeginSnapshotId(Long beginSnapshotId)The ID number of the beginning AWR snapshot.HistoricAddmResultbuild()HistoricAddmResult.Buildercopy(HistoricAddmResult model)HistoricAddmResult.BuilderdbUser(String dbUser)The database user who owns the historic ADDM task.HistoricAddmResult.Builderdescription(String description)The description of the ADDM task.HistoricAddmResult.BuilderendSnapshotId(Long endSnapshotId)The ID number of the ending AWR snapshot.HistoricAddmResult.BuilderendSnapshotTime(Date endSnapshotTime)The timestamp of the ending AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.HistoricAddmResult.Builderfindings(Long findings)The number of ADDM findings.HistoricAddmResult.BuilderhowCreated(HistoricAddmResult.HowCreated howCreated)A description of how the task was created.HistoricAddmResult.BuilderisNewlyCreated(Boolean isNewlyCreated)Specifies whether the ADDM task returned had already existed or was newly created by the api call.HistoricAddmResult.BuilderstartSnapshotTime(Date startSnapshotTime)The timestamp of the beginning AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.HistoricAddmResult.Builderstatus(HistoricAddmResult.Status status)The status of the ADDM task.HistoricAddmResult.BuildertaskId(Long taskId)The ID of the historic ADDM task.HistoricAddmResult.BuildertaskName(String taskName)The name of the historic ADDM task.HistoricAddmResult.BuildertimeCreated(Date timeCreated)The creation date of the ADDM task.
-
-
-
Method Detail
-
isNewlyCreated
public HistoricAddmResult.Builder isNewlyCreated(Boolean isNewlyCreated)
Specifies whether the ADDM task returned had already existed or was newly created by the api call.- Parameters:
isNewlyCreated- the value to set- Returns:
- this builder
-
taskName
public HistoricAddmResult.Builder taskName(String taskName)
The name of the historic ADDM task.- Parameters:
taskName- the value to set- Returns:
- this builder
-
taskId
public HistoricAddmResult.Builder taskId(Long taskId)
The ID of the historic ADDM task.- Parameters:
taskId- the value to set- Returns:
- this builder
-
description
public HistoricAddmResult.Builder description(String description)
The description of the ADDM task.- Parameters:
description- the value to set- Returns:
- this builder
-
dbUser
public HistoricAddmResult.Builder dbUser(String dbUser)
The database user who owns the historic ADDM task.- Parameters:
dbUser- the value to set- Returns:
- this builder
-
status
public HistoricAddmResult.Builder status(HistoricAddmResult.Status status)
The status of the ADDM task.- Parameters:
status- the value to set- Returns:
- this builder
-
timeCreated
public HistoricAddmResult.Builder timeCreated(Date timeCreated)
The creation date of the ADDM task.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
howCreated
public HistoricAddmResult.Builder howCreated(HistoricAddmResult.HowCreated howCreated)
A description of how the task was created.- Parameters:
howCreated- the value to set- Returns:
- this builder
-
startSnapshotTime
public HistoricAddmResult.Builder startSnapshotTime(Date startSnapshotTime)
The timestamp of the beginning AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.- Parameters:
startSnapshotTime- the value to set- Returns:
- this builder
-
endSnapshotTime
public HistoricAddmResult.Builder endSnapshotTime(Date endSnapshotTime)
The timestamp of the ending AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.- Parameters:
endSnapshotTime- the value to set- Returns:
- this builder
-
beginSnapshotId
public HistoricAddmResult.Builder beginSnapshotId(Long beginSnapshotId)
The ID number of the beginning AWR snapshot.- Parameters:
beginSnapshotId- the value to set- Returns:
- this builder
-
endSnapshotId
public HistoricAddmResult.Builder endSnapshotId(Long endSnapshotId)
The ID number of the ending AWR snapshot.- Parameters:
endSnapshotId- the value to set- Returns:
- this builder
-
findings
public HistoricAddmResult.Builder findings(Long findings)
The number of ADDM findings.- Parameters:
findings- the value to set- Returns:
- this builder
-
build
public HistoricAddmResult build()
-
copy
public HistoricAddmResult.Builder copy(HistoricAddmResult model)
-
-