Class AccountAggregation
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.AccountAggregation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AccountAggregation.Builder,AccountAggregation>
@Generated("software.amazon.awssdk:codegen") public final class AccountAggregation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccountAggregation.Builder,AccountAggregation>
An object that contains details about an aggregation response based on Amazon Web Services accounts.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccountAggregation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountAggregation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)AggregationFindingTypefindingType()The type of finding.StringfindingTypeAsString()The type of finding.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AggregationResourceTyperesourceType()The type of resource.StringresourceTypeAsString()The type of resource.List<SdkField<?>>sdkFields()static Class<? extends AccountAggregation.Builder>serializableBuilderClass()AccountSortBysortBy()The value to sort by.StringsortByAsString()The value to sort by.SortOrdersortOrder()The sort order (ascending or descending).StringsortOrderAsString()The sort order (ascending or descending).AccountAggregation.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 type of finding.
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 type of finding.
- See Also:
AggregationFindingType
-
findingTypeAsString
public final String findingTypeAsString()
The type of finding.
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 type of finding.
- See Also:
AggregationFindingType
-
resourceType
public final AggregationResourceType resourceType()
The type of resource.
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 type of resource.
- See Also:
AggregationResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The type of resource.
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 type of resource.
- See Also:
AggregationResourceType
-
sortBy
public final AccountSortBy sortBy()
The value to sort by.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnAccountSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The value to sort by.
- See Also:
AccountSortBy
-
sortByAsString
public final String sortByAsString()
The value to sort by.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnAccountSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The value to sort by.
- See Also:
AccountSortBy
-
sortOrder
public final SortOrder sortOrder()
The sort order (ascending or descending).
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 sort order (ascending or descending).
- See Also:
SortOrder
-
sortOrderAsString
public final String sortOrderAsString()
The sort order (ascending or descending).
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 sort order (ascending or descending).
- See Also:
SortOrder
-
toBuilder
public AccountAggregation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AccountAggregation.Builder,AccountAggregation>
-
builder
public static AccountAggregation.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccountAggregation.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.
-
-