Package com.oracle.bmc.cloudguard.model
Class Target.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.model.Target.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Targetbuild()Target.BuildercompartmentId(String compartmentId)Compartment OCID where the resource is createdTarget.Buildercopy(Target model)Target.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Target.Builderdescription(String description)The target descriptionTarget.BuilderdisplayName(String displayName)Target display nameTarget.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Target.Builderid(String id)Unique identifier that can’t be changed after creationTarget.BuilderinheritedByCompartments(List<String> inheritedByCompartments)List of inherited compartmentsTarget.BuilderlifecycleState(LifecycleState lifecycleState)The current lifecycle state of the targetTarget.BuilderlifecyleDetails(String lifecyleDetails)A message describing the current lifecycle state in more detail.Target.BuilderrecipeCount(Integer recipeCount)Total number of recipes attached to targetTarget.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Target.BuildertargetDetails(TargetDetails targetDetails)Target.BuildertargetDetectorRecipes(List<TargetDetectorRecipe> targetDetectorRecipes)List of detector recipes attached to targetTarget.BuildertargetResourceId(String targetResourceId)Resource ID which the target uses to monitorTarget.BuildertargetResourceType(TargetResourceType targetResourceType)Type of targetTarget.BuildertargetResponderRecipes(List<TargetResponderRecipe> targetResponderRecipes)List of responder recipes attached to targetTarget.BuildertimeCreated(Date timeCreated)The date and time the target was created.Target.BuildertimeUpdated(Date timeUpdated)The date and time the target was last updated.
 
- 
- 
- 
Method Detail- 
idpublic Target.Builder id(String id) Unique identifier that can’t be changed after creation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Target.Builder displayName(String displayName) Target display name- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Target.Builder compartmentId(String compartmentId) Compartment OCID where the resource is created- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Target.Builder description(String description) The target description- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
targetResourceTypepublic Target.Builder targetResourceType(TargetResourceType targetResourceType) Type of target- Parameters:
- targetResourceType- the value to set
- Returns:
- this builder
 
 - 
targetResourceIdpublic Target.Builder targetResourceId(String targetResourceId) Resource ID which the target uses to monitor- Parameters:
- targetResourceId- the value to set
- Returns:
- this builder
 
 - 
recipeCountpublic Target.Builder recipeCount(Integer recipeCount) Total number of recipes attached to target- Parameters:
- recipeCount- the value to set
- Returns:
- this builder
 
 - 
targetDetectorRecipespublic Target.Builder targetDetectorRecipes(List<TargetDetectorRecipe> targetDetectorRecipes) List of detector recipes attached to target- Parameters:
- targetDetectorRecipes- the value to set
- Returns:
- this builder
 
 - 
targetResponderRecipespublic Target.Builder targetResponderRecipes(List<TargetResponderRecipe> targetResponderRecipes) List of responder recipes attached to target- Parameters:
- targetResponderRecipes- the value to set
- Returns:
- this builder
 
 - 
targetDetailspublic Target.Builder targetDetails(TargetDetails targetDetails) 
 - 
inheritedByCompartmentspublic Target.Builder inheritedByCompartments(List<String> inheritedByCompartments) List of inherited compartments- Parameters:
- inheritedByCompartments- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Target.Builder timeCreated(Date timeCreated) The date and time the target was created.Format defined by RFC3339. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Target.Builder timeUpdated(Date timeUpdated) The date and time the target was last updated.Format defined by RFC3339. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Target.Builder lifecycleState(LifecycleState lifecycleState) The current lifecycle state of the target- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecyleDetailspublic 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] - Parameters:
- lifecyleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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. - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Target build() 
 - 
copypublic Target.Builder copy(Target model) 
 
- 
 
-