Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Target |
build() |
Target.Builder |
compartmentId(String compartmentId)
Compartment OCID where the resource is created
|
Target.Builder |
copy(Target model) |
Target.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Target.Builder |
description(String description)
The target description
|
Target.Builder |
displayName(String displayName)
Target display name
|
Target.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Target.Builder |
id(String id)
Unique identifier that can’t be changed after creation
|
Target.Builder |
inheritedByCompartments(List<String> inheritedByCompartments)
List of inherited compartments
|
Target.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the target
|
Target.Builder |
lifecyleDetails(String lifecyleDetails)
A message describing the current lifecycle state in more detail.
|
Target.Builder |
recipeCount(Integer recipeCount)
Total number of recipes attached to target
|
Target.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
Target.Builder |
targetDetails(TargetDetails targetDetails) |
Target.Builder |
targetDetectorRecipes(List<TargetDetectorRecipe> targetDetectorRecipes)
List of detector recipes attached to target
|
Target.Builder |
targetResourceId(String targetResourceId)
Resource ID which the target uses to monitor
|
Target.Builder |
targetResourceType(TargetResourceType targetResourceType)
Type of target
|
Target.Builder |
targetResponderRecipes(List<TargetResponderRecipe> targetResponderRecipes)
List of responder recipes attached to target
|
Target.Builder |
timeCreated(Date timeCreated)
The date and time the target was created.
|
Target.Builder |
timeUpdated(Date timeUpdated)
The date and time the target was last updated.
|
public Target.Builder id(String id)
Unique identifier that can’t be changed after creation
id
- the value to setpublic Target.Builder displayName(String displayName)
Target display name
displayName
- the value to setpublic Target.Builder compartmentId(String compartmentId)
Compartment OCID where the resource is created
compartmentId
- the value to setpublic Target.Builder description(String description)
The target description
description
- the value to setpublic Target.Builder targetResourceType(TargetResourceType targetResourceType)
Type of target
targetResourceType
- the value to setpublic Target.Builder targetResourceId(String targetResourceId)
Resource ID which the target uses to monitor
targetResourceId
- the value to setpublic Target.Builder recipeCount(Integer recipeCount)
Total number of recipes attached to target
recipeCount
- the value to setpublic Target.Builder targetDetectorRecipes(List<TargetDetectorRecipe> targetDetectorRecipes)
List of detector recipes attached to target
targetDetectorRecipes
- the value to setpublic Target.Builder targetResponderRecipes(List<TargetResponderRecipe> targetResponderRecipes)
List of responder recipes attached to target
targetResponderRecipes
- the value to setpublic Target.Builder targetDetails(TargetDetails targetDetails)
public Target.Builder inheritedByCompartments(List<String> inheritedByCompartments)
List of inherited compartments
inheritedByCompartments
- the value to setpublic Target.Builder timeCreated(Date timeCreated)
The date and time the target was created. Format defined by RFC3339.
timeCreated
- the value to setpublic Target.Builder timeUpdated(Date timeUpdated)
The date and time the target was last updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic Target.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the target
lifecycleState
- the value to setpublic Target.Builder lifecyleDetails(String lifecyleDetails)
A message describing the current lifecycle 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 Target.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 Target.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 Target.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 Target build()
public Target.Builder copy(Target model)
Copyright © 2016–2024. All rights reserved.