Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Target |
build() |
Target.Builder |
compartmentId(String compartmentId)
Compartment Identifier 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, can be renamed.
|
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 is immutable on creation.
|
Target.Builder |
inheritedByCompartments(List<String> inheritedByCompartments)
List of inherited compartments
|
Target.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the Target.
|
Target.Builder |
lifecyleDetails(String lifecyleDetails)
A message describing the current 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 associated with target
|
Target.Builder |
targetResourceId(String targetResourceId)
Resource ID which the target uses to monitor
|
Target.Builder |
targetResourceType(TargetResourceType targetResourceType)
possible type of targets
|
Target.Builder |
targetResponderRecipes(List<TargetResponderRecipe> targetResponderRecipes)
List of responder recipes associated with 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 updated.
|
public Target.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic Target.Builder displayName(String displayName)
Target display name, can be renamed.
displayName
- the value to setpublic Target.Builder compartmentId(String compartmentId)
Compartment Identifier 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)
possible type of targets
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 associated with target
targetDetectorRecipes
- the value to setpublic Target.Builder targetResponderRecipes(List<TargetResponderRecipe> targetResponderRecipes)
List of responder recipes associated with 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 updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic Target.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the Target.
lifecycleState
- the value to setpublic Target.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.
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–2023. All rights reserved.