@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class TargetDetectorRecipe extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Target Detector recipe
Note: Objects should always be created or deserialized using the TargetDetectorRecipe.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the TargetDetectorRecipe.Builder
, which maintain a
set of all explicitly set fields called TargetDetectorRecipe.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
TargetDetectorRecipe.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
TargetDetectorRecipe(String id,
String displayName,
String description,
String compartmentId,
String detectorRecipeId,
OwnerType owner,
DetectorEnum detector,
List<TargetDetectorRecipeDetectorRule> detectorRules,
List<TargetDetectorRecipeDetectorRule> effectiveDetectorRules,
Date timeCreated,
Date timeUpdated,
LifecycleState lifecycleState,
Integer sourceDataRetention)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TargetDetectorRecipe.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
compartmentId of detector recipe
|
String |
getDescription()
Detector recipe description.
|
DetectorEnum |
getDetector()
Type of detector
|
String |
getDetectorRecipeId()
Unique identifier for Detector Recipe of which this is an extension
|
List<TargetDetectorRecipeDetectorRule> |
getDetectorRules()
List of detector rules for the detector type for recipe - user input
|
String |
getDisplayName()
Display name of detector recipe.
|
List<TargetDetectorRecipeDetectorRule> |
getEffectiveDetectorRules()
List of effective detector rules for the detector type for recipe after applying defaults
|
String |
getId()
Ocid for detector recipe
|
LifecycleState |
getLifecycleState()
The current state of the resource.
|
OwnerType |
getOwner()
Owner of detector recipe
|
Integer |
getSourceDataRetention()
The number of days for which source data is retained
|
Date |
getTimeCreated()
The date and time the target detector recipe was created.
|
Date |
getTimeUpdated()
The date and time the target detector recipe was updated.
|
int |
hashCode() |
TargetDetectorRecipe.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","description","compartmentId","detectorRecipeId","owner","detector","detectorRules","effectiveDetectorRules","timeCreated","timeUpdated","lifecycleState","sourceDataRetention"}) public TargetDetectorRecipe(String id, String displayName, String description, String compartmentId, String detectorRecipeId, OwnerType owner, DetectorEnum detector, List<TargetDetectorRecipeDetectorRule> detectorRules, List<TargetDetectorRecipeDetectorRule> effectiveDetectorRules, Date timeCreated, Date timeUpdated, LifecycleState lifecycleState, Integer sourceDataRetention)
public static TargetDetectorRecipe.Builder builder()
Create a new builder.
public TargetDetectorRecipe.Builder toBuilder()
public String getId()
Ocid for detector recipe
public String getDisplayName()
Display name of detector recipe.
public String getDescription()
Detector recipe description.
public String getCompartmentId()
compartmentId of detector recipe
public String getDetectorRecipeId()
Unique identifier for Detector Recipe of which this is an extension
public OwnerType getOwner()
Owner of detector recipe
public DetectorEnum getDetector()
Type of detector
public List<TargetDetectorRecipeDetectorRule> getDetectorRules()
List of detector rules for the detector type for recipe - user input
public List<TargetDetectorRecipeDetectorRule> getEffectiveDetectorRules()
List of effective detector rules for the detector type for recipe after applying defaults
public Date getTimeCreated()
The date and time the target detector recipe was created. Format defined by RFC3339.
public Date getTimeUpdated()
The date and time the target detector recipe was updated. Format defined by RFC3339.
public LifecycleState getLifecycleState()
The current state of the resource.
public Integer getSourceDataRetention()
The number of days for which source data is retained
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.