public class CreateAssessmentTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAssessmentTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAssessmentTemplateRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAssessmentTargetArn()
The ARN that specifies the assessment target for which you want to create
the assessment template.
|
String |
getAssessmentTemplateName()
The user-defined name that identifies the assessment template that you
want to create.
|
Integer |
getDurationInSeconds()
The duration of the assessment run in seconds.
|
List<String> |
getRulesPackageArns()
The ARNs that specify the rules packages that you want to attach to the
assessment template.
|
List<Attribute> |
getUserAttributesForFindings()
The user-defined attributes that are assigned to every finding that is
generated by the assessment run that uses this assessment template.
|
int |
hashCode() |
void |
setAssessmentTargetArn(String assessmentTargetArn)
The ARN that specifies the assessment target for which you want to create
the assessment template.
|
void |
setAssessmentTemplateName(String assessmentTemplateName)
The user-defined name that identifies the assessment template that you
want to create.
|
void |
setDurationInSeconds(Integer durationInSeconds)
The duration of the assessment run in seconds.
|
void |
setRulesPackageArns(Collection<String> rulesPackageArns)
The ARNs that specify the rules packages that you want to attach to the
assessment template.
|
void |
setUserAttributesForFindings(Collection<Attribute> userAttributesForFindings)
The user-defined attributes that are assigned to every finding that is
generated by the assessment run that uses this assessment template.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAssessmentTemplateRequest |
withAssessmentTargetArn(String assessmentTargetArn)
The ARN that specifies the assessment target for which you want to create
the assessment template.
|
CreateAssessmentTemplateRequest |
withAssessmentTemplateName(String assessmentTemplateName)
The user-defined name that identifies the assessment template that you
want to create.
|
CreateAssessmentTemplateRequest |
withDurationInSeconds(Integer durationInSeconds)
The duration of the assessment run in seconds.
|
CreateAssessmentTemplateRequest |
withRulesPackageArns(Collection<String> rulesPackageArns)
The ARNs that specify the rules packages that you want to attach to the
assessment template.
|
CreateAssessmentTemplateRequest |
withRulesPackageArns(String... rulesPackageArns)
The ARNs that specify the rules packages that you want to attach to the
assessment template.
|
CreateAssessmentTemplateRequest |
withUserAttributesForFindings(Attribute... userAttributesForFindings)
The user-defined attributes that are assigned to every finding that is
generated by the assessment run that uses this assessment template.
|
CreateAssessmentTemplateRequest |
withUserAttributesForFindings(Collection<Attribute> userAttributesForFindings)
The user-defined attributes that are assigned to every finding that is
generated by the assessment run that uses this assessment template.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAssessmentTargetArn(String assessmentTargetArn)
The ARN that specifies the assessment target for which you want to create the assessment template.
assessmentTargetArn
- The ARN that specifies the assessment target for which you want to
create the assessment template.public String getAssessmentTargetArn()
The ARN that specifies the assessment target for which you want to create the assessment template.
public CreateAssessmentTemplateRequest withAssessmentTargetArn(String assessmentTargetArn)
The ARN that specifies the assessment target for which you want to create the assessment template.
assessmentTargetArn
- The ARN that specifies the assessment target for which you want to
create the assessment template.public void setAssessmentTemplateName(String assessmentTemplateName)
The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for an assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
assessmentTemplateName
- The user-defined name that identifies the assessment template that
you want to create. You can create several assessment templates
for an assessment target. The names of the assessment templates
that correspond to a particular assessment target must be unique.public String getAssessmentTemplateName()
The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for an assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
public CreateAssessmentTemplateRequest withAssessmentTemplateName(String assessmentTemplateName)
The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for an assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
assessmentTemplateName
- The user-defined name that identifies the assessment template that
you want to create. You can create several assessment templates
for an assessment target. The names of the assessment templates
that correspond to a particular assessment target must be unique.public void setDurationInSeconds(Integer durationInSeconds)
The duration of the assessment run in seconds. The default value is 3600 seconds (one hour).
durationInSeconds
- The duration of the assessment run in seconds. The default value
is 3600 seconds (one hour).public Integer getDurationInSeconds()
The duration of the assessment run in seconds. The default value is 3600 seconds (one hour).
public CreateAssessmentTemplateRequest withDurationInSeconds(Integer durationInSeconds)
The duration of the assessment run in seconds. The default value is 3600 seconds (one hour).
durationInSeconds
- The duration of the assessment run in seconds. The default value
is 3600 seconds (one hour).public List<String> getRulesPackageArns()
The ARNs that specify the rules packages that you want to attach to the assessment template.
public void setRulesPackageArns(Collection<String> rulesPackageArns)
The ARNs that specify the rules packages that you want to attach to the assessment template.
rulesPackageArns
- The ARNs that specify the rules packages that you want to attach
to the assessment template.public CreateAssessmentTemplateRequest withRulesPackageArns(String... rulesPackageArns)
The ARNs that specify the rules packages that you want to attach to the assessment template.
NOTE: This method appends the values to the existing list (if
any). Use setRulesPackageArns(java.util.Collection)
or
withRulesPackageArns(java.util.Collection)
if you want to
override the existing values.
rulesPackageArns
- The ARNs that specify the rules packages that you want to attach
to the assessment template.public CreateAssessmentTemplateRequest withRulesPackageArns(Collection<String> rulesPackageArns)
The ARNs that specify the rules packages that you want to attach to the assessment template.
rulesPackageArns
- The ARNs that specify the rules packages that you want to attach
to the assessment template.public List<Attribute> getUserAttributesForFindings()
The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template.
public void setUserAttributesForFindings(Collection<Attribute> userAttributesForFindings)
The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template.
userAttributesForFindings
- The user-defined attributes that are assigned to every finding
that is generated by the assessment run that uses this assessment
template.public CreateAssessmentTemplateRequest withUserAttributesForFindings(Attribute... userAttributesForFindings)
The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template.
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
that is generated by the assessment run that uses this assessment
template.public CreateAssessmentTemplateRequest withUserAttributesForFindings(Collection<Attribute> userAttributesForFindings)
The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template.
userAttributesForFindings
- The user-defined attributes that are assigned to every finding
that is generated by the assessment run that uses this assessment
template.public String toString()
toString
in class Object
Object.toString()
public CreateAssessmentTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.