@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, 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.
durationInSeconds
- The duration of the assessment run in seconds.public Integer getDurationInSeconds()
The duration of the assessment run in seconds.
public CreateAssessmentTemplateRequest withDurationInSeconds(Integer durationInSeconds)
The duration of the assessment run in seconds.
durationInSeconds
- The duration of the assessment run in seconds.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. An attribute is a key and value pair (an Attribute object). Within an assessment template, each key must be unique.
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. An attribute is a key and value pair (an Attribute object). Within an assessment template, each key must be unique.
userAttributesForFindings
- The user-defined attributes that are assigned to every finding that is generated by the assessment run
that uses this assessment template. An attribute is a key and value pair (an Attribute object).
Within an assessment template, each key must be unique.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. An attribute is a key and value pair (an Attribute object). Within an assessment template, each key must be unique.
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. An attribute is a key and value pair (an Attribute object).
Within an assessment template, each key must be unique.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. An attribute is a key and value pair (an Attribute object). Within an assessment template, each key must be unique.
userAttributesForFindings
- The user-defined attributes that are assigned to every finding that is generated by the assessment run
that uses this assessment template. An attribute is a key and value pair (an Attribute object).
Within an assessment template, each key must be unique.public String toString()
toString
in class Object
Object.toString()
public CreateAssessmentTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()