Class MirrorSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.MirrorSummary.Builder
-
- Enclosing class:
- MirrorSummary
public static class MirrorSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MirrorSummary.Builder
archType(ArchType archType)
The architecture type supported by the software source.MirrorSummary
build()
MirrorSummary.Builder
copy(MirrorSummary model)
MirrorSummary.Builder
displayName(String displayName)
Display name of the mirror.MirrorSummary.Builder
id(String id)
The OCID of the software source.MirrorSummary.Builder
log(String log)
The current log from the management station plugin.MirrorSummary.Builder
osFamily(OsFamily osFamily)
The OS family of the software source.MirrorSummary.Builder
packageCount(Integer packageCount)
The number of packages within the mirrored software source.MirrorSummary.Builder
percentage(Integer percentage)
A decimal number representing the percentage of the software source that has been synced.MirrorSummary.Builder
size(Long size)
The size the mirrored software source in bytes.MirrorSummary.Builder
state(MirrorState state)
Current state of the software source mirror.MirrorSummary.Builder
timeLastSynced(Date timeLastSynced)
Time that the software source was last synced (in RFC 3339 format).MirrorSummary.Builder
type(MirrorType type)
Type of software source.
-
-
-
Method Detail
-
id
public MirrorSummary.Builder id(String id)
The OCID of the software source.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public MirrorSummary.Builder displayName(String displayName)
Display name of the mirror.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
type
public MirrorSummary.Builder type(MirrorType type)
Type of software source.- Parameters:
type
- the value to set- Returns:
- this builder
-
osFamily
public MirrorSummary.Builder osFamily(OsFamily osFamily)
The OS family of the software source.- Parameters:
osFamily
- the value to set- Returns:
- this builder
-
archType
public MirrorSummary.Builder archType(ArchType archType)
The architecture type supported by the software source.- Parameters:
archType
- the value to set- Returns:
- this builder
-
state
public MirrorSummary.Builder state(MirrorState state)
Current state of the software source mirror.- Parameters:
state
- the value to set- Returns:
- this builder
-
percentage
public MirrorSummary.Builder percentage(Integer percentage)
A decimal number representing the percentage of the software source that has been synced.- Parameters:
percentage
- the value to set- Returns:
- this builder
-
timeLastSynced
public MirrorSummary.Builder timeLastSynced(Date timeLastSynced)
Time that the software source was last synced (in RFC 3339 format).- Parameters:
timeLastSynced
- the value to set- Returns:
- this builder
-
log
public MirrorSummary.Builder log(String log)
The current log from the management station plugin.- Parameters:
log
- the value to set- Returns:
- this builder
-
packageCount
public MirrorSummary.Builder packageCount(Integer packageCount)
The number of packages within the mirrored software source.- Parameters:
packageCount
- the value to set- Returns:
- this builder
-
size
public MirrorSummary.Builder size(Long size)
The size the mirrored software source in bytes.- Parameters:
size
- the value to set- Returns:
- this builder
-
build
public MirrorSummary build()
-
copy
public MirrorSummary.Builder copy(MirrorSummary model)
-
-