@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class TargetDetectorRecipeDetectorRule extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Detector Recipe Rule
Note: Objects should always be created or deserialized using the TargetDetectorRecipeDetectorRule.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 TargetDetectorRecipeDetectorRule.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
TargetDetectorRecipeDetectorRule.Builder |
static class |
TargetDetectorRecipeDetectorRule.ManagedListTypes |
Constructor and Description |
---|
TargetDetectorRecipeDetectorRule(String detectorRuleId,
String displayName,
String description,
String recommendation,
DetectorEnum detector,
String serviceType,
String resourceType,
TargetDetectorDetails details,
List<TargetDetectorRecipeDetectorRule.ManagedListTypes> managedListTypes,
Date timeCreated,
Date timeUpdated,
LifecycleState lifecycleState,
String lifecycleDetails,
String dataSourceId,
List<EntitiesMapping> entitiesMappings)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TargetDetectorRecipeDetectorRule.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDataSourceId()
The id of the attached DataSource.
|
String |
getDescription()
Description for TargetDetectorRecipeDetectorRule.
|
TargetDetectorDetails |
getDetails() |
DetectorEnum |
getDetector()
detector for the rule
|
String |
getDetectorRuleId()
The unique identifier of the detector rule.
|
String |
getDisplayName()
Display name for TargetDetectorRecipeDetectorRule.
|
List<EntitiesMapping> |
getEntitiesMappings()
Data Source entities mapping for a Detector Rule
|
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
LifecycleState |
getLifecycleState()
The current state of the DetectorRule.
|
List<TargetDetectorRecipeDetectorRule.ManagedListTypes> |
getManagedListTypes()
List of cloudguard managed list types related to this rule
|
String |
getRecommendation()
Recommendation for TargetDetectorRecipeDetectorRule
|
String |
getResourceType()
resource type of the configuration to which the rule is applied
|
String |
getServiceType()
service type of the configuration to which the rule is applied
|
Date |
getTimeCreated()
The date and time the target detector recipe rule was created.
|
Date |
getTimeUpdated()
The date and time the target detector recipe rule was updated.
|
int |
hashCode() |
TargetDetectorRecipeDetectorRule.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"detectorRuleId","displayName","description","recommendation","detector","serviceType","resourceType","details","managedListTypes","timeCreated","timeUpdated","lifecycleState","lifecycleDetails","dataSourceId","entitiesMappings"}) public TargetDetectorRecipeDetectorRule(String detectorRuleId, String displayName, String description, String recommendation, DetectorEnum detector, String serviceType, String resourceType, TargetDetectorDetails details, List<TargetDetectorRecipeDetectorRule.ManagedListTypes> managedListTypes, Date timeCreated, Date timeUpdated, LifecycleState lifecycleState, String lifecycleDetails, String dataSourceId, List<EntitiesMapping> entitiesMappings)
public static TargetDetectorRecipeDetectorRule.Builder builder()
Create a new builder.
public TargetDetectorRecipeDetectorRule.Builder toBuilder()
public String getDetectorRuleId()
The unique identifier of the detector rule.
public String getDisplayName()
Display name for TargetDetectorRecipeDetectorRule. information.
public String getDescription()
Description for TargetDetectorRecipeDetectorRule. information.
public String getRecommendation()
Recommendation for TargetDetectorRecipeDetectorRule
public DetectorEnum getDetector()
detector for the rule
public String getServiceType()
service type of the configuration to which the rule is applied
public String getResourceType()
resource type of the configuration to which the rule is applied
public TargetDetectorDetails getDetails()
public List<TargetDetectorRecipeDetectorRule.ManagedListTypes> getManagedListTypes()
List of cloudguard managed list types related to this rule
public Date getTimeCreated()
The date and time the target detector recipe rule was created. Format defined by RFC3339.
public Date getTimeUpdated()
The date and time the target detector recipe rule was updated. Format defined by RFC3339.
public LifecycleState getLifecycleState()
The current state of the DetectorRule.
public String getLifecycleDetails()
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
public String getDataSourceId()
The id of the attached DataSource.
public List<EntitiesMapping> getEntitiesMappings()
Data Source entities mapping for a Detector Rule
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.