* The timestamp of when the detector was created. *
*/ private String createdAt; /** ** The publishing frequency of the finding. *
*/ private String findingPublishingFrequency; /** ** The GuardDuty service role. *
*/ private String serviceRole; /** ** The detector status. *
*/ private String status; /** ** The last-updated timestamp for the detector. *
*/ private String updatedAt; /** ** Describes which data sources are enabled for the detector. *
*/ @Deprecated private DataSourceConfigurationsResult dataSources; /** ** The tags of the detector resource. *
*/ private java.util.Map* Describes the features that have been enabled for the detector. *
*/ private java.util.List* The timestamp of when the detector was created. *
* * @param createdAt * The timestamp of when the detector was created. */ public void setCreatedAt(String createdAt) { this.createdAt = createdAt; } /** ** The timestamp of when the detector was created. *
* * @return The timestamp of when the detector was created. */ public String getCreatedAt() { return this.createdAt; } /** ** The timestamp of when the detector was created. *
* * @param createdAt * The timestamp of when the detector was created. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDetectorResult withCreatedAt(String createdAt) { setCreatedAt(createdAt); return this; } /** ** The publishing frequency of the finding. *
* * @param findingPublishingFrequency * The publishing frequency of the finding. * @see FindingPublishingFrequency */ public void setFindingPublishingFrequency(String findingPublishingFrequency) { this.findingPublishingFrequency = findingPublishingFrequency; } /** ** The publishing frequency of the finding. *
* * @return The publishing frequency of the finding. * @see FindingPublishingFrequency */ public String getFindingPublishingFrequency() { return this.findingPublishingFrequency; } /** ** The publishing frequency of the finding. *
* * @param findingPublishingFrequency * The publishing frequency of the finding. * @return Returns a reference to this object so that method calls can be chained together. * @see FindingPublishingFrequency */ public GetDetectorResult withFindingPublishingFrequency(String findingPublishingFrequency) { setFindingPublishingFrequency(findingPublishingFrequency); return this; } /** ** The publishing frequency of the finding. *
* * @param findingPublishingFrequency * The publishing frequency of the finding. * @return Returns a reference to this object so that method calls can be chained together. * @see FindingPublishingFrequency */ public GetDetectorResult withFindingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency) { this.findingPublishingFrequency = findingPublishingFrequency.toString(); return this; } /** ** The GuardDuty service role. *
* * @param serviceRole * The GuardDuty service role. */ public void setServiceRole(String serviceRole) { this.serviceRole = serviceRole; } /** ** The GuardDuty service role. *
* * @return The GuardDuty service role. */ public String getServiceRole() { return this.serviceRole; } /** ** The GuardDuty service role. *
* * @param serviceRole * The GuardDuty service role. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDetectorResult withServiceRole(String serviceRole) { setServiceRole(serviceRole); return this; } /** ** The detector status. *
* * @param status * The detector status. * @see DetectorStatus */ public void setStatus(String status) { this.status = status; } /** ** The detector status. *
* * @return The detector status. * @see DetectorStatus */ public String getStatus() { return this.status; } /** ** The detector status. *
* * @param status * The detector status. * @return Returns a reference to this object so that method calls can be chained together. * @see DetectorStatus */ public GetDetectorResult withStatus(String status) { setStatus(status); return this; } /** ** The detector status. *
* * @param status * The detector status. * @return Returns a reference to this object so that method calls can be chained together. * @see DetectorStatus */ public GetDetectorResult withStatus(DetectorStatus status) { this.status = status.toString(); return this; } /** ** The last-updated timestamp for the detector. *
* * @param updatedAt * The last-updated timestamp for the detector. */ public void setUpdatedAt(String updatedAt) { this.updatedAt = updatedAt; } /** ** The last-updated timestamp for the detector. *
* * @return The last-updated timestamp for the detector. */ public String getUpdatedAt() { return this.updatedAt; } /** ** The last-updated timestamp for the detector. *
* * @param updatedAt * The last-updated timestamp for the detector. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDetectorResult withUpdatedAt(String updatedAt) { setUpdatedAt(updatedAt); return this; } /** ** Describes which data sources are enabled for the detector. *
* * @param dataSources * Describes which data sources are enabled for the detector. */ @Deprecated public void setDataSources(DataSourceConfigurationsResult dataSources) { this.dataSources = dataSources; } /** ** Describes which data sources are enabled for the detector. *
* * @return Describes which data sources are enabled for the detector. */ @Deprecated public DataSourceConfigurationsResult getDataSources() { return this.dataSources; } /** ** Describes which data sources are enabled for the detector. *
* * @param dataSources * Describes which data sources are enabled for the detector. * @return Returns a reference to this object so that method calls can be chained together. */ @Deprecated public GetDetectorResult withDataSources(DataSourceConfigurationsResult dataSources) { setDataSources(dataSources); return this; } /** ** The tags of the detector resource. *
* * @return The tags of the detector resource. */ public java.util.Map* The tags of the detector resource. *
* * @param tags * The tags of the detector resource. */ public void setTags(java.util.Map* The tags of the detector resource. *
* * @param tags * The tags of the detector resource. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDetectorResult withTags(java.util.Map* Describes the features that have been enabled for the detector. *
* * @return Describes the features that have been enabled for the detector. */ public java.util.List* Describes the features that have been enabled for the detector. *
* * @param features * Describes the features that have been enabled for the detector. */ public void setFeatures(java.util.Collection* Describes the features that have been enabled for the detector. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setFeatures(java.util.Collection)} or {@link #withFeatures(java.util.Collection)} if you want to override * the existing values. *
* * @param features * Describes the features that have been enabled for the detector. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDetectorResult withFeatures(DetectorFeatureConfigurationResult... features) { if (this.features == null) { setFeatures(new java.util.ArrayList* Describes the features that have been enabled for the detector. *
* * @param features * Describes the features that have been enabled for the detector. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDetectorResult withFeatures(java.util.Collection