CopyableBuilder<CreateAssessmentTemplateRequest.Builder,CreateAssessmentTemplateRequest>
, SdkBuilder<CreateAssessmentTemplateRequest.Builder,CreateAssessmentTemplateRequest>
public static interface CreateAssessmentTemplateRequest.Builder extends CopyableBuilder<CreateAssessmentTemplateRequest.Builder,CreateAssessmentTemplateRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateAssessmentTemplateRequest.Builder |
assessmentTargetArn(String assessmentTargetArn) |
The ARN that specifies the assessment target for which you want to create the assessment template.
|
CreateAssessmentTemplateRequest.Builder |
assessmentTemplateName(String assessmentTemplateName) |
The user-defined name that identifies the assessment template that you want to create.
|
CreateAssessmentTemplateRequest.Builder |
durationInSeconds(Integer durationInSeconds) |
The duration of the assessment run in seconds.
|
CreateAssessmentTemplateRequest.Builder |
rulesPackageArns(String... rulesPackageArns) |
The ARNs that specify the rules packages that you want to attach to the assessment template.
|
CreateAssessmentTemplateRequest.Builder |
rulesPackageArns(Collection<String> rulesPackageArns) |
The ARNs that specify the rules packages that you want to attach to the assessment template.
|
CreateAssessmentTemplateRequest.Builder |
userAttributesForFindings(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.
|
CreateAssessmentTemplateRequest.Builder |
userAttributesForFindings(Attribute... userAttributesForFindings) |
The user-defined attributes that are assigned to every finding that is generated by the assessment run that
uses this assessment template.
|
copy
apply, build
CreateAssessmentTemplateRequest.Builder assessmentTargetArn(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.CreateAssessmentTemplateRequest.Builder assessmentTemplateName(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.CreateAssessmentTemplateRequest.Builder durationInSeconds(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).CreateAssessmentTemplateRequest.Builder rulesPackageArns(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.CreateAssessmentTemplateRequest.Builder rulesPackageArns(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.CreateAssessmentTemplateRequest.Builder userAttributesForFindings(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.CreateAssessmentTemplateRequest.Builder userAttributesForFindings(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.