public static class ProfileSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProfileSummary.Builder |
archType(ArchType archType)
The architecture type.
|
ProfileSummary |
build() |
ProfileSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the registration profile.
|
ProfileSummary.Builder |
copy(ProfileSummary model) |
ProfileSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ProfileSummary.Builder |
description(String description)
User-specified description of the registration profile.
|
ProfileSummary.Builder |
displayName(String displayName)
A user-friendly name for the profile.
|
ProfileSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ProfileSummary.Builder |
id(String id)
The OCID
of the registration profile.
|
ProfileSummary.Builder |
isDefaultProfile(Boolean isDefaultProfile)
Indicates if the profile is set as the default.
|
ProfileSummary.Builder |
isServiceProvidedProfile(Boolean isServiceProvidedProfile)
Indicates if the profile was created by the service.
|
ProfileSummary.Builder |
lifecycleState(Profile.LifecycleState lifecycleState)
The current state of the registration profile.
|
ProfileSummary.Builder |
managementStationId(String managementStationId)
The OCID
of the management station to associate with an instance once registered.
|
ProfileSummary.Builder |
osFamily(OsFamily osFamily)
The operating system family.
|
ProfileSummary.Builder |
profileType(ProfileType profileType)
The type of registration profile.
|
ProfileSummary.Builder |
registrationType(Profile.RegistrationType registrationType)
The type of instance to register.
|
ProfileSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ProfileSummary.Builder |
timeCreated(Date timeCreated)
The time the the Onboarding was created.
|
ProfileSummary.Builder |
vendorName(VendorName vendorName)
The vendor of the operating system for the instance.
|
public ProfileSummary.Builder id(String id)
The OCID of the registration profile.
id
- the value to setpublic ProfileSummary.Builder displayName(String displayName)
A user-friendly name for the profile.
displayName
- the value to setpublic ProfileSummary.Builder description(String description)
User-specified description of the registration profile.
description
- the value to setpublic ProfileSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the registration profile.
compartmentId
- the value to setpublic ProfileSummary.Builder managementStationId(String managementStationId)
The OCID of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
managementStationId
- the value to setpublic ProfileSummary.Builder profileType(ProfileType profileType)
The type of registration profile.
profileType
- the value to setpublic ProfileSummary.Builder registrationType(Profile.RegistrationType registrationType)
The type of instance to register.
registrationType
- the value to setpublic ProfileSummary.Builder vendorName(VendorName vendorName)
The vendor of the operating system for the instance.
vendorName
- the value to setpublic ProfileSummary.Builder osFamily(OsFamily osFamily)
The operating system family.
osFamily
- the value to setpublic ProfileSummary.Builder archType(ArchType archType)
The architecture type.
archType
- the value to setpublic ProfileSummary.Builder timeCreated(Date timeCreated)
The time the the Onboarding was created. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic ProfileSummary.Builder lifecycleState(Profile.LifecycleState lifecycleState)
The current state of the registration profile.
lifecycleState
- the value to setpublic 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.
isDefaultProfile
- the value to setpublic 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.
isServiceProvidedProfile
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic ProfileSummary build()
public ProfileSummary.Builder copy(ProfileSummary model)
Copyright © 2016–2024. All rights reserved.