public class CreateAssessmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAssessmentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAssessmentRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getApplicationArn()
The ARN specifying the application for which you want to create an
assessment.
|
String |
getAssessmentName()
The user-defined name identifying the assessment that you want to create.
|
Integer |
getDurationInSeconds()
The duration of the assessment in seconds.
|
List<Attribute> |
getUserAttributesForFindings()
The user-defined attributes that are assigned to every finding generated
by running this assessment.
|
int |
hashCode() |
void |
setApplicationArn(String applicationArn)
The ARN specifying the application for which you want to create an
assessment.
|
void |
setAssessmentName(String assessmentName)
The user-defined name identifying the assessment that you want to create.
|
void |
setDurationInSeconds(Integer durationInSeconds)
The duration of the assessment in seconds.
|
void |
setUserAttributesForFindings(Collection<Attribute> userAttributesForFindings)
The user-defined attributes that are assigned to every finding generated
by running this assessment.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAssessmentRequest |
withApplicationArn(String applicationArn)
The ARN specifying the application for which you want to create an
assessment.
|
CreateAssessmentRequest |
withAssessmentName(String assessmentName)
The user-defined name identifying the assessment that you want to create.
|
CreateAssessmentRequest |
withDurationInSeconds(Integer durationInSeconds)
The duration of the assessment in seconds.
|
CreateAssessmentRequest |
withUserAttributesForFindings(Attribute... userAttributesForFindings)
The user-defined attributes that are assigned to every finding generated
by running this assessment.
|
CreateAssessmentRequest |
withUserAttributesForFindings(Collection<Attribute> userAttributesForFindings)
The user-defined attributes that are assigned to every finding generated
by running this assessment.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApplicationArn(String applicationArn)
The ARN specifying the application for which you want to create an assessment.
applicationArn
- The ARN specifying the application for which you want to create an
assessment.public String getApplicationArn()
The ARN specifying the application for which you want to create an assessment.
public CreateAssessmentRequest withApplicationArn(String applicationArn)
The ARN specifying the application for which you want to create an assessment.
applicationArn
- The ARN specifying the application for which you want to create an
assessment.public void setAssessmentName(String assessmentName)
The user-defined name identifying the assessment that you want to create. You can create several assessments for an application. The names of the assessments corresponding to a particular application must be unique.
assessmentName
- The user-defined name identifying the assessment that you want to
create. You can create several assessments for an application. The
names of the assessments corresponding to a particular application
must be unique.public String getAssessmentName()
The user-defined name identifying the assessment that you want to create. You can create several assessments for an application. The names of the assessments corresponding to a particular application must be unique.
public CreateAssessmentRequest withAssessmentName(String assessmentName)
The user-defined name identifying the assessment that you want to create. You can create several assessments for an application. The names of the assessments corresponding to a particular application must be unique.
assessmentName
- The user-defined name identifying the assessment that you want to
create. You can create several assessments for an application. The
names of the assessments corresponding to a particular application
must be unique.public void setDurationInSeconds(Integer durationInSeconds)
The duration of the assessment in seconds. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
durationInSeconds
- The duration of the assessment in seconds. The default value is
3600 seconds (one hour). The maximum value is 86400 seconds (one
day).public Integer getDurationInSeconds()
The duration of the assessment in seconds. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
public CreateAssessmentRequest withDurationInSeconds(Integer durationInSeconds)
The duration of the assessment in seconds. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
durationInSeconds
- The duration of the assessment in seconds. The default value is
3600 seconds (one hour). The maximum value is 86400 seconds (one
day).public List<Attribute> getUserAttributesForFindings()
The user-defined attributes that are assigned to every finding generated by running this assessment.
public void setUserAttributesForFindings(Collection<Attribute> userAttributesForFindings)
The user-defined attributes that are assigned to every finding generated by running this assessment.
userAttributesForFindings
- The user-defined attributes that are assigned to every finding
generated by running this assessment.public CreateAssessmentRequest withUserAttributesForFindings(Attribute... userAttributesForFindings)
The user-defined attributes that are assigned to every finding generated by running this assessment.
NOTE: This method appends the values to the existing list (if
any). Use setUserAttributesForFindings(java.util.Collection)
or
withUserAttributesForFindings(java.util.Collection)
if you want
to override the existing values.
userAttributesForFindings
- The user-defined attributes that are assigned to every finding
generated by running this assessment.public CreateAssessmentRequest withUserAttributesForFindings(Collection<Attribute> userAttributesForFindings)
The user-defined attributes that are assigned to every finding generated by running this assessment.
userAttributesForFindings
- The user-defined attributes that are assigned to every finding
generated by running this assessment.public String toString()
toString
in class Object
Object.toString()
public CreateAssessmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.