Class CisScanResultsAggregatedByTargetResourceFilterCriteria
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.CisScanResultsAggregatedByTargetResourceFilterCriteria
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CisScanResultsAggregatedByTargetResourceFilterCriteria.Builder,CisScanResultsAggregatedByTargetResourceFilterCriteria>
@Generated("software.amazon.awssdk:codegen") public final class CisScanResultsAggregatedByTargetResourceFilterCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CisScanResultsAggregatedByTargetResourceFilterCriteria.Builder,CisScanResultsAggregatedByTargetResourceFilterCriteria>
The scan results aggregated by target resource filter criteria.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCisScanResultsAggregatedByTargetResourceFilterCriteria.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CisStringFilter>accountIdFilters()The criteria's account ID filters.static CisScanResultsAggregatedByTargetResourceFilterCriteria.Builderbuilder()List<CisStringFilter>checkIdFilters()The criteria's check ID filters.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)List<CisNumberFilter>failedChecksFilters()The criteria's failed checks filters.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAccountIdFilters()For responses, this returns true if the service returned a value for the AccountIdFilters property.booleanhasCheckIdFilters()For responses, this returns true if the service returned a value for the CheckIdFilters property.booleanhasFailedChecksFilters()For responses, this returns true if the service returned a value for the FailedChecksFilters property.inthashCode()booleanhasPlatformFilters()For responses, this returns true if the service returned a value for the PlatformFilters property.booleanhasStatusFilters()For responses, this returns true if the service returned a value for the StatusFilters property.booleanhasTargetResourceIdFilters()For responses, this returns true if the service returned a value for the TargetResourceIdFilters property.booleanhasTargetResourceTagFilters()For responses, this returns true if the service returned a value for the TargetResourceTagFilters property.booleanhasTargetStatusFilters()For responses, this returns true if the service returned a value for the TargetStatusFilters property.booleanhasTargetStatusReasonFilters()For responses, this returns true if the service returned a value for the TargetStatusReasonFilters property.List<CisStringFilter>platformFilters()The criteria's platform filters.List<SdkField<?>>sdkFields()static Class<? extends CisScanResultsAggregatedByTargetResourceFilterCriteria.Builder>serializableBuilderClass()List<CisResultStatusFilter>statusFilters()The criteria's status filter.List<CisStringFilter>targetResourceIdFilters()The criteria's target resource ID filters.List<TagFilter>targetResourceTagFilters()The criteria's target resource tag filters.List<CisTargetStatusFilter>targetStatusFilters()The criteria's target status filters.List<CisTargetStatusReasonFilter>targetStatusReasonFilters()The criteria's target status reason filters.CisScanResultsAggregatedByTargetResourceFilterCriteria.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
hasAccountIdFilters
public final boolean hasAccountIdFilters()
For responses, this returns true if the service returned a value for the AccountIdFilters property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
accountIdFilters
public final List<CisStringFilter> accountIdFilters()
The criteria's account ID filters.
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
hasAccountIdFilters()method.- Returns:
- The criteria's account ID filters.
-
hasCheckIdFilters
public final boolean hasCheckIdFilters()
For responses, this returns true if the service returned a value for the CheckIdFilters property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
checkIdFilters
public final List<CisStringFilter> checkIdFilters()
The criteria's check ID filters.
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
hasCheckIdFilters()method.- Returns:
- The criteria's check ID filters.
-
hasFailedChecksFilters
public final boolean hasFailedChecksFilters()
For responses, this returns true if the service returned a value for the FailedChecksFilters property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
failedChecksFilters
public final List<CisNumberFilter> failedChecksFilters()
The criteria's failed checks filters.
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
hasFailedChecksFilters()method.- Returns:
- The criteria's failed checks filters.
-
hasPlatformFilters
public final boolean hasPlatformFilters()
For responses, this returns true if the service returned a value for the PlatformFilters property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
platformFilters
public final List<CisStringFilter> platformFilters()
The criteria's platform filters.
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
hasPlatformFilters()method.- Returns:
- The criteria's platform filters.
-
hasStatusFilters
public final boolean hasStatusFilters()
For responses, this returns true if the service returned a value for the StatusFilters property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
statusFilters
public final List<CisResultStatusFilter> statusFilters()
The criteria's status filter.
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
hasStatusFilters()method.- Returns:
- The criteria's status filter.
-
hasTargetResourceIdFilters
public final boolean hasTargetResourceIdFilters()
For responses, this returns true if the service returned a value for the TargetResourceIdFilters property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
targetResourceIdFilters
public final List<CisStringFilter> targetResourceIdFilters()
The criteria's target resource ID filters.
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
hasTargetResourceIdFilters()method.- Returns:
- The criteria's target resource ID filters.
-
hasTargetResourceTagFilters
public final boolean hasTargetResourceTagFilters()
For responses, this returns true if the service returned a value for the TargetResourceTagFilters property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
targetResourceTagFilters
public final List<TagFilter> targetResourceTagFilters()
The criteria's target resource tag filters.
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
hasTargetResourceTagFilters()method.- Returns:
- The criteria's target resource tag filters.
-
hasTargetStatusFilters
public final boolean hasTargetStatusFilters()
For responses, this returns true if the service returned a value for the TargetStatusFilters property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
targetStatusFilters
public final List<CisTargetStatusFilter> targetStatusFilters()
The criteria's target status filters.
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
hasTargetStatusFilters()method.- Returns:
- The criteria's target status filters.
-
hasTargetStatusReasonFilters
public final boolean hasTargetStatusReasonFilters()
For responses, this returns true if the service returned a value for the TargetStatusReasonFilters property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
targetStatusReasonFilters
public final List<CisTargetStatusReasonFilter> targetStatusReasonFilters()
The criteria's target status reason filters.
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
hasTargetStatusReasonFilters()method.- Returns:
- The criteria's target status reason filters.
-
toBuilder
public CisScanResultsAggregatedByTargetResourceFilterCriteria.Builder toBuilder()
-
builder
public static CisScanResultsAggregatedByTargetResourceFilterCriteria.Builder builder()
-
serializableBuilderClass
public static Class<? extends CisScanResultsAggregatedByTargetResourceFilterCriteria.Builder> serializableBuilderClass()
-
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.
-
-