public static class TargetSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TargetSummary |
build() |
TargetSummary.Builder |
compartmentId(String compartmentId)
Compartment OCID where the resource is created
|
TargetSummary.Builder |
copy(TargetSummary model) |
TargetSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
TargetSummary.Builder |
displayName(String displayName)
Target display name
|
TargetSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
TargetSummary.Builder |
id(String id)
Unique identifier for target that can’t be changed after creation
|
TargetSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
|
TargetSummary.Builder |
lifecyleDetails(String lifecyleDetails)
A message describing the current state in more detail.
|
TargetSummary.Builder |
recipeCount(Integer recipeCount)
Total number of recipes attached to target
|
TargetSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
TargetSummary.Builder |
targetResourceId(String targetResourceId)
Resource ID which the target uses to monitor
|
TargetSummary.Builder |
targetResourceType(TargetResourceType targetResourceType)
Type of resource that’s associated with the target(compartment/HCMCloud/ERPCloud)
|
TargetSummary.Builder |
timeCreated(Date timeCreated)
The date and time the target was created.
|
TargetSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the target was last updated.
|
public TargetSummary.Builder id(String id)
Unique identifier for target that can’t be changed after creation
id
- the value to setpublic TargetSummary.Builder displayName(String displayName)
Target display name
displayName
- the value to setpublic TargetSummary.Builder compartmentId(String compartmentId)
Compartment OCID where the resource is created
compartmentId
- the value to setpublic TargetSummary.Builder targetResourceType(TargetResourceType targetResourceType)
Type of resource that’s associated with the target(compartment/HCMCloud/ERPCloud)
targetResourceType
- the value to setpublic TargetSummary.Builder targetResourceId(String targetResourceId)
Resource ID which the target uses to monitor
targetResourceId
- the value to setpublic TargetSummary.Builder recipeCount(Integer recipeCount)
Total number of recipes attached to target
recipeCount
- the value to setpublic TargetSummary.Builder timeCreated(Date timeCreated)
The date and time the target was created. Format defined by RFC3339.
timeCreated
- the value to setpublic TargetSummary.Builder timeUpdated(Date timeUpdated)
The date and time the target was last updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic TargetSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
lifecycleState
- the value to setpublic TargetSummary.Builder lifecyleDetails(String lifecyleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. [DEPRECATE]
lifecyleDetails
- the value to setpublic TargetSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
Avoid entering confidential information.
freeformTags
- the value to setpublic TargetSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic TargetSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic TargetSummary build()
public TargetSummary.Builder copy(TargetSummary model)
Copyright © 2016–2024. All rights reserved.