Package com.oracle.bmc.cloudguard.model
Class TargetDetectorRecipeSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudguard.model.TargetDetectorRecipeSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class TargetDetectorRecipeSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary information for a target detector recipe
Note: Objects should always be created or deserialized using theTargetDetectorRecipeSummary.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
TargetDetectorRecipeSummary.Builder
, which maintain a set of all explicitly set fields calledTargetDetectorRecipeSummary.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TargetDetectorRecipeSummary.Builder
-
Constructor Summary
Constructors Constructor Description TargetDetectorRecipeSummary(String id, String compartmentId, String displayName, String description, OwnerType owner, String detectorRecipeId, DetectorEnum detector, LifecycleState lifecycleState, Date timeCreated, Date timeUpdated, String lifecycleDetails, List<ResourceLock> locks, DetectorRecipeEnum detectorRecipeType, Integer sourceDataRetention)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TargetDetectorRecipeSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCompartmentId()
Compartment OCIDString
getDescription()
Detector recipe’s descriptionDetectorEnum
getDetector()
Type of detectorString
getDetectorRecipeId()
Unique identifier for detector recipe of which this is an extensionDetectorRecipeEnum
getDetectorRecipeType()
Recipe type ( STANDARD, ENTERPRISE )String
getDisplayName()
Detector recipe’s display nameString
getId()
Unique identifier that can’t be changed after creationString
getLifecycleDetails()
A message describing the current state in more detail.LifecycleState
getLifecycleState()
The current lifecycle state of the resourceList<ResourceLock>
getLocks()
Locks associated with this resource.OwnerType
getOwner()
Detector recipe’s ownerInteger
getSourceDataRetention()
The number of days for which source data is retainedDate
getTimeCreated()
The date and time the target detector recipe was created.Date
getTimeUpdated()
The date and time the target detector recipe was last updated.int
hashCode()
TargetDetectorRecipeSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
TargetDetectorRecipeSummary
@Deprecated @ConstructorProperties({"id","compartmentId","displayName","description","owner","detectorRecipeId","detector","lifecycleState","timeCreated","timeUpdated","lifecycleDetails","locks","detectorRecipeType","sourceDataRetention"}) public TargetDetectorRecipeSummary(String id, String compartmentId, String displayName, String description, OwnerType owner, String detectorRecipeId, DetectorEnum detector, LifecycleState lifecycleState, Date timeCreated, Date timeUpdated, String lifecycleDetails, List<ResourceLock> locks, DetectorRecipeEnum detectorRecipeType, Integer sourceDataRetention)
Deprecated.
-
-
Method Detail
-
builder
public static TargetDetectorRecipeSummary.Builder builder()
Create a new builder.
-
toBuilder
public TargetDetectorRecipeSummary.Builder toBuilder()
-
getId
public String getId()
Unique identifier that can’t be changed after creation- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
Compartment OCID- Returns:
- the value
-
getDisplayName
public String getDisplayName()
Detector recipe’s display name- Returns:
- the value
-
getDescription
public String getDescription()
Detector recipe’s description- Returns:
- the value
-
getOwner
public OwnerType getOwner()
Detector recipe’s owner- Returns:
- the value
-
getDetectorRecipeId
public String getDetectorRecipeId()
Unique identifier for detector recipe of which this is an extension- Returns:
- the value
-
getDetector
public DetectorEnum getDetector()
Type of detector- Returns:
- the value
-
getLifecycleState
public LifecycleState getLifecycleState()
The current lifecycle state of the resource- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the target detector recipe was created.Format defined by RFC3339.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time the target detector recipe was last updated.Format defined by RFC3339.
- Returns:
- the value
-
getLifecycleDetails
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.
- Returns:
- the value
-
getLocks
public List<ResourceLock> getLocks()
Locks associated with this resource.- Returns:
- the value
-
getDetectorRecipeType
public DetectorRecipeEnum getDetectorRecipeType()
Recipe type ( STANDARD, ENTERPRISE )- Returns:
- the value
-
getSourceDataRetention
public Integer getSourceDataRetention()
The number of days for which source data is retained- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-