/** * @param canRetry * @return Returns a reference to this object so that method calls can be chained together. */ public UnsupportedFeatureException withCanRetry(Boolean canRetry) { setCanRetry(canRetry); return this; }
/** * <p> * Code that indicates the type of error that is generated. * </p> * * @param inspectorErrorCode * Code that indicates the type of error that is generated. * @see AccessDeniedErrorCode */ public void setInspectorErrorCode(AccessDeniedErrorCode inspectorErrorCode) { withInspectorErrorCode(inspectorErrorCode); }
/** * <p> * The type of the host from which the finding is generated. * </p> * * @param assetType * The type of the host from which the finding is generated. * @see AssetType */ public void setAssetType(AssetType assetType) { withAssetType(assetType); }
/** * <p/> * * @param agents * @return Returns a reference to this object so that method calls can be chained together. */ public AgentsAlreadyRunningAssessmentException withAgents(java.util.Collection<AgentAlreadyRunningAssessment> agents) { setAgents(agents); return this; }
/** * <p> * Specifies the file format (html or pdf) of the assessment report that you want to generate. * </p> * * @param reportFileFormat * Specifies the file format (html or pdf) of the assessment report that you want to generate. * @see ReportFileFormat */ public void setReportFileFormat(ReportFileFormat reportFileFormat) { withReportFileFormat(reportFileFormat); }
/** * <p> * Code that indicates the type of error that is generated. * </p> * * @param inspectorErrorCode * Code that indicates the type of error that is generated. * @see InvalidInputErrorCode */ public void setInspectorErrorCode(InvalidInputErrorCode inspectorErrorCode) { withInspectorErrorCode(inspectorErrorCode); }
/** * <p> * Specifies the status of the request to generate an assessment report. * </p> * * @param status * Specifies the status of the request to generate an assessment report. * @see ReportStatus */ public void setStatus(ReportStatus status) { withStatus(status); }
/** * <p/> * * @param agentsTruncated * @return Returns a reference to this object so that method calls can be chained together. */ public AgentsAlreadyRunningAssessmentException withAgentsTruncated(Boolean agentsTruncated) { setAgentsTruncated(agentsTruncated); return this; }
/** * <p> * The status code of a failed item. * </p> * * @param failureCode * The status code of a failed item. * @see FailedItemErrorCode */ public void setFailureCode(FailedItemErrorCode failureCode) { withFailureCode(failureCode); }
/** * @param assessmentTemplateArns * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAssessmentTemplatesRequest withAssessmentTemplateArns(java.util.Collection<String> assessmentTemplateArns) { setAssessmentTemplateArns(assessmentTemplateArns); return this; }
/** * <p> * The status code of the SNS notification. * </p> * * @param snsPublishStatusCode * The status code of the SNS notification. * @see AssessmentRunNotificationSnsStatusCode */ public void setSnsPublishStatusCode(AssessmentRunNotificationSnsStatusCode snsPublishStatusCode) { withSnsPublishStatusCode(snsPublishStatusCode); }
/** * <p> * The event for which Amazon Simple Notification Service (SNS) notifications are sent. * </p> * * @param event * The event for which Amazon Simple Notification Service (SNS) notifications are sent. * @see InspectorEvent */ public void setEvent(InspectorEvent event) { withEvent(event); }
/** * <p> * The event for which you want to stop receiving SNS notifications. * </p> * * @param event * The event for which you want to stop receiving SNS notifications. * @see InspectorEvent */ public void setEvent(InspectorEvent event) { withEvent(event); }
/** * <p> * The state of the assessment run. * </p> * * @param state * The state of the assessment run. * @see AssessmentRunState */ public void setState(AssessmentRunState state) { withState(state); }
/** * <p> * Code that indicates the type of error that is generated. * </p> * * @param inspectorErrorCode * Code that indicates the type of error that is generated. * @see NoSuchEntityErrorCode */ public void setInspectorErrorCode(NoSuchEntityErrorCode inspectorErrorCode) { withInspectorErrorCode(inspectorErrorCode); }
/** * <p> * The event for which a notification is sent. * </p> * * @param event * The event for which a notification is sent. * @see InspectorEvent */ public void setEvent(InspectorEvent event) { withEvent(event); }
/** * <p> * The assessment run state. * </p> * * @param state * The assessment run state. * @see AssessmentRunState */ public void setState(AssessmentRunState state) { withState(state); }
/** * <p> * The finding severity. Values can be set to High, Medium, Low, and Informational. * </p> * * @param severity * The finding severity. Values can be set to High, Medium, Low, and Informational. * @see Severity */ public void setSeverity(Severity severity) { withSeverity(severity); }
/** * <p> * The locale that you want to translate a rules package description into. * </p> * * @param locale * The locale that you want to translate a rules package description into. * @see Locale */ public void setLocale(Locale locale) { withLocale(locale); }
/** * <p> * The detailed health state of the agent. * </p> * * @param agentHealthCode * The detailed health state of the agent. * @see AgentHealthCode */ public void setAgentHealthCode(AgentHealthCode agentHealthCode) { withAgentHealthCode(agentHealthCode); }