public static class ProfileVersion.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProfileVersion.Builder |
archType(ArchType archType)
The architecture type.
|
ProfileVersion |
build() |
ProfileVersion.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the registration profile.
|
ProfileVersion.Builder |
copy(ProfileVersion model) |
ProfileVersion.Builder |
description(String description)
The description of the registration profile.
|
ProfileVersion.Builder |
displayName(String displayName)
A user-friendly name for the profile.
|
ProfileVersion.Builder |
id(String id)
The OCID
of the registration profile.
|
ProfileVersion.Builder |
isDefaultProfile(Boolean isDefaultProfile)
Indicates if the profile is set as the default.
|
ProfileVersion.Builder |
isServiceProvidedProfile(Boolean isServiceProvidedProfile)
Indicates if the profile was created by the service.
|
ProfileVersion.Builder |
lifecycleEnvironment(LifecycleEnvironmentDetails lifecycleEnvironment) |
ProfileVersion.Builder |
lifecycleStage(LifecycleStageDetails lifecycleStage) |
ProfileVersion.Builder |
lifecycleState(Profile.LifecycleState lifecycleState)
The current state of the registration profile.
|
ProfileVersion.Builder |
managedInstanceGroup(ManagedInstanceGroupDetails managedInstanceGroup) |
ProfileVersion.Builder |
managementStationId(String managementStationId)
The OCID
of the management station to associate with an instance once registered.
|
ProfileVersion.Builder |
osFamily(OsFamily osFamily)
The operating system family.
|
ProfileVersion.Builder |
profileType(ProfileType profileType)
The type of profile.
|
ProfileVersion.Builder |
profileVersion(String profileVersion)
The version of the profile.
|
ProfileVersion.Builder |
registrationType(ProfileVersion.RegistrationType registrationType)
The type of instance to register.
|
ProfileVersion.Builder |
softwareSources(List<SoftwareSourceDetails> softwareSources)
The list of software sources that the registration profile will use.
|
ProfileVersion.Builder |
timeCreated(Date timeCreated)
The time the registration profile was created (in RFC
3339 format).
|
ProfileVersion.Builder |
timeModified(Date timeModified)
The time the registration profile was last modified (in RFC
3339 format).
|
ProfileVersion.Builder |
vendorName(VendorName vendorName)
The vendor of the operating system for the instance.
|
public ProfileVersion.Builder id(String id)
The OCID of the registration profile.
id
- the value to setpublic ProfileVersion.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the registration profile.
compartmentId
- the value to setpublic ProfileVersion.Builder displayName(String displayName)
A user-friendly name for the profile.
displayName
- the value to setpublic ProfileVersion.Builder description(String description)
The description of the registration profile.
description
- the value to setpublic ProfileVersion.Builder managementStationId(String managementStationId)
The OCID of the management station to associate with an instance once registered. Management stations are only used with non-OCI instances.
managementStationId
- the value to setpublic ProfileVersion.Builder softwareSources(List<SoftwareSourceDetails> softwareSources)
The list of software sources that the registration profile will use.
softwareSources
- the value to setpublic ProfileVersion.Builder managedInstanceGroup(ManagedInstanceGroupDetails managedInstanceGroup)
public ProfileVersion.Builder lifecycleEnvironment(LifecycleEnvironmentDetails lifecycleEnvironment)
public ProfileVersion.Builder lifecycleStage(LifecycleStageDetails lifecycleStage)
public ProfileVersion.Builder profileType(ProfileType profileType)
The type of profile.
profileType
- the value to setpublic ProfileVersion.Builder vendorName(VendorName vendorName)
The vendor of the operating system for the instance.
vendorName
- the value to setpublic ProfileVersion.Builder osFamily(OsFamily osFamily)
The operating system family.
osFamily
- the value to setpublic ProfileVersion.Builder archType(ArchType archType)
The architecture type.
archType
- the value to setpublic ProfileVersion.Builder timeCreated(Date timeCreated)
The time the registration profile was created (in RFC 3339 format).
timeCreated
- the value to setpublic ProfileVersion.Builder timeModified(Date timeModified)
The time the registration profile was last modified (in RFC 3339 format).
timeModified
- the value to setpublic ProfileVersion.Builder profileVersion(String profileVersion)
The version of the profile.
profileVersion
- the value to setpublic ProfileVersion.Builder lifecycleState(Profile.LifecycleState lifecycleState)
The current state of the registration profile.
lifecycleState
- the value to setpublic ProfileVersion.Builder registrationType(ProfileVersion.RegistrationType registrationType)
The type of instance to register.
registrationType
- the value to setpublic ProfileVersion.Builder isDefaultProfile(Boolean isDefaultProfile)
Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
isDefaultProfile
- the value to setpublic ProfileVersion.Builder isServiceProvidedProfile(Boolean isServiceProvidedProfile)
Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances.
isServiceProvidedProfile
- the value to setpublic ProfileVersion build()
public ProfileVersion.Builder copy(ProfileVersion model)
Copyright © 2016–2025. All rights reserved.