@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class DetectorRecipeDetectorRuleSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary information for a DetectorRecipeDetectorRule resoource.
Note: Objects should always be created or deserialized using the DetectorRecipeDetectorRuleSummary.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 DetectorRecipeDetectorRuleSummary.Builder
, which maintain a
set of all explicitly set fields called DetectorRecipeDetectorRuleSummary.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 |
DetectorRecipeDetectorRuleSummary.Builder |
static class |
DetectorRecipeDetectorRuleSummary.ManagedListTypes |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DetectorRecipeDetectorRuleSummary(String id,
String displayName,
String description,
String recommendation,
DetectorEnum detector,
String serviceType,
String resourceType,
List<DetectorRecipeDetectorRuleSummary.ManagedListTypes> managedListTypes,
List<CandidateResponderRule> candidateResponderRules,
DetectorDetails detectorDetails,
Date timeCreated,
Date timeUpdated,
LifecycleState lifecycleState,
String lifecycleDetails,
String dataSourceId,
List<EntitiesMapping> entitiesMappings)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DetectorRecipeDetectorRuleSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<CandidateResponderRule> |
getCandidateResponderRules()
List of responder rules that can be used to remediate problems triggered by this detector
rule
|
String |
getDataSourceId()
The ID of the attached data source
|
String |
getDescription()
Description of the detector rule
|
DetectorEnum |
getDetector()
Possible types of detectors
|
DetectorDetails |
getDetectorDetails() |
String |
getDisplayName()
Display name of the detector rule
|
List<EntitiesMapping> |
getEntitiesMappings()
Data source entities mapping for the detector rule
|
String |
getId()
The unique identifier of the detector rule
|
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
LifecycleState |
getLifecycleState()
The current lifecycle state of the detector recipe rule
|
List<DetectorRecipeDetectorRuleSummary.ManagedListTypes> |
getManagedListTypes()
List of managed list types related to this rule
|
String |
getRecommendation()
Recommendation for the Display name of the detector rule
|
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 detector recipe rule was created.
|
Date |
getTimeUpdated()
The date and time the detector recipe rule was last updated.
|
int |
hashCode() |
DetectorRecipeDetectorRuleSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","description","recommendation","detector","serviceType","resourceType","managedListTypes","candidateResponderRules","detectorDetails","timeCreated","timeUpdated","lifecycleState","lifecycleDetails","dataSourceId","entitiesMappings"}) public DetectorRecipeDetectorRuleSummary(String id, String displayName, String description, String recommendation, DetectorEnum detector, String serviceType, String resourceType, List<DetectorRecipeDetectorRuleSummary.ManagedListTypes> managedListTypes, List<CandidateResponderRule> candidateResponderRules, DetectorDetails detectorDetails, Date timeCreated, Date timeUpdated, LifecycleState lifecycleState, String lifecycleDetails, String dataSourceId, List<EntitiesMapping> entitiesMappings)
public static DetectorRecipeDetectorRuleSummary.Builder builder()
Create a new builder.
public DetectorRecipeDetectorRuleSummary.Builder toBuilder()
public String getId()
The unique identifier of the detector rule
public String getDisplayName()
Display name of the detector rule
public String getDescription()
Description of the detector rule
public String getRecommendation()
Recommendation for the Display name of the detector rule
public DetectorEnum getDetector()
Possible types of detectors
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 List<DetectorRecipeDetectorRuleSummary.ManagedListTypes> getManagedListTypes()
List of managed list types related to this rule
public List<CandidateResponderRule> getCandidateResponderRules()
List of responder rules that can be used to remediate problems triggered by this detector rule
public DetectorDetails getDetectorDetails()
public Date getTimeCreated()
The date and time the detector recipe rule was created. Format defined by RFC3339.
public Date getTimeUpdated()
The date and time the detector recipe rule was last updated. Format defined by RFC3339.
public LifecycleState getLifecycleState()
The current lifecycle state of the detector recipe rule
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 data source
public List<EntitiesMapping> getEntitiesMappings()
Data source entities mapping for the 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–2024. All rights reserved.