public static class ManagementStation.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ManagementStation |
build() |
ManagementStation.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the management station.
|
ManagementStation.Builder |
copy(ManagementStation model) |
ManagementStation.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ManagementStation.Builder |
description(String description)
User-specified description for the management station.
|
ManagementStation.Builder |
displayName(String displayName)
A user-friendly name for the management station.
|
ManagementStation.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ManagementStation.Builder |
health(StationHealth health) |
ManagementStation.Builder |
hostname(String hostname)
Hostname of the management station.
|
ManagementStation.Builder |
id(String id)
The OCID
of the management station.
|
ManagementStation.Builder |
isAutoConfigEnabled(Boolean isAutoConfigEnabled)
When enabled, the station setup script automatically runs to configure the firewall and
SELinux settings on the station.
|
ManagementStation.Builder |
lifecycleState(ManagementStation.LifecycleState lifecycleState)
The current state of the management station.
|
ManagementStation.Builder |
location(ManagedInstanceLocation location)
The location of the instance that is acting as the management station.
|
ManagementStation.Builder |
managedInstanceId(String managedInstanceId)
The OCID
of the instance that is acting as the management station.
|
ManagementStation.Builder |
mirror(MirrorConfiguration mirror) |
ManagementStation.Builder |
mirrorCapacity(Integer mirrorCapacity)
A decimal number representing the amount of mirror capacity used by the sync.
|
ManagementStation.Builder |
mirrorPackageCount(Integer mirrorPackageCount)
The total number of all packages within the mirrored software sources.
|
ManagementStation.Builder |
mirrorSize(Long mirrorSize)
The total size of all software source mirrors in bytes.
|
ManagementStation.Builder |
mirrorStorageAvailableSize(Long mirrorStorageAvailableSize)
Amount of available mirror storage in bytes.
|
ManagementStation.Builder |
mirrorStorageSize(Long mirrorStorageSize)
Total mirror storage size in bytes.
|
ManagementStation.Builder |
mirrorSyncStatus(MirrorSyncStatus mirrorSyncStatus) |
ManagementStation.Builder |
mirrorUniquePackageCount(Integer mirrorUniquePackageCount)
The total number of unique packages within the mirrored software sources on the station.
|
ManagementStation.Builder |
overallPercentage(Integer overallPercentage)
A decimal number representing the progress of the current mirror sync.
|
ManagementStation.Builder |
overallState(OverallState overallState)
Current state of the mirror sync for the management station.
|
ManagementStation.Builder |
peerManagementStations(List<PeerManagementStation> peerManagementStations)
A list of other management stations that are behind the same load balancer within a high
availability configuration.
|
ManagementStation.Builder |
profileId(String profileId)
The OCID
of the registration profile used for the management station.
|
ManagementStation.Builder |
proxy(ProxyConfiguration proxy) |
ManagementStation.Builder |
scheduledJobId(String scheduledJobId)
The OCID
of the scheduled job for the mirror sync.
|
ManagementStation.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ManagementStation.Builder |
totalMirrors(Integer totalMirrors)
The number of software sources that the station is mirroring.
|
public ManagementStation.Builder id(String id)
The OCID of the management station.
id
- the value to setpublic ManagementStation.Builder managedInstanceId(String managedInstanceId)
The OCID of the instance that is acting as the management station.
managedInstanceId
- the value to setpublic ManagementStation.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the management station.
compartmentId
- the value to setpublic ManagementStation.Builder scheduledJobId(String scheduledJobId)
The OCID of the scheduled job for the mirror sync.
scheduledJobId
- the value to setpublic ManagementStation.Builder profileId(String profileId)
The OCID of the registration profile used for the management station.
profileId
- the value to setpublic ManagementStation.Builder displayName(String displayName)
A user-friendly name for the management station.
displayName
- the value to setpublic ManagementStation.Builder description(String description)
User-specified description for the management station.
description
- the value to setpublic ManagementStation.Builder hostname(String hostname)
Hostname of the management station.
hostname
- the value to setpublic ManagementStation.Builder overallState(OverallState overallState)
Current state of the mirror sync for the management station.
overallState
- the value to setpublic ManagementStation.Builder overallPercentage(Integer overallPercentage)
A decimal number representing the progress of the current mirror sync.
overallPercentage
- the value to setpublic ManagementStation.Builder mirrorCapacity(Integer mirrorCapacity)
A decimal number representing the amount of mirror capacity used by the sync.
mirrorCapacity
- the value to setpublic ManagementStation.Builder totalMirrors(Integer totalMirrors)
The number of software sources that the station is mirroring.
totalMirrors
- the value to setpublic ManagementStation.Builder mirrorSyncStatus(MirrorSyncStatus mirrorSyncStatus)
public ManagementStation.Builder proxy(ProxyConfiguration proxy)
public ManagementStation.Builder mirror(MirrorConfiguration mirror)
public ManagementStation.Builder health(StationHealth health)
public ManagementStation.Builder lifecycleState(ManagementStation.LifecycleState lifecycleState)
The current state of the management station.
lifecycleState
- the value to setpublic ManagementStation.Builder isAutoConfigEnabled(Boolean isAutoConfigEnabled)
When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.
isAutoConfigEnabled
- the value to setpublic 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.
peerManagementStations
- the value to setpublic ManagementStation.Builder location(ManagedInstanceLocation location)
The location of the instance that is acting as the management station.
location
- the value to setpublic ManagementStation.Builder mirrorStorageAvailableSize(Long mirrorStorageAvailableSize)
Amount of available mirror storage in bytes.
mirrorStorageAvailableSize
- the value to setpublic ManagementStation.Builder mirrorStorageSize(Long mirrorStorageSize)
Total mirror storage size in bytes.
mirrorStorageSize
- the value to setpublic ManagementStation.Builder mirrorSize(Long mirrorSize)
The total size of all software source mirrors in bytes.
mirrorSize
- the value to setpublic 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.
mirrorUniquePackageCount
- the value to setpublic ManagementStation.Builder mirrorPackageCount(Integer mirrorPackageCount)
The total number of all packages within the mirrored software sources.
mirrorPackageCount
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic ManagementStation build()
public ManagementStation.Builder copy(ManagementStation model)
Copyright © 2016–2025. All rights reserved.