@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateMalwareScanSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateMalwareScanSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateMalwareScanSettingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDetectorId()
The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
|
String |
getEbsSnapshotPreservation()
An enum value representing possible snapshot preservation settings.
|
ScanResourceCriteria |
getScanResourceCriteria()
Represents the criteria to be used in the filter for selecting resources to scan.
|
int |
hashCode() |
void |
setDetectorId(String detectorId)
The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
|
void |
setEbsSnapshotPreservation(String ebsSnapshotPreservation)
An enum value representing possible snapshot preservation settings.
|
void |
setScanResourceCriteria(ScanResourceCriteria scanResourceCriteria)
Represents the criteria to be used in the filter for selecting resources to scan.
|
String |
toString()
Returns a string representation of this object.
|
UpdateMalwareScanSettingsRequest |
withDetectorId(String detectorId)
The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
|
UpdateMalwareScanSettingsRequest |
withEbsSnapshotPreservation(EbsSnapshotPreservation ebsSnapshotPreservation)
An enum value representing possible snapshot preservation settings.
|
UpdateMalwareScanSettingsRequest |
withEbsSnapshotPreservation(String ebsSnapshotPreservation)
An enum value representing possible snapshot preservation settings.
|
UpdateMalwareScanSettingsRequest |
withScanResourceCriteria(ScanResourceCriteria scanResourceCriteria)
Represents the criteria to be used in the filter for selecting resources to scan.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDetectorId(String detectorId)
The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
detectorId
- The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.public String getDetectorId()
The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
public UpdateMalwareScanSettingsRequest withDetectorId(String detectorId)
The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
detectorId
- The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.public void setScanResourceCriteria(ScanResourceCriteria scanResourceCriteria)
Represents the criteria to be used in the filter for selecting resources to scan.
scanResourceCriteria
- Represents the criteria to be used in the filter for selecting resources to scan.public ScanResourceCriteria getScanResourceCriteria()
Represents the criteria to be used in the filter for selecting resources to scan.
public UpdateMalwareScanSettingsRequest withScanResourceCriteria(ScanResourceCriteria scanResourceCriteria)
Represents the criteria to be used in the filter for selecting resources to scan.
scanResourceCriteria
- Represents the criteria to be used in the filter for selecting resources to scan.public void setEbsSnapshotPreservation(String ebsSnapshotPreservation)
An enum value representing possible snapshot preservation settings.
ebsSnapshotPreservation
- An enum value representing possible snapshot preservation settings.EbsSnapshotPreservation
public String getEbsSnapshotPreservation()
An enum value representing possible snapshot preservation settings.
EbsSnapshotPreservation
public UpdateMalwareScanSettingsRequest withEbsSnapshotPreservation(String ebsSnapshotPreservation)
An enum value representing possible snapshot preservation settings.
ebsSnapshotPreservation
- An enum value representing possible snapshot preservation settings.EbsSnapshotPreservation
public UpdateMalwareScanSettingsRequest withEbsSnapshotPreservation(EbsSnapshotPreservation ebsSnapshotPreservation)
An enum value representing possible snapshot preservation settings.
ebsSnapshotPreservation
- An enum value representing possible snapshot preservation settings.EbsSnapshotPreservation
public String toString()
toString
in class Object
Object.toString()
public UpdateMalwareScanSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()