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