@Generated(value="software.amazon.awssdk:codegen") public final class ListAssessmentTemplatesRequest extends InspectorRequest implements ToCopyableBuilder<ListAssessmentTemplatesRequest.Builder,ListAssessmentTemplatesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListAssessmentTemplatesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
assessmentTargetArns()
A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
|
static ListAssessmentTemplatesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
AssessmentTemplateFilter |
filter()
You can use this parameter to specify a subset of data to be included in the action's response.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAssessmentTargetArns()
For responses, this returns true if the service returned a value for the AssessmentTargetArns property.
|
int |
hashCode() |
Integer |
maxResults()
You can use this parameter to indicate the maximum number of items you want in the response.
|
String |
nextToken()
You can use this parameter when paginating results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListAssessmentTemplatesRequest.Builder> |
serializableBuilderClass() |
ListAssessmentTemplatesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAssessmentTargetArns()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> assessmentTargetArns()
A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAssessmentTargetArns() method.
public final AssessmentTemplateFilter filter()
You can use this parameter to specify a subset of data to be included in the action's response.
For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
public final String nextToken()
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTemplates action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
public final Integer maxResults()
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
public ListAssessmentTemplatesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListAssessmentTemplatesRequest.Builder,ListAssessmentTemplatesRequest>toBuilder in class InspectorRequestpublic static ListAssessmentTemplatesRequest.Builder builder()
public static Class<? extends ListAssessmentTemplatesRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.