Class ListActiveViolationsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iot.model.IotRequest
-
- software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListActiveViolationsRequest.Builder,ListActiveViolationsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListActiveViolationsRequest extends IotRequest implements ToCopyableBuilder<ListActiveViolationsRequest.Builder,ListActiveViolationsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListActiveViolationsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BehaviorCriteriaTypebehaviorCriteriaType()The criteria for a behavior.StringbehaviorCriteriaTypeAsString()The criteria for a behavior.static ListActiveViolationsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanlistSuppressedAlerts()A list of all suppressed alerts.IntegermaxResults()The maximum number of results to return at one time.StringnextToken()The token for the next set of results.List<SdkField<?>>sdkFields()StringsecurityProfileName()The name of the Device Defender security profile for which violations are listed.static Class<? extends ListActiveViolationsRequest.Builder>serializableBuilderClass()StringthingName()The name of the thing whose active violations are listed.ListActiveViolationsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.VerificationStateverificationState()The verification state of the violation (detect alarm).StringverificationStateAsString()The verification state of the violation (detect alarm).-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
thingName
public final String thingName()
The name of the thing whose active violations are listed.
- Returns:
- The name of the thing whose active violations are listed.
-
securityProfileName
public final String securityProfileName()
The name of the Device Defender security profile for which violations are listed.
- Returns:
- The name of the Device Defender security profile for which violations are listed.
-
behaviorCriteriaType
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,
behaviorCriteriaTypewill returnBehaviorCriteriaType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombehaviorCriteriaTypeAsString().- Returns:
- The criteria for a behavior.
- See Also:
BehaviorCriteriaType
-
behaviorCriteriaTypeAsString
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,
behaviorCriteriaTypewill returnBehaviorCriteriaType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombehaviorCriteriaTypeAsString().- Returns:
- The criteria for a behavior.
- See Also:
BehaviorCriteriaType
-
listSuppressedAlerts
public final Boolean listSuppressedAlerts()
A list of all suppressed alerts.
- Returns:
- A list of all suppressed alerts.
-
verificationState
public final VerificationState verificationState()
The verification state of the violation (detect alarm).
If the service returns an enum value that is not available in the current SDK version,
verificationStatewill returnVerificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromverificationStateAsString().- Returns:
- The verification state of the violation (detect alarm).
- See Also:
VerificationState
-
verificationStateAsString
public final String verificationStateAsString()
The verification state of the violation (detect alarm).
If the service returns an enum value that is not available in the current SDK version,
verificationStatewill returnVerificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromverificationStateAsString().- Returns:
- The verification state of the violation (detect alarm).
- See Also:
VerificationState
-
nextToken
public final String nextToken()
The token for the next set of results.
- Returns:
- The token for the next set of results.
-
maxResults
public final Integer maxResults()
The maximum number of results to return at one time.
- Returns:
- The maximum number of results to return at one time.
-
toBuilder
public ListActiveViolationsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListActiveViolationsRequest.Builder,ListActiveViolationsRequest>- Specified by:
toBuilderin classIotRequest
-
builder
public static ListActiveViolationsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListActiveViolationsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-