Class ProfileVersion.Builder
- java.lang.Object
- 
- com.oracle.bmc.osmanagementhub.model.ProfileVersion.Builder
 
- 
- Enclosing class:
- ProfileVersion
 
 public static class ProfileVersion.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ProfileVersion.BuilderarchType(ArchType archType)The architecture type.ProfileVersionbuild()ProfileVersion.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the registration profile.ProfileVersion.Buildercopy(ProfileVersion model)ProfileVersion.Builderdescription(String description)The description of the registration profile.ProfileVersion.BuilderdisplayName(String displayName)A user-friendly name for the profile.ProfileVersion.Builderid(String id)The OCID of the registration profile.ProfileVersion.BuilderisDefaultProfile(Boolean isDefaultProfile)Indicates if the profile is set as the default.ProfileVersion.BuilderisServiceProvidedProfile(Boolean isServiceProvidedProfile)Indicates if the profile was created by the service.ProfileVersion.BuilderlifecycleEnvironment(LifecycleEnvironmentDetails lifecycleEnvironment)ProfileVersion.BuilderlifecycleStage(LifecycleStageDetails lifecycleStage)ProfileVersion.BuilderlifecycleState(Profile.LifecycleState lifecycleState)The current state of the registration profile.ProfileVersion.BuildermanagedInstanceGroup(ManagedInstanceGroupDetails managedInstanceGroup)ProfileVersion.BuildermanagementStationId(String managementStationId)The OCID of the management station to associate with an instance once registered.ProfileVersion.BuilderosFamily(OsFamily osFamily)The operating system family.ProfileVersion.BuilderprofileType(ProfileType profileType)The type of profile.ProfileVersion.BuilderprofileVersion(String profileVersion)The version of the profile.ProfileVersion.BuilderregistrationType(ProfileVersion.RegistrationType registrationType)The type of instance to register.ProfileVersion.BuildersoftwareSources(List<SoftwareSourceDetails> softwareSources)The list of software sources that the registration profile will use.ProfileVersion.BuildertimeCreated(Date timeCreated)The time the registration profile was created (in RFC 3339 format).ProfileVersion.BuildertimeModified(Date timeModified)The time the registration profile was last modified (in RFC 3339 format).ProfileVersion.BuildervendorName(VendorName vendorName)The vendor of the operating system for the instance.
 
- 
- 
- 
Method Detail- 
idpublic ProfileVersion.Builder id(String id) The OCID of the registration profile.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ProfileVersion.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the registration profile.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ProfileVersion.Builder displayName(String displayName) A user-friendly name for the profile.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic ProfileVersion.Builder description(String description) The description of the registration profile.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
managementStationIdpublic 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. - Parameters:
- managementStationId- the value to set
- Returns:
- this builder
 
 - 
softwareSourcespublic ProfileVersion.Builder softwareSources(List<SoftwareSourceDetails> softwareSources) The list of software sources that the registration profile will use.- Parameters:
- softwareSources- the value to set
- Returns:
- this builder
 
 - 
managedInstanceGrouppublic ProfileVersion.Builder managedInstanceGroup(ManagedInstanceGroupDetails managedInstanceGroup) 
 - 
lifecycleEnvironmentpublic ProfileVersion.Builder lifecycleEnvironment(LifecycleEnvironmentDetails lifecycleEnvironment) 
 - 
lifecycleStagepublic ProfileVersion.Builder lifecycleStage(LifecycleStageDetails lifecycleStage) 
 - 
profileTypepublic ProfileVersion.Builder profileType(ProfileType profileType) The type of profile.- Parameters:
- profileType- the value to set
- Returns:
- this builder
 
 - 
vendorNamepublic ProfileVersion.Builder vendorName(VendorName vendorName) The vendor of the operating system for the instance.- Parameters:
- vendorName- the value to set
- Returns:
- this builder
 
 - 
osFamilypublic ProfileVersion.Builder osFamily(OsFamily osFamily) The operating system family.- Parameters:
- osFamily- the value to set
- Returns:
- this builder
 
 - 
archTypepublic ProfileVersion.Builder archType(ArchType archType) The architecture type.- Parameters:
- archType- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ProfileVersion.Builder timeCreated(Date timeCreated) The time the registration profile was created (in RFC 3339 format).- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeModifiedpublic ProfileVersion.Builder timeModified(Date timeModified) The time the registration profile was last modified (in RFC 3339 format).- Parameters:
- timeModified- the value to set
- Returns:
- this builder
 
 - 
profileVersionpublic ProfileVersion.Builder profileVersion(String profileVersion) The version of the profile.- Parameters:
- profileVersion- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ProfileVersion.Builder lifecycleState(Profile.LifecycleState lifecycleState) The current state of the registration profile.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
registrationTypepublic ProfileVersion.Builder registrationType(ProfileVersion.RegistrationType registrationType) The type of instance to register.- Parameters:
- registrationType- the value to set
- Returns:
- this builder
 
 - 
isDefaultProfilepublic 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. - Parameters:
- isDefaultProfile- the value to set
- Returns:
- this builder
 
 - 
isServiceProvidedProfilepublic 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. - Parameters:
- isServiceProvidedProfile- the value to set
- Returns:
- this builder
 
 - 
buildpublic ProfileVersion build() 
 - 
copypublic ProfileVersion.Builder copy(ProfileVersion model) 
 
- 
 
-