public class BehaviorModelTrainingSummary
extends java.lang.Object
implements java.io.Serializable
The summary of an ML Detect behavior model.
Constructor and Description |
---|
BehaviorModelTrainingSummary() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBehaviorName()
The name of the behavior.
|
java.lang.Double |
getDatapointsCollectionPercentage()
The percentage of datapoints collected.
|
java.util.Date |
getLastModelRefreshDate()
The date the model was last refreshed.
|
java.lang.String |
getModelStatus()
The status of the behavior model.
|
java.lang.String |
getSecurityProfileName()
The name of the security profile.
|
java.util.Date |
getTrainingDataCollectionStartDate()
The date a training model started collecting data.
|
int |
hashCode() |
void |
setBehaviorName(java.lang.String behaviorName)
The name of the behavior.
|
void |
setDatapointsCollectionPercentage(java.lang.Double datapointsCollectionPercentage)
The percentage of datapoints collected.
|
void |
setLastModelRefreshDate(java.util.Date lastModelRefreshDate)
The date the model was last refreshed.
|
void |
setModelStatus(ModelStatus modelStatus)
The status of the behavior model.
|
void |
setModelStatus(java.lang.String modelStatus)
The status of the behavior model.
|
void |
setSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
|
void |
setTrainingDataCollectionStartDate(java.util.Date trainingDataCollectionStartDate)
The date a training model started collecting data.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BehaviorModelTrainingSummary |
withBehaviorName(java.lang.String behaviorName)
The name of the behavior.
|
BehaviorModelTrainingSummary |
withDatapointsCollectionPercentage(java.lang.Double datapointsCollectionPercentage)
The percentage of datapoints collected.
|
BehaviorModelTrainingSummary |
withLastModelRefreshDate(java.util.Date lastModelRefreshDate)
The date the model was last refreshed.
|
BehaviorModelTrainingSummary |
withModelStatus(ModelStatus modelStatus)
The status of the behavior model.
|
BehaviorModelTrainingSummary |
withModelStatus(java.lang.String modelStatus)
The status of the behavior model.
|
BehaviorModelTrainingSummary |
withSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
|
BehaviorModelTrainingSummary |
withTrainingDataCollectionStartDate(java.util.Date trainingDataCollectionStartDate)
The date a training model started collecting data.
|
public java.lang.String getSecurityProfileName()
The name of the security profile.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the security profile.
public void setSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
securityProfileName
- The name of the security profile.
public BehaviorModelTrainingSummary withSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
securityProfileName
- The name of the security profile.
public java.lang.String getBehaviorName()
The name of the behavior.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the behavior.
public void setBehaviorName(java.lang.String behaviorName)
The name of the behavior.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
behaviorName
- The name of the behavior.
public BehaviorModelTrainingSummary withBehaviorName(java.lang.String behaviorName)
The name of the behavior.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
behaviorName
- The name of the behavior.
public java.util.Date getTrainingDataCollectionStartDate()
The date a training model started collecting data.
The date a training model started collecting data.
public void setTrainingDataCollectionStartDate(java.util.Date trainingDataCollectionStartDate)
The date a training model started collecting data.
trainingDataCollectionStartDate
- The date a training model started collecting data.
public BehaviorModelTrainingSummary withTrainingDataCollectionStartDate(java.util.Date trainingDataCollectionStartDate)
The date a training model started collecting data.
Returns a reference to this object so that method calls can be chained together.
trainingDataCollectionStartDate
- The date a training model started collecting data.
public java.lang.String getModelStatus()
The status of the behavior model.
Constraints:
Allowed Values: PENDING_BUILD, ACTIVE, EXPIRED
The status of the behavior model.
ModelStatus
public void setModelStatus(java.lang.String modelStatus)
The status of the behavior model.
Constraints:
Allowed Values: PENDING_BUILD, ACTIVE, EXPIRED
modelStatus
- The status of the behavior model.
ModelStatus
public BehaviorModelTrainingSummary withModelStatus(java.lang.String modelStatus)
The status of the behavior model.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING_BUILD, ACTIVE, EXPIRED
modelStatus
- The status of the behavior model.
ModelStatus
public void setModelStatus(ModelStatus modelStatus)
The status of the behavior model.
Constraints:
Allowed Values: PENDING_BUILD, ACTIVE, EXPIRED
modelStatus
- The status of the behavior model.
ModelStatus
public BehaviorModelTrainingSummary withModelStatus(ModelStatus modelStatus)
The status of the behavior model.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING_BUILD, ACTIVE, EXPIRED
modelStatus
- The status of the behavior model.
ModelStatus
public java.lang.Double getDatapointsCollectionPercentage()
The percentage of datapoints collected.
Constraints:
Range: 0 - 100
The percentage of datapoints collected.
public void setDatapointsCollectionPercentage(java.lang.Double datapointsCollectionPercentage)
The percentage of datapoints collected.
Constraints:
Range: 0 - 100
datapointsCollectionPercentage
- The percentage of datapoints collected.
public BehaviorModelTrainingSummary withDatapointsCollectionPercentage(java.lang.Double datapointsCollectionPercentage)
The percentage of datapoints collected.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 100
datapointsCollectionPercentage
- The percentage of datapoints collected.
public java.util.Date getLastModelRefreshDate()
The date the model was last refreshed.
The date the model was last refreshed.
public void setLastModelRefreshDate(java.util.Date lastModelRefreshDate)
The date the model was last refreshed.
lastModelRefreshDate
- The date the model was last refreshed.
public BehaviorModelTrainingSummary withLastModelRefreshDate(java.util.Date lastModelRefreshDate)
The date the model was last refreshed.
Returns a reference to this object so that method calls can be chained together.
lastModelRefreshDate
- The date the model was last refreshed.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.