Class ProfileSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.ProfileSummary.Builder
-
- Enclosing class:
- ProfileSummary
public static class ProfileSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProfileSummary.BuilderarchType(ArchType archType)The architecture type.ProfileSummarybuild()ProfileSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the registration profile.ProfileSummary.Buildercopy(ProfileSummary model)ProfileSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ProfileSummary.Builderdescription(String description)User-specified description of the registration profile.ProfileSummary.BuilderdisplayName(String displayName)A user-friendly name for the profile.ProfileSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ProfileSummary.Builderid(String id)The OCID of the registration profile.ProfileSummary.BuilderisDefaultProfile(Boolean isDefaultProfile)Indicates if the profile is set as the default.ProfileSummary.BuilderisServiceProvidedProfile(Boolean isServiceProvidedProfile)Indicates if the profile was created by the service.ProfileSummary.BuilderlifecycleState(Profile.LifecycleState lifecycleState)The current state of the registration profile.ProfileSummary.BuildermanagementStationId(String managementStationId)The OCID of the management station to associate with an instance once registered.ProfileSummary.BuilderosFamily(OsFamily osFamily)The operating system family.ProfileSummary.BuilderprofileType(ProfileType profileType)The type of registration profile.ProfileSummary.BuilderregistrationType(Profile.RegistrationType registrationType)The type of instance to register.ProfileSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ProfileSummary.BuildertimeCreated(Date timeCreated)The time the registration profile was created (in RFC 3339 format).ProfileSummary.BuildervendorName(VendorName vendorName)The vendor of the operating system for the instance.
-
-
-
Method Detail
-
id
public ProfileSummary.Builder id(String id)
The OCID of the registration profile.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public ProfileSummary.Builder displayName(String displayName)
A user-friendly name for the profile.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public ProfileSummary.Builder description(String description)
User-specified description of the registration profile.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public ProfileSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the registration profile.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
managementStationId
public ProfileSummary.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
-
profileType
public ProfileSummary.Builder profileType(ProfileType profileType)
The type of registration profile.- Parameters:
profileType- the value to set- Returns:
- this builder
-
registrationType
public ProfileSummary.Builder registrationType(Profile.RegistrationType registrationType)
The type of instance to register.- Parameters:
registrationType- the value to set- Returns:
- this builder
-
vendorName
public ProfileSummary.Builder vendorName(VendorName vendorName)
The vendor of the operating system for the instance.- Parameters:
vendorName- the value to set- Returns:
- this builder
-
osFamily
public ProfileSummary.Builder osFamily(OsFamily osFamily)
The operating system family.- Parameters:
osFamily- the value to set- Returns:
- this builder
-
archType
public ProfileSummary.Builder archType(ArchType archType)
The architecture type.- Parameters:
archType- the value to set- Returns:
- this builder
-
timeCreated
public ProfileSummary.Builder timeCreated(Date timeCreated)
The time the registration profile was created (in RFC 3339 format).- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
lifecycleState
public ProfileSummary.Builder lifecycleState(Profile.LifecycleState lifecycleState)
The current state of the registration profile.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
isDefaultProfile
public ProfileSummary.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
-
isServiceProvidedProfile
public ProfileSummary.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
-
freeformTags
public ProfileSummary.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
-
definedTags
public ProfileSummary.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
-
systemTags
public ProfileSummary.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
-
build
public ProfileSummary build()
-
copy
public ProfileSummary.Builder copy(ProfileSummary model)
-
-