Class Expiry
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.Expiry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Expiry.Builder,Expiry>
@Generated("software.amazon.awssdk:codegen") public final class Expiry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Expiry.Builder,Expiry>
An object to specify the expiration of a routing step.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExpiry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Expiry.Builderbuilder()IntegerdurationInSeconds()The number of seconds to wait before expiring the routing step.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpiryTimestamp()The timestamp indicating when the routing step expires.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Expiry.Builder>serializableBuilderClass()Expiry.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
-
durationInSeconds
public final Integer durationInSeconds()
The number of seconds to wait before expiring the routing step.
- Returns:
- The number of seconds to wait before expiring the routing step.
-
expiryTimestamp
public final Instant expiryTimestamp()
The timestamp indicating when the routing step expires.
- Returns:
- The timestamp indicating when the routing step expires.
-
toBuilder
public Expiry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Expiry.Builder,Expiry>
-
builder
public static Expiry.Builder builder()
-
serializableBuilderClass
public static Class<? extends Expiry.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.
-
-