@Generated(value="software.amazon.awssdk:codegen") public final class AssessmentTemplate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssessmentTemplate.Builder,AssessmentTemplate>
Contains information about an Amazon Inspector assessment template. This data type is used as the response element in the DescribeAssessmentTemplates action.
Modifier and Type | Class and Description |
---|---|
static interface |
AssessmentTemplate.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The ARN of the assessment template.
|
Integer |
assessmentRunCount()
The number of existing assessment runs associated with this assessment template.
|
String |
assessmentTargetArn()
The ARN of the assessment target that corresponds to this assessment template.
|
static AssessmentTemplate.Builder |
builder() |
Instant |
createdAt()
The time at which the assessment template is created.
|
Integer |
durationInSeconds()
The duration in seconds specified for this assessment template.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastAssessmentRunArn()
The Amazon Resource Name (ARN) of the most recent assessment run associated with this assessment template.
|
String |
name()
The name of the assessment template.
|
List<String> |
rulesPackageArns()
The rules packages that are specified for this assessment template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssessmentTemplate.Builder> |
serializableBuilderClass() |
AssessmentTemplate.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
List<Attribute> |
userAttributesForFindings()
The user-defined attributes that are assigned to every generated finding from the assessment run that uses this
assessment template.
|
copy
public String arn()
The ARN of the assessment template.
public String name()
The name of the assessment template.
public String assessmentTargetArn()
The ARN of the assessment target that corresponds to this assessment template.
public Integer durationInSeconds()
The duration in seconds specified for this assessment template. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
public List<String> rulesPackageArns()
The rules packages that are specified for this assessment template.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Attribute> userAttributesForFindings()
The user-defined attributes that are assigned to every generated finding from the assessment run that uses this assessment template.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String lastAssessmentRunArn()
The Amazon Resource Name (ARN) of the most recent assessment run associated with this assessment template. This value exists only when the value of assessmentRunCount is greaterpa than zero.
public Integer assessmentRunCount()
The number of existing assessment runs associated with this assessment template. This value can be zero or a positive integer.
public Instant createdAt()
The time at which the assessment template is created.
public AssessmentTemplate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AssessmentTemplate.Builder,AssessmentTemplate>
public static AssessmentTemplate.Builder builder()
public static Class<? extends AssessmentTemplate.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.