@Generated(value="software.amazon.awssdk:codegen") public final class ListComplianceItemsRequest extends SsmRequest implements ToCopyableBuilder<ListComplianceItemsRequest.Builder,ListComplianceItemsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ListComplianceItemsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListComplianceItemsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
List<ComplianceStringFilter> |
filters()
One or more compliance filters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxResults()
The maximum number of items to return for this call.
|
String |
nextToken()
A token to start the list.
|
List<String> |
resourceIds()
The ID for the resources from which to get compliance information.
|
List<String> |
resourceTypes()
The type of resource from which to get compliance information.
|
static Class<? extends ListComplianceItemsRequest.Builder> |
serializableBuilderClass() |
ListComplianceItemsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public List<ComplianceStringFilter> filters()
One or more compliance filters. Use a filter to return a more specific list of results.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> resourceIds()
The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> resourceTypes()
The type of resource from which to get compliance information. Currently, the only supported resource type is
ManagedInstance
.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
ManagedInstance
.public String nextToken()
A token to start the list. Use this token to get the next set of results.
public Integer maxResults()
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
public ListComplianceItemsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListComplianceItemsRequest.Builder,ListComplianceItemsRequest>
toBuilder
in class SsmRequest
public static ListComplianceItemsRequest.Builder builder()
public static Class<? extends ListComplianceItemsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.