@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectorFeatureConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a GuardDuty feature.
Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING
) and Runtime Monitoring (
RUNTIME_MONITORING
) will cause an error. You can add only one of these two features because Runtime
Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.
Constructor and Description |
---|
DetectorFeatureConfiguration() |
Modifier and Type | Method and Description |
---|---|
DetectorFeatureConfiguration |
clone() |
boolean |
equals(Object obj) |
List<DetectorAdditionalConfiguration> |
getAdditionalConfiguration()
Additional configuration for a resource.
|
String |
getName()
The name of the feature.
|
String |
getStatus()
The status of the feature.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalConfiguration(Collection<DetectorAdditionalConfiguration> additionalConfiguration)
Additional configuration for a resource.
|
void |
setName(String name)
The name of the feature.
|
void |
setStatus(String status)
The status of the feature.
|
String |
toString()
Returns a string representation of this object.
|
DetectorFeatureConfiguration |
withAdditionalConfiguration(Collection<DetectorAdditionalConfiguration> additionalConfiguration)
Additional configuration for a resource.
|
DetectorFeatureConfiguration |
withAdditionalConfiguration(DetectorAdditionalConfiguration... additionalConfiguration)
Additional configuration for a resource.
|
DetectorFeatureConfiguration |
withName(DetectorFeature name)
The name of the feature.
|
DetectorFeatureConfiguration |
withName(String name)
The name of the feature.
|
DetectorFeatureConfiguration |
withStatus(FeatureStatus status)
The status of the feature.
|
DetectorFeatureConfiguration |
withStatus(String status)
The status of the feature.
|
public void setName(String name)
The name of the feature.
name
- The name of the feature.DetectorFeature
public String getName()
The name of the feature.
DetectorFeature
public DetectorFeatureConfiguration withName(String name)
The name of the feature.
name
- The name of the feature.DetectorFeature
public DetectorFeatureConfiguration withName(DetectorFeature name)
The name of the feature.
name
- The name of the feature.DetectorFeature
public void setStatus(String status)
The status of the feature.
status
- The status of the feature.FeatureStatus
public String getStatus()
The status of the feature.
FeatureStatus
public DetectorFeatureConfiguration withStatus(String status)
The status of the feature.
status
- The status of the feature.FeatureStatus
public DetectorFeatureConfiguration withStatus(FeatureStatus status)
The status of the feature.
status
- The status of the feature.FeatureStatus
public List<DetectorAdditionalConfiguration> getAdditionalConfiguration()
Additional configuration for a resource.
public void setAdditionalConfiguration(Collection<DetectorAdditionalConfiguration> additionalConfiguration)
Additional configuration for a resource.
additionalConfiguration
- Additional configuration for a resource.public DetectorFeatureConfiguration withAdditionalConfiguration(DetectorAdditionalConfiguration... additionalConfiguration)
Additional configuration for a resource.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalConfiguration(java.util.Collection)
or
withAdditionalConfiguration(java.util.Collection)
if you want to override the existing values.
additionalConfiguration
- Additional configuration for a resource.public DetectorFeatureConfiguration withAdditionalConfiguration(Collection<DetectorAdditionalConfiguration> additionalConfiguration)
Additional configuration for a resource.
additionalConfiguration
- Additional configuration for a resource.public String toString()
toString
in class Object
Object.toString()
public DetectorFeatureConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.