Class InstantToString
java.lang.Object
software.amazon.awssdk.protocols.core.InstantToString
- All Implemented Interfaces:
 ValueToStringConverter.ValueToString<Instant>
public final class InstantToString
extends Object
implements ValueToStringConverter.ValueToString<Instant>
Implementation of 
ValueToStringConverter.ValueToString that converts and Instant to a string. * Respects the
 TimestampFormatTrait if present.- 
Method Summary
Modifier and TypeMethodDescriptionConverts the value to a string.static InstantToStringcreate(Map<MarshallLocation, TimestampFormatTrait.Format> defaultFormats)  
- 
Method Details
- 
convert
Description copied from interface:ValueToStringConverter.ValueToStringConverts the value to a string.- Specified by:
 convertin interfaceValueToStringConverter.ValueToString<Instant>- Parameters:
 val- Value to convert.sdkField-SdkFieldcontaining metadata about the member being marshalled.- Returns:
 - String value.
 
 - 
create
public static InstantToString create(Map<MarshallLocation, TimestampFormatTrait.Format> defaultFormats)  
 -