Class FindingTypeAggregation
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.FindingTypeAggregation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FindingTypeAggregation.Builder,FindingTypeAggregation>
@Generated("software.amazon.awssdk:codegen") public final class FindingTypeAggregation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FindingTypeAggregation.Builder,FindingTypeAggregation>
The details that define an aggregation based on finding type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFindingTypeAggregation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FindingTypeAggregation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)AggregationFindingTypefindingType()The finding type to aggregate.StringfindingTypeAsString()The finding type to aggregate.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AggregationResourceTyperesourceType()The resource type to aggregate.StringresourceTypeAsString()The resource type to aggregate.List<SdkField<?>>sdkFields()static Class<? extends FindingTypeAggregation.Builder>serializableBuilderClass()FindingTypeSortBysortBy()The value to sort results by.StringsortByAsString()The value to sort results by.SortOrdersortOrder()The order to sort results by.StringsortOrderAsString()The order to sort results by.FindingTypeAggregation.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
-
findingType
public final AggregationFindingType findingType()
The finding type to aggregate.
If the service returns an enum value that is not available in the current SDK version,
findingTypewill returnAggregationFindingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfindingTypeAsString().- Returns:
- The finding type to aggregate.
- See Also:
AggregationFindingType
-
findingTypeAsString
public final String findingTypeAsString()
The finding type to aggregate.
If the service returns an enum value that is not available in the current SDK version,
findingTypewill returnAggregationFindingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfindingTypeAsString().- Returns:
- The finding type to aggregate.
- See Also:
AggregationFindingType
-
resourceType
public final AggregationResourceType resourceType()
The resource type to aggregate.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnAggregationResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The resource type to aggregate.
- See Also:
AggregationResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The resource type to aggregate.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnAggregationResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The resource type to aggregate.
- See Also:
AggregationResourceType
-
sortBy
public final FindingTypeSortBy sortBy()
The value to sort results by.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnFindingTypeSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The value to sort results by.
- See Also:
FindingTypeSortBy
-
sortByAsString
public final String sortByAsString()
The value to sort results by.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnFindingTypeSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The value to sort results by.
- See Also:
FindingTypeSortBy
-
sortOrder
public final SortOrder sortOrder()
The order to sort results by.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The order to sort results by.
- See Also:
SortOrder
-
sortOrderAsString
public final String sortOrderAsString()
The order to sort results by.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The order to sort results by.
- See Also:
SortOrder
-
toBuilder
public FindingTypeAggregation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FindingTypeAggregation.Builder,FindingTypeAggregation>
-
builder
public static FindingTypeAggregation.Builder builder()
-
serializableBuilderClass
public static Class<? extends FindingTypeAggregation.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.
-
-