public static class MirrorSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public MirrorSummary.Builder id(String id)
The OCID of the software source.
id
- the value to setpublic MirrorSummary.Builder displayName(String displayName)
Display name of the mirror.
displayName
- the value to setpublic MirrorSummary.Builder type(MirrorType type)
Type of software source.
type
- the value to setpublic MirrorSummary.Builder osFamily(OsFamily osFamily)
The OS family of the software source.
osFamily
- the value to setpublic MirrorSummary.Builder archType(ArchType archType)
The architecture type supported by the software source.
archType
- the value to setpublic MirrorSummary.Builder state(MirrorState state)
Current state of the software source mirror.
state
- the value to setpublic MirrorSummary.Builder percentage(Integer percentage)
A decimal number representing the percentage of the software source that has been synced.
percentage
- the value to setpublic MirrorSummary.Builder timeLastSynced(Date timeLastSynced)
Time that the software source was last synced (in RFC 3339 format).
timeLastSynced
- the value to setpublic MirrorSummary.Builder log(String log)
The current log from the management station plugin.
log
- the value to setpublic MirrorSummary.Builder packageCount(Integer packageCount)
The number of packages within the mirrored software source.
packageCount
- the value to setpublic MirrorSummary.Builder size(Long size)
The size the mirrored software source in bytes.
size
- the value to setpublic MirrorSummary build()
public MirrorSummary.Builder copy(MirrorSummary model)
Copyright © 2016–2025. All rights reserved.