@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class TargetDetectorRecipeSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of DetectorRecipe
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,
Integer sourceDataRetention)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TargetDetectorRecipeSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
Compartment Identifier
|
String |
getDescription()
DetectorRecipe Description
|
DetectorEnum |
getDetector()
Type of detector
|
String |
getDetectorRecipeId()
Unique identifier for Detector Recipe of which this is an extension
|
String |
getDisplayName()
DetectorRecipe Identifier Name
|
String |
getId()
Unique identifier that is immutable on creation
|
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
LifecycleState |
getLifecycleState()
The current state of the resource.
|
OwnerType |
getOwner()
Owner of DetectorRecipe
|
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 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","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, Integer sourceDataRetention)
public static TargetDetectorRecipeSummary.Builder builder()
Create a new builder.
public TargetDetectorRecipeSummary.Builder toBuilder()
public String getId()
Unique identifier that is immutable on creation
public String getCompartmentId()
Compartment Identifier
public String getDisplayName()
DetectorRecipe Identifier Name
public String getDescription()
DetectorRecipe Description
public OwnerType getOwner()
Owner of DetectorRecipe
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 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 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 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–2023. All rights reserved.