Class DateFilter
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.DateFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DateFilter.Builder,DateFilter>
@Generated("software.amazon.awssdk:codegen") public final class DateFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DateFilter.Builder,DateFilter>
A date filter for querying findings.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDateFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DateFilter.Builderbuilder()DateRangedateRange()A date range for the date filter.Stringend()A timestamp that provides the end date for the date filter.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DateFilter.Builder>serializableBuilderClass()Stringstart()A timestamp that provides the start date for the date filter.DateFilter.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
-
start
public final String start()
A timestamp that provides the start date for the date filter.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- A timestamp that provides the start date for the date filter.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
-
end
public final String end()
A timestamp that provides the end date for the date filter.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- A timestamp that provides the end date for the date filter.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
-
dateRange
public final DateRange dateRange()
A date range for the date filter.
- Returns:
- A date range for the date filter.
-
toBuilder
public DateFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DateFilter.Builder,DateFilter>
-
builder
public static DateFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends DateFilter.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-