@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class DetectorRule extends Object
Detector
Note: Objects should always be created or deserialized using the DetectorRule.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 DetectorRule.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
DetectorRule.Builder |
static class |
DetectorRule.ManagedListTypes |
| Constructor and Description |
|---|
DetectorRule(String id,
String displayName,
String description,
String recommendation,
DetectorEnum detector,
String serviceType,
String resourceType,
DetectorDetails detectorDetails,
List<DetectorRule.ManagedListTypes> managedListTypes,
List<CandidateResponderRule> candidateResponderRules,
Date timeCreated,
Date timeUpdated,
LifecycleState lifecycleState,
String lifecycleDetails)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static DetectorRule.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
List<CandidateResponderRule> |
getCandidateResponderRules()
List of CandidateResponderRule related to this rule
|
String |
getDescription()
description for DetectorRule
|
DetectorEnum |
getDetector()
detector for the rule
|
DetectorDetails |
getDetectorDetails() |
String |
getDisplayName()
displayName
|
String |
getId()
The unique identifier of the detector rule
|
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
LifecycleState |
getLifecycleState()
The current state of the DetectorRule.
|
List<DetectorRule.ManagedListTypes> |
getManagedListTypes()
List of cloudguard managed list types related to this rule
|
String |
getRecommendation()
recommendation for DetectorRule
|
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 rule was created.
|
Date |
getTimeUpdated()
The date and time the detector rule was updated.
|
int |
hashCode() |
DetectorRule.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","displayName","description","recommendation","detector","serviceType","resourceType","detectorDetails","managedListTypes","candidateResponderRules","timeCreated","timeUpdated","lifecycleState","lifecycleDetails"}) @Deprecated public DetectorRule(String id, String displayName, String description, String recommendation, DetectorEnum detector, String serviceType, String resourceType, DetectorDetails detectorDetails, List<DetectorRule.ManagedListTypes> managedListTypes, List<CandidateResponderRule> candidateResponderRules, Date timeCreated, Date timeUpdated, LifecycleState lifecycleState, String lifecycleDetails)
public static DetectorRule.Builder builder()
Create a new builder.
public DetectorRule.Builder toBuilder()
public String getId()
The unique identifier of the detector rule
public String getDisplayName()
displayName
public String getDescription()
description for DetectorRule
public String getRecommendation()
recommendation for DetectorRule
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 DetectorDetails getDetectorDetails()
public List<DetectorRule.ManagedListTypes> getManagedListTypes()
List of cloudguard managed list types related to this rule
public List<CandidateResponderRule> getCandidateResponderRules()
List of CandidateResponderRule related to this rule
public Date getTimeCreated()
The date and time the detector rule was created. Format defined by RFC3339.
public Date getTimeUpdated()
The date and time the detector 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.
Copyright © 2016–2021. All rights reserved.