Class MirrorSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.osmanagementhub.model.MirrorSummary.Builder
 
- 
- Enclosing class:
- MirrorSummary
 
 public static class MirrorSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MirrorSummary.BuilderarchType(ArchType archType)The architecture type supported by the software source.MirrorSummarybuild()MirrorSummary.Buildercopy(MirrorSummary model)MirrorSummary.BuilderdisplayName(String displayName)Display name of the mirror.MirrorSummary.Builderid(String id)The OCID of the software source.MirrorSummary.Builderlog(String log)The current log from the management station plugin.MirrorSummary.BuilderosFamily(OsFamily osFamily)The OS family of the software source.MirrorSummary.BuilderpackageCount(Integer packageCount)The number of packages within the mirrored software source.MirrorSummary.Builderpercentage(Integer percentage)A decimal number representing the percentage of the software source that has been synced.MirrorSummary.Buildersize(Long size)The size the mirrored software source in bytes.MirrorSummary.Builderstate(MirrorState state)Current state of the software source mirror.MirrorSummary.BuildertimeLastSynced(Date timeLastSynced)Time that the software source was last synced (in RFC 3339 format).MirrorSummary.Buildertype(MirrorType type)Type of software source.
 
- 
- 
- 
Method Detail- 
idpublic MirrorSummary.Builder id(String id) The OCID of the software source.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic MirrorSummary.Builder displayName(String displayName) Display name of the mirror.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
typepublic MirrorSummary.Builder type(MirrorType type) Type of software source.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
osFamilypublic MirrorSummary.Builder osFamily(OsFamily osFamily) The OS family of the software source.- Parameters:
- osFamily- the value to set
- Returns:
- this builder
 
 - 
archTypepublic MirrorSummary.Builder archType(ArchType archType) The architecture type supported by the software source.- Parameters:
- archType- the value to set
- Returns:
- this builder
 
 - 
statepublic MirrorSummary.Builder state(MirrorState state) Current state of the software source mirror.- Parameters:
- state- the value to set
- Returns:
- this builder
 
 - 
percentagepublic 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
 
 - 
timeLastSyncedpublic 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
 
 - 
logpublic MirrorSummary.Builder log(String log) The current log from the management station plugin.- Parameters:
- log- the value to set
- Returns:
- this builder
 
 - 
packageCountpublic MirrorSummary.Builder packageCount(Integer packageCount) The number of packages within the mirrored software source.- Parameters:
- packageCount- the value to set
- Returns:
- this builder
 
 - 
sizepublic MirrorSummary.Builder size(Long size) The size the mirrored software source in bytes.- Parameters:
- size- the value to set
- Returns:
- this builder
 
 - 
buildpublic MirrorSummary build() 
 - 
copypublic MirrorSummary.Builder copy(MirrorSummary model) 
 
- 
 
-