Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Profile.Builder |
aggregationIntervalInDays(Integer aggregationIntervalInDays)
The time period over which to collect data for the recommendations, measured in number of
days.
|
Profile |
build() |
Profile.Builder |
compartmentId(String compartmentId)
The OCID of the tenancy.
|
Profile.Builder |
copy(Profile model) |
Profile.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Profile.Builder |
description(String description)
Text describing the profile.
|
Profile.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair applied without any predefined name, type, or namespace.
|
Profile.Builder |
id(String id)
The unique OCID of the profile.
|
Profile.Builder |
levelsConfiguration(LevelsConfiguration levelsConfiguration) |
Profile.Builder |
lifecycleState(LifecycleState lifecycleState)
The profile’s current state.
|
Profile.Builder |
name(String name)
The name assigned to the profile.
|
Profile.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
Profile.Builder |
targetCompartments(TargetCompartments targetCompartments) |
Profile.Builder |
targetTags(TargetTags targetTags) |
Profile.Builder |
timeCreated(Date timeCreated)
The date and time the profile was created, in the format defined by RFC3339.
|
Profile.Builder |
timeUpdated(Date timeUpdated)
The date and time the profile was last updated, in the format defined by RFC3339.
|
public Profile.Builder id(String id)
The unique OCID of the profile.
id
- the value to setpublic Profile.Builder compartmentId(String compartmentId)
The OCID of the tenancy. The tenancy is the root compartment.
compartmentId
- the value to setpublic Profile.Builder name(String name)
The name assigned to the profile. Avoid entering confidential information.
name
- the value to setpublic Profile.Builder description(String description)
Text describing the profile. Avoid entering confidential information.
description
- the value to setpublic Profile.Builder aggregationIntervalInDays(Integer aggregationIntervalInDays)
The time period over which to collect data for the recommendations, measured in number of days.
aggregationIntervalInDays
- the value to setpublic Profile.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: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic Profile.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair applied without any predefined name, type, or namespace. For more information, see Resource Tags. Exists for cross-compatibility only.
Example: {"bar-key": "value"}
freeformTags
- the value to setpublic Profile.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: { "orcl-cloud": { "free-tier-retained": "true" } }
systemTags
- the value to setpublic Profile.Builder levelsConfiguration(LevelsConfiguration levelsConfiguration)
public Profile.Builder targetCompartments(TargetCompartments targetCompartments)
public Profile.Builder targetTags(TargetTags targetTags)
public Profile.Builder lifecycleState(LifecycleState lifecycleState)
The profile’s current state.
lifecycleState
- the value to setpublic Profile.Builder timeCreated(Date timeCreated)
The date and time the profile was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic Profile.Builder timeUpdated(Date timeUpdated)
The date and time the profile was last updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic Profile build()
public Profile.Builder copy(Profile model)
Copyright © 2016–2024. All rights reserved.