@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 the TargetDetectorRecipeSummary.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 called TargetDetectorRecipeSummary.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 |
TargetDetectorRecipeSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static TargetDetectorRecipeSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
Compartment OCID
|
String |
getDescription()
Detector recipe’s description
|
DetectorEnum |
getDetector()
Type of detector
|
String |
getDetectorRecipeId()
Unique identifier for detector recipe of which this is an extension
|
DetectorRecipeEnum |
getDetectorRecipeType()
Recipe type ( STANDARD, ENTERPRISE )
|
String |
getDisplayName()
Detector recipe’s display name
|
String |
getId()
Unique identifier that can’t be changed after creation
|
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
LifecycleState |
getLifecycleState()
The current lifecycle state of the resource
|
List<ResourceLock> |
getLocks()
Locks associated with this resource.
|
OwnerType |
getOwner()
Detector recipe’s owner
|
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 last updated.
|
int |
hashCode() |
TargetDetectorRecipeSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static TargetDetectorRecipeSummary.Builder builder()
Create a new builder.
public TargetDetectorRecipeSummary.Builder toBuilder()
public String getId()
Unique identifier that can’t be changed after creation
public String getCompartmentId()
Compartment OCID
public String getDisplayName()
Detector recipe’s display name
public String getDescription()
Detector recipe’s description
public OwnerType getOwner()
Detector recipe’s owner
public String getDetectorRecipeId()
Unique identifier for detector recipe of which this is an extension
public DetectorEnum getDetector()
Type of detector
public LifecycleState getLifecycleState()
The current lifecycle state of the resource
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 last updated. Format defined by RFC3339.
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 List<ResourceLock> getLocks()
Locks associated with this resource.
public DetectorRecipeEnum getDetectorRecipeType()
Recipe type ( STANDARD, ENTERPRISE )
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–2024. All rights reserved.