Class ManagementStation.Builder
- java.lang.Object
- 
- com.oracle.bmc.osmanagementhub.model.ManagementStation.Builder
 
- 
- Enclosing class:
- ManagementStation
 
 public static class ManagementStation.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagementStationbuild()ManagementStation.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the management station.ManagementStation.Buildercopy(ManagementStation model)ManagementStation.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ManagementStation.Builderdescription(String description)User-specified description for the management station.ManagementStation.BuilderdisplayName(String displayName)A user-friendly name for the management station.ManagementStation.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ManagementStation.Builderhealth(StationHealth health)ManagementStation.Builderhostname(String hostname)Hostname of the management station.ManagementStation.Builderid(String id)The OCID of the management station.ManagementStation.BuilderisAutoConfigEnabled(Boolean isAutoConfigEnabled)When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.ManagementStation.BuilderlifecycleState(ManagementStation.LifecycleState lifecycleState)The current state of the management station.ManagementStation.Builderlocation(ManagedInstanceLocation location)The location of the instance that is acting as the management station.ManagementStation.BuildermanagedInstanceId(String managedInstanceId)The OCID of the instance that is acting as the management station.ManagementStation.Buildermirror(MirrorConfiguration mirror)ManagementStation.BuildermirrorCapacity(Integer mirrorCapacity)A decimal number representing the amount of mirror capacity used by the sync.ManagementStation.BuildermirrorPackageCount(Integer mirrorPackageCount)The total number of all packages within the mirrored software sources.ManagementStation.BuildermirrorSize(Long mirrorSize)The total size of all software source mirrors in bytes.ManagementStation.BuildermirrorStorageAvailableSize(Long mirrorStorageAvailableSize)Amount of available mirror storage in bytes.ManagementStation.BuildermirrorStorageSize(Long mirrorStorageSize)Total mirror storage size in bytes.ManagementStation.BuildermirrorSyncStatus(MirrorSyncStatus mirrorSyncStatus)ManagementStation.BuildermirrorUniquePackageCount(Integer mirrorUniquePackageCount)The total number of unique packages within the mirrored software sources on the station.ManagementStation.BuilderoverallPercentage(Integer overallPercentage)A decimal number representing the progress of the current mirror sync.ManagementStation.BuilderoverallState(OverallState overallState)Current state of the mirror sync for the management station.ManagementStation.BuilderpeerManagementStations(List<PeerManagementStation> peerManagementStations)A list of other management stations that are behind the same load balancer within a high availability configuration.ManagementStation.BuilderprofileId(String profileId)The OCID of the registration profile used for the management station.ManagementStation.Builderproxy(ProxyConfiguration proxy)ManagementStation.BuilderscheduledJobId(String scheduledJobId)The OCID of the scheduled job for the mirror sync.ManagementStation.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ManagementStation.BuildertotalMirrors(Integer totalMirrors)The number of software sources that the station is mirroring.
 
- 
- 
- 
Method Detail- 
idpublic ManagementStation.Builder id(String id) The OCID of the management station.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
managedInstanceIdpublic ManagementStation.Builder managedInstanceId(String managedInstanceId) The OCID of the instance that is acting as the management station.- Parameters:
- managedInstanceId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ManagementStation.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the management station.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
scheduledJobIdpublic ManagementStation.Builder scheduledJobId(String scheduledJobId) The OCID of the scheduled job for the mirror sync.- Parameters:
- scheduledJobId- the value to set
- Returns:
- this builder
 
 - 
profileIdpublic ManagementStation.Builder profileId(String profileId) The OCID of the registration profile used for the management station.- Parameters:
- profileId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ManagementStation.Builder displayName(String displayName) A user-friendly name for the management station.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic ManagementStation.Builder description(String description) User-specified description for the management station.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
hostnamepublic ManagementStation.Builder hostname(String hostname) Hostname of the management station.- Parameters:
- hostname- the value to set
- Returns:
- this builder
 
 - 
overallStatepublic ManagementStation.Builder overallState(OverallState overallState) Current state of the mirror sync for the management station.- Parameters:
- overallState- the value to set
- Returns:
- this builder
 
 - 
overallPercentagepublic ManagementStation.Builder overallPercentage(Integer overallPercentage) A decimal number representing the progress of the current mirror sync.- Parameters:
- overallPercentage- the value to set
- Returns:
- this builder
 
 - 
mirrorCapacitypublic ManagementStation.Builder mirrorCapacity(Integer mirrorCapacity) A decimal number representing the amount of mirror capacity used by the sync.- Parameters:
- mirrorCapacity- the value to set
- Returns:
- this builder
 
 - 
totalMirrorspublic ManagementStation.Builder totalMirrors(Integer totalMirrors) The number of software sources that the station is mirroring.- Parameters:
- totalMirrors- the value to set
- Returns:
- this builder
 
 - 
mirrorSyncStatuspublic ManagementStation.Builder mirrorSyncStatus(MirrorSyncStatus mirrorSyncStatus) 
 - 
proxypublic ManagementStation.Builder proxy(ProxyConfiguration proxy) 
 - 
mirrorpublic ManagementStation.Builder mirror(MirrorConfiguration mirror) 
 - 
healthpublic ManagementStation.Builder health(StationHealth health) 
 - 
lifecycleStatepublic ManagementStation.Builder lifecycleState(ManagementStation.LifecycleState lifecycleState) The current state of the management station.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
isAutoConfigEnabledpublic ManagementStation.Builder isAutoConfigEnabled(Boolean isAutoConfigEnabled) When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.- Parameters:
- isAutoConfigEnabled- the value to set
- Returns:
- this builder
 
 - 
peerManagementStationspublic ManagementStation.Builder peerManagementStations(List<PeerManagementStation> peerManagementStations) A list of other management stations that are behind the same load balancer within a high availability configuration.Stations are identified as peers if they have the same hostname and compartment. - Parameters:
- peerManagementStations- the value to set
- Returns:
- this builder
 
 - 
locationpublic ManagementStation.Builder location(ManagedInstanceLocation location) The location of the instance that is acting as the management station.- Parameters:
- location- the value to set
- Returns:
- this builder
 
 - 
mirrorStorageAvailableSizepublic ManagementStation.Builder mirrorStorageAvailableSize(Long mirrorStorageAvailableSize) Amount of available mirror storage in bytes.- Parameters:
- mirrorStorageAvailableSize- the value to set
- Returns:
- this builder
 
 - 
mirrorStorageSizepublic ManagementStation.Builder mirrorStorageSize(Long mirrorStorageSize) Total mirror storage size in bytes.- Parameters:
- mirrorStorageSize- the value to set
- Returns:
- this builder
 
 - 
mirrorSizepublic ManagementStation.Builder mirrorSize(Long mirrorSize) The total size of all software source mirrors in bytes.- Parameters:
- mirrorSize- the value to set
- Returns:
- this builder
 
 - 
mirrorUniquePackageCountpublic ManagementStation.Builder mirrorUniquePackageCount(Integer mirrorUniquePackageCount) The total number of unique packages within the mirrored software sources on the station.Each package is counted only once, regardless of how many versions it has. - Parameters:
- mirrorUniquePackageCount- the value to set
- Returns:
- this builder
 
 - 
mirrorPackageCountpublic ManagementStation.Builder mirrorPackageCount(Integer mirrorPackageCount) The total number of all packages within the mirrored software sources.- Parameters:
- mirrorPackageCount- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ManagementStation.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
 
 - 
definedTagspublic ManagementStation.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. Example: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic ManagementStation.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic ManagementStation build() 
 - 
copypublic ManagementStation.Builder copy(ManagementStation model) 
 
- 
 
-