public static class CreateTargetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateTargetDetails |
build() |
CreateTargetDetails.Builder |
compartmentId(String compartmentId)
Compartment OCID where the resource is created
|
CreateTargetDetails.Builder |
copy(CreateTargetDetails model) |
CreateTargetDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateTargetDetails.Builder |
description(String description)
The target description.
|
CreateTargetDetails.Builder |
displayName(String displayName)
Display name for the target.
|
CreateTargetDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateTargetDetails.Builder |
lifecycleState(LifecycleState lifecycleState)
The enablement state of the detector rule
|
CreateTargetDetails.Builder |
targetDetectorRecipes(List<CreateTargetDetectorRecipeDetails> targetDetectorRecipes)
List of detector recipes to attach to target
|
CreateTargetDetails.Builder |
targetResourceId(String targetResourceId)
Resource ID which the target uses to monitor
|
CreateTargetDetails.Builder |
targetResourceType(TargetResourceType targetResourceType)
Type of resource that target support (COMPARTMENT/FACLOUD)
|
CreateTargetDetails.Builder |
targetResponderRecipes(List<CreateTargetResponderRecipeDetails> targetResponderRecipes)
List of responder recipes to attach to target
|
public CreateTargetDetails.Builder displayName(String displayName)
Display name for the target.
Avoid entering confidential information.
displayName
- the value to setpublic CreateTargetDetails.Builder compartmentId(String compartmentId)
Compartment OCID where the resource is created
compartmentId
- the value to setpublic CreateTargetDetails.Builder description(String description)
The target description.
Avoid entering confidential information.
description
- the value to setpublic CreateTargetDetails.Builder targetResourceType(TargetResourceType targetResourceType)
Type of resource that target support (COMPARTMENT/FACLOUD)
targetResourceType
- the value to setpublic CreateTargetDetails.Builder targetResourceId(String targetResourceId)
Resource ID which the target uses to monitor
targetResourceId
- the value to setpublic CreateTargetDetails.Builder targetDetectorRecipes(List<CreateTargetDetectorRecipeDetails> targetDetectorRecipes)
List of detector recipes to attach to target
targetDetectorRecipes
- the value to setpublic CreateTargetDetails.Builder targetResponderRecipes(List<CreateTargetResponderRecipeDetails> targetResponderRecipes)
List of responder recipes to attach to target
targetResponderRecipes
- the value to setpublic CreateTargetDetails.Builder lifecycleState(LifecycleState lifecycleState)
The enablement state of the detector rule
lifecycleState
- the value to setpublic CreateTargetDetails.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 CreateTargetDetails.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 CreateTargetDetails build()
public CreateTargetDetails.Builder copy(CreateTargetDetails model)
Copyright © 2016–2024. All rights reserved.