@Generated(value="software.amazon.awssdk:codegen") public final class ListActiveViolationsRequest extends IotRequest implements ToCopyableBuilder<ListActiveViolationsRequest.Builder,ListActiveViolationsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ListActiveViolationsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
BehaviorCriteriaType |
behaviorCriteriaType()
The criteria for a behavior.
|
String |
behaviorCriteriaTypeAsString()
The criteria for a behavior.
|
static ListActiveViolationsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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() |
Boolean |
listSuppressedAlerts()
A list of all suppressed alerts.
|
Integer |
maxResults()
The maximum number of results to return at one time.
|
String |
nextToken()
The token for the next set of results.
|
List<SdkField<?>> |
sdkFields() |
String |
securityProfileName()
The name of the Device Defender security profile for which violations are listed.
|
static Class<? extends ListActiveViolationsRequest.Builder> |
serializableBuilderClass() |
String |
thingName()
The name of the thing whose active violations are listed.
|
ListActiveViolationsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
copy
public final String thingName()
The name of the thing whose active violations are listed.
public final String securityProfileName()
The name of the Device Defender security profile for which violations are listed.
public final BehaviorCriteriaType behaviorCriteriaType()
The criteria for a behavior.
If the service returns an enum value that is not available in the current SDK version,
behaviorCriteriaType
will return BehaviorCriteriaType.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from behaviorCriteriaTypeAsString()
.
BehaviorCriteriaType
public final String behaviorCriteriaTypeAsString()
The criteria for a behavior.
If the service returns an enum value that is not available in the current SDK version,
behaviorCriteriaType
will return BehaviorCriteriaType.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from behaviorCriteriaTypeAsString()
.
BehaviorCriteriaType
public final Boolean listSuppressedAlerts()
A list of all suppressed alerts.
public final String nextToken()
The token for the next set of results.
public final Integer maxResults()
The maximum number of results to return at one time.
public ListActiveViolationsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListActiveViolationsRequest.Builder,ListActiveViolationsRequest>
toBuilder
in class IotRequest
public static ListActiveViolationsRequest.Builder builder()
public static Class<? extends ListActiveViolationsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
public final <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 © 2021 Amazon Web Services, Inc. All Rights Reserved.