Class TimeCondition
- java.lang.Object
-
- software.amazon.awssdk.services.backupsearch.model.TimeCondition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TimeCondition.Builder,TimeCondition>
@Generated("software.amazon.awssdk:codegen") public final class TimeCondition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeCondition.Builder,TimeCondition>
A time condition denotes a creation time, last modification time, or other time.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTimeCondition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeCondition.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()TimeConditionOperatoroperator()A string that defines what values will be returned.StringoperatorAsString()A string that defines what values will be returned.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends TimeCondition.Builder>serializableBuilderClass()TimeCondition.BuildertoBuilder()StringtoString()Returns a string representation of this object.Instantvalue()This is the timestamp value of the time condition.-
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
-
value
public final Instant value()
This is the timestamp value of the time condition.
- Returns:
- This is the timestamp value of the time condition.
-
operator
public final TimeConditionOperator operator()
A string that defines what values will be returned.
If this is included, avoid combinations of operators that will return all possible values. For example, including both
EQUALS_TOandNOT_EQUALS_TOwith a value of4will return all values.If the service returns an enum value that is not available in the current SDK version,
operatorwill returnTimeConditionOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperatorAsString().- Returns:
- A string that defines what values will be returned.
If this is included, avoid combinations of operators that will return all possible values. For example, including both
EQUALS_TOandNOT_EQUALS_TOwith a value of4will return all values. - See Also:
TimeConditionOperator
-
operatorAsString
public final String operatorAsString()
A string that defines what values will be returned.
If this is included, avoid combinations of operators that will return all possible values. For example, including both
EQUALS_TOandNOT_EQUALS_TOwith a value of4will return all values.If the service returns an enum value that is not available in the current SDK version,
operatorwill returnTimeConditionOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperatorAsString().- Returns:
- A string that defines what values will be returned.
If this is included, avoid combinations of operators that will return all possible values. For example, including both
EQUALS_TOandNOT_EQUALS_TOwith a value of4will return all values. - See Also:
TimeConditionOperator
-
toBuilder
public TimeCondition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TimeCondition.Builder,TimeCondition>
-
builder
public static TimeCondition.Builder builder()
-
serializableBuilderClass
public static Class<? extends TimeCondition.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
-
-