- CachedSupplier<T> - Class in software.amazon.awssdk.utils.cache
-
A wrapper for a
Supplier
that applies certain caching rules to the retrieval of its value, including customizable
pre-fetching behaviors for updating values as they get close to expiring so that not all threads have to block to update the
value.
- CachedSupplier.Builder<T> - Class in software.amazon.awssdk.utils.cache
-
- CachedSupplier.PrefetchStrategy - Interface in software.amazon.awssdk.utils.cache
-
- cancel() - Method in class software.amazon.awssdk.utils.async.DelegatingSubscription
-
- cancel() - Method in class software.amazon.awssdk.utils.internal.async.EmptySubscription
-
- capitalize(String) - Static method in class software.amazon.awssdk.utils.StringUtils
-
- clear() - Method in class software.amazon.awssdk.utils.ImmutableMap
-
Unsupported methods
- close() - Method in class software.amazon.awssdk.utils.AttributeMap
-
- close() - Method in class software.amazon.awssdk.utils.cache.CachedSupplier
-
Free any resources consumed by the prefetch strategy this supplier is using.
- close() - Method in interface software.amazon.awssdk.utils.cache.CachedSupplier.PrefetchStrategy
-
Free any resources associated with the strategy.
- close() - Method in class software.amazon.awssdk.utils.cache.NonBlocking
-
- close() - Method in class software.amazon.awssdk.utils.Lazy
-
- close() - Method in interface software.amazon.awssdk.utils.SdkAutoCloseable
- closeIfCloseable(Object, Logger) - Static method in class software.amazon.awssdk.utils.IoUtils
-
Closes the given Closeable quietly.
- closeQuietly(AutoCloseable, Logger) - Static method in class software.amazon.awssdk.utils.IoUtils
-
Closes the given Closeable quietly.
- CodecUtils - Class in software.amazon.awssdk.utils.internal
-
Codec internal utilities
- CodegenNamingUtils - Class in software.amazon.awssdk.utils.internal
-
Internal class used by the code generator and release scripts to produce sanitized names.
- CollectionUtils - Class in software.amazon.awssdk.utils
-
- ComparableUtils - Class in software.amazon.awssdk.utils
-
- CompletableFutureUtils - Class in software.amazon.awssdk.utils
-
- computeMD5Hash(InputStream) - Static method in class software.amazon.awssdk.utils.Md5Utils
-
Computes the MD5 hash of the data in the given input stream and returns
it as an array of bytes.
- computeMD5Hash(byte[]) - Static method in class software.amazon.awssdk.utils.Md5Utils
-
Computes the MD5 hash of the given data and returns it as an array of
bytes.
- computeMD5Hash(File) - Static method in class software.amazon.awssdk.utils.Md5Utils
-
Computes the MD5 of the given file.
- containsKey(AttributeMap.Key<T>) - Method in class software.amazon.awssdk.utils.AttributeMap
-
Return true if the provided key is configured in this map.
- containsKey(Object) - Method in class software.amazon.awssdk.utils.ImmutableMap
-
Inherited methods
- containsValue(Object) - Method in class software.amazon.awssdk.utils.ImmutableMap
-
- convertValue(Object) - Method in class software.amazon.awssdk.utils.AttributeMap.Key
-
Validate the provided value is of the correct type and convert it to the proper type for this option.
- copy() - Method in class software.amazon.awssdk.utils.AttributeMap
-
- copy() - Method in interface software.amazon.awssdk.utils.builder.CopyableBuilder
-
A shallow copy of this object created by building an immutable T and then transforming it back to a builder.
- copy(Consumer<? super B>) - Method in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
-
- copy(InputStream, OutputStream) - Static method in class software.amazon.awssdk.utils.IoUtils
-
Copies all bytes from the given input stream to the given output stream.
- copy(InputStream, OutputStream, long) - Static method in class software.amazon.awssdk.utils.IoUtils
-
Copies all bytes from the given input stream to the given output stream.
- CopyableBuilder<B extends CopyableBuilder<B,T>,T extends ToCopyableBuilder<B,T>> - Interface in software.amazon.awssdk.utils.builder
-
- copyAllBytesFrom(ByteBuffer) - Static method in class software.amazon.awssdk.utils.BinaryUtils
-
Returns a copy of all the bytes from the given ByteBuffer
,
from the beginning to the buffer's limit; or null if the input is null.
- copyBytesFrom(ByteBuffer) - Static method in class software.amazon.awssdk.utils.BinaryUtils
-
Returns a copy of the bytes from the given ByteBuffer
,
ranging from the the buffer's current position to the buffer's limit; or
null if the input is null.
- copyBytesFrom(ByteBuffer, int) - Static method in class software.amazon.awssdk.utils.BinaryUtils
-
- copyRemainingBytesFrom(ByteBuffer) - Static method in class software.amazon.awssdk.utils.BinaryUtils
-
- create(Subscriber<? super U>, Function<T, U>) - Static method in class software.amazon.awssdk.utils.internal.MappingSubscriber
-
- create(String) - Static method in class software.amazon.awssdk.utils.ToString
-
Create a to-string result for the given class name.
- DaemonThreadFactory - Class in software.amazon.awssdk.utils
-
An decorator for
ThreadFactory
that sets all threads it creates to be daemon threads.
- DaemonThreadFactory(ThreadFactory) - Constructor for class software.amazon.awssdk.utils.DaemonThreadFactory
-
- daemonThreads(Boolean) - Method in class software.amazon.awssdk.utils.ThreadFactoryBuilder
-
Whether the threads created by the factory should be daemon threads.
- DateUtils - Class in software.amazon.awssdk.utils
-
Utilities for parsing and formatting dates.
- debug(Supplier<String>) - Method in class software.amazon.awssdk.utils.Logger
-
Checks if debug is enabled and if so logs the supplied message
- debug(Supplier<String>, Throwable) - Method in class software.amazon.awssdk.utils.Logger
-
Checks if debug is enabled and if so logs the supplied message and exception
- decode(String) - Static method in class software.amazon.awssdk.utils.internal.Base16
-
Decodes the given base 16 encoded string,
skipping carriage returns, line feeds and spaces as needed.
- decode(byte[]) - Static method in class software.amazon.awssdk.utils.internal.Base16
-
Decodes the given base 16 encoded bytes.
- decode(byte[], int) - Method in class software.amazon.awssdk.utils.internal.Base16Codec
-
- decode(String) - Static method in class software.amazon.awssdk.utils.internal.Base16Lower
-
Decodes the given base 16 encoded string,
skipping carriage returns, line feeds and spaces as needed.
- decode(byte[]) - Static method in class software.amazon.awssdk.utils.internal.Base16Lower
-
Decodes the given base 16 encoded bytes.
- deepCopyMap(Map<T, ? extends List<U>>) - Static method in class software.amazon.awssdk.utils.CollectionUtils
-
Perform a deep copy of the provided map of lists.
- deepCopyMap(Map<T, ? extends List<U>>, Supplier<Map<T, List<U>>>) - Static method in class software.amazon.awssdk.utils.CollectionUtils
-
Perform a deep copy of the provided map of lists.
- deepUnmodifiableMap(Map<T, ? extends List<U>>) - Static method in class software.amazon.awssdk.utils.CollectionUtils
-
Perform a deep copy of the provided map of lists, and make the result unmodifiable.
- deepUnmodifiableMap(Map<T, ? extends List<U>>, Supplier<Map<T, List<U>>>) - Static method in class software.amazon.awssdk.utils.CollectionUtils
-
Perform a deep copy of the provided map of lists, and make the result unmodifiable.
- defaultValue() - Method in enum software.amazon.awssdk.utils.JavaSystemSetting
-
- defaultValue() - Method in enum software.amazon.awssdk.utils.ProxySystemSetting
-
- defaultValue() - Method in interface software.amazon.awssdk.utils.SystemSetting
-
The default value of the setting (or empty if there is no default).
- DelegatingSubscriber<T,U> - Class in software.amazon.awssdk.utils.async
-
- DelegatingSubscriber(Subscriber<? super U>) - Constructor for class software.amazon.awssdk.utils.async.DelegatingSubscriber
-
- DelegatingSubscription - Class in software.amazon.awssdk.utils.async
-
- DelegatingSubscription(Subscription) - Constructor for class software.amazon.awssdk.utils.async.DelegatingSubscription
-
- drainInputStream(InputStream) - Static method in class software.amazon.awssdk.utils.IoUtils
-
Read all remaining data in the stream.
- Either<L,R> - Class in software.amazon.awssdk.utils
-
Represents a value that can be one of two types.
- empty() - Static method in class software.amazon.awssdk.utils.AttributeMap
-
- EmptySubscription - Class in software.amazon.awssdk.utils.internal.async
-
A NoOp implementation of Subscription
interface.
- EmptySubscription(Subscriber<?>) - Constructor for class software.amazon.awssdk.utils.internal.async.EmptySubscription
-
- encode(byte[]) - Static method in class software.amazon.awssdk.utils.internal.Base16
-
Returns a base 16 encoded byte array of the given bytes.
- encode(byte[]) - Method in class software.amazon.awssdk.utils.internal.Base16Codec
-
- encode(byte[]) - Static method in class software.amazon.awssdk.utils.internal.Base16Lower
-
Returns a base 16 encoded byte array of the given bytes.
- encodeAndFlattenFormData(Map<String, List<String>>) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
- encodeAndFlattenQueryParameters(Map<String, List<String>>) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
- encodeAsString(byte...) - Static method in class software.amazon.awssdk.utils.internal.Base16
-
Returns a base 16 encoded string (in upper case) of the given bytes.
- encodeAsString(byte...) - Static method in class software.amazon.awssdk.utils.internal.Base16Lower
-
Returns a base 16 encoded string (in lower case) of the given bytes.
- encodeFormData(Map<String, List<String>>) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
- encodeQueryParameters(Map<String, List<String>>) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
- entrySet() - Method in class software.amazon.awssdk.utils.ImmutableMap
-
- EnumUtils - Class in software.amazon.awssdk.utils.internal
-
Utility class for working with
Enum
s.
- environmentVariable() - Method in enum software.amazon.awssdk.utils.JavaSystemSetting
-
- environmentVariable() - Method in enum software.amazon.awssdk.utils.ProxySystemSetting
-
- environmentVariable() - Method in interface software.amazon.awssdk.utils.SystemSetting
-
The environment variable of the setting (or null if there is no environment variable for this setting).
- equals(Object) - Method in class software.amazon.awssdk.utils.AttributeMap
-
- equals(Object) - Method in class software.amazon.awssdk.utils.Either
-
- equals(Object) - Method in class software.amazon.awssdk.utils.ImmutableMap
-
- equals(Object) - Method in class software.amazon.awssdk.utils.Pair
-
- equals(String, String) - Static method in class software.amazon.awssdk.utils.StringUtils
-
Compares two Strings, returning true
if they represent
equal sequences of characters.
- error(Supplier<String>) - Method in class software.amazon.awssdk.utils.Logger
-
Checks if error is enabled and if so logs the supplied message
- error(Supplier<String>, Throwable) - Method in class software.amazon.awssdk.utils.Logger
-
Checks if error is enabled and if so logs the supplied message and exception
- errorAsCompletionException(Throwable) - Static method in class software.amazon.awssdk.utils.CompletableFutureUtils
-
- EventListeningSubscriber<T> - Class in software.amazon.awssdk.utils.async
-
A Subscriber
that can invoke callbacks during various parts of the subscriber and subscription lifecycle.
- EventListeningSubscriber(Subscriber<T>, Runnable, Consumer<Throwable>, Runnable) - Constructor for class software.amazon.awssdk.utils.async.EventListeningSubscriber
-
- exclusiveBetween(U, U, T, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified argument object fall between the two
exclusive values specified; otherwise, throws an exception with the
specified message.
- exclusiveBetween(long, long, long, String) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified primitive value falls between the two
exclusive values specified; otherwise, throws an exception with the
specified message.
- exclusiveBetween(double, double, double, String) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified primitive value falls between the two
exclusive values specified; otherwise, throws an exception with the
specified message.
- ExecutorUtils - Class in software.amazon.awssdk.utils
-
- failedFuture(Throwable) - Static method in class software.amazon.awssdk.utils.CompletableFutureUtils
-
Convenience method for creating a future that is immediately completed
exceptionally with the given Throwable
.
- FilteringSubscriber<T> - Class in software.amazon.awssdk.utils.async
-
- FilteringSubscriber(Subscriber<? super T>, Predicate<T>) - Constructor for class software.amazon.awssdk.utils.async.FilteringSubscriber
-
- findFirstOccurrence(String, char...) - Static method in class software.amazon.awssdk.utils.StringUtils
-
Searches a string for the first occurrence of a character specified by a list of characters.
- firstIfPresent(List<T>) - Static method in class software.amazon.awssdk.utils.CollectionUtils
-
- firstMatchingHeader(Map<String, List<String>>, String) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
Perform a case-insensitive search for a particular header in the provided map of headers, returning the first matching
header, if one is found.
- firstMatchingHeaderFromCollection(Map<String, List<String>>, Collection<String>) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
Perform a case-insensitive search for a set of headers in the provided map of headers, returning the first matching
header, if one is found.
- firstPresent(Optional<T>, Supplier<Optional<T>>...) - Static method in class software.amazon.awssdk.utils.OptionalUtils
-
Attempt to find a present-valued optional in a list of optionals.
- firstPresent(Optional<T>, Supplier<T>) - Static method in class software.amazon.awssdk.utils.OptionalUtils
-
- FlatteningSubscriber<U> - Class in software.amazon.awssdk.utils.async
-
- FlatteningSubscriber(Subscriber<? super U>) - Constructor for class software.amazon.awssdk.utils.async.FlatteningSubscriber
-
- flattenQueryParameters(Map<String, List<String>>) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
Flatten the provided query parameters into a string that can be used as the query string in a URL.
- formatIso8601Date(Instant) - Static method in class software.amazon.awssdk.utils.DateUtils
-
Formats the specified date as an ISO 8601 string.
- formatRfc1123Date(Instant) - Static method in class software.amazon.awssdk.utils.DateUtils
-
Formats the specified date as an RFC 1123 string.
- formatUnixTimestampInstant(Instant) - Static method in class software.amazon.awssdk.utils.DateUtils
-
Formats the give
Instant
object into an Unix timestamp with millisecond decimal precision.
- formDataEncode(String) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
Encode a string according to RFC 1630: encoding for form data.
- forwardExceptionTo(CompletableFuture<T>, CompletableFuture<?>) - Static method in class software.amazon.awssdk.utils.CompletableFutureUtils
-
Forward the Throwable
from src
to dst
.
- forwardResultTo(CompletableFuture<T>, CompletableFuture<T>, Executor) - Static method in class software.amazon.awssdk.utils.CompletableFutureUtils
-
Completes the
dst
future based on the result of the
src
future asynchronously on
the provided
Executor
and return the
src
future.
- forwardTransformedExceptionTo(CompletableFuture<T>, CompletableFuture<?>, Function<Throwable, Throwable>) - Static method in class software.amazon.awssdk.utils.CompletableFutureUtils
-
Forward the Throwable
that can be transformed as per the transformationFunction
from src
to dst
.
- forwardTransformedResultTo(CompletableFuture<SourceT>, CompletableFuture<DestT>, Function<SourceT, DestT>) - Static method in class software.amazon.awssdk.utils.CompletableFutureUtils
-
Completes the
dst
future based on the result of the
src
future, synchronously,
after applying the provided transformation
Function
if successful.
- fromBase64(String) - Static method in class software.amazon.awssdk.utils.BinaryUtils
-
Converts a Base64-encoded string to the original byte data.
- fromBase64Bytes(byte[]) - Static method in class software.amazon.awssdk.utils.BinaryUtils
-
Converts a Base64-encoded string to the original byte data.
- fromBytes(byte[], Charset) - Static method in class software.amazon.awssdk.utils.StringUtils
-
Encode the given bytes as a string using the given charset
- fromHex(String) - Static method in class software.amazon.awssdk.utils.BinaryUtils
-
Converts a Hex-encoded data string to the original byte data.
- fromNullable(L, R) - Static method in class software.amazon.awssdk.utils.Either
-
Create a new Optional<Either>
from two possibly null values.
- FunctionalUtils - Class in software.amazon.awssdk.utils
-
- FunctionalUtils.UnsafeConsumer<I> - Interface in software.amazon.awssdk.utils
-
Equivalent of
Consumer
that throws a checked exception.
- FunctionalUtils.UnsafeFunction<T,R> - Interface in software.amazon.awssdk.utils
-
Equivalent of
Function
that throws a checked exception.
- FunctionalUtils.UnsafeRunnable - Interface in software.amazon.awssdk.utils
-
Equivalent of
Runnable
that throws a checked exception.
- FunctionalUtils.UnsafeSupplier<T> - Interface in software.amazon.awssdk.utils
-
Equivalent of
Supplier
that throws a checked exception.
- ImmutableMap<K,V> - Class in software.amazon.awssdk.utils
-
An immutable map that could be built by convenient constructors.
- ImmutableMap.Builder<K,V> - Class in software.amazon.awssdk.utils
-
A convenient builder for creating ImmutableMap instances.
- inclusiveBetween(U, U, T, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified argument object fall between the two
inclusive values specified; otherwise, throws an exception with the
specified message.
- inclusiveBetween(long, long, long, String) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified primitive value falls between the two
inclusive values specified; otherwise, throws an exception with the
specified message.
- inclusiveBetween(double, double, double, String) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified primitive value falls between the two
inclusive values specified; otherwise, throws an exception with the
specified message.
- info(Supplier<String>) - Method in class software.amazon.awssdk.utils.Logger
-
Checks if info is enabled and if so logs the supplied message
- info(Supplier<String>, Throwable) - Method in class software.amazon.awssdk.utils.Logger
-
Checks if info is enabled and if so logs the supplied message and exception
- initialize() - Method in class software.amazon.awssdk.utils.ReflectionMethodInvoker
-
Initializes the method invoker by finding and caching the target method from the target class that will be used
for subsequent invoke operations.
- inverseMap(Map<V, K>) - Static method in class software.amazon.awssdk.utils.CollectionUtils
-
Return a new map that is the inverse of the supplied map, with the values becoming the keys
and vice versa.
- invoke(T, Object...) - Method in class software.amazon.awssdk.utils.ReflectionMethodInvoker
-
Attempt to invoke the method this proxy targets for on the given object with the given arguments.
- invokeSafely(FunctionalUtils.UnsafeSupplier<T>) - Static method in class software.amazon.awssdk.utils.FunctionalUtils
-
- invokeSafely(FunctionalUtils.UnsafeRunnable) - Static method in class software.amazon.awssdk.utils.FunctionalUtils
-
- IoUtils - Class in software.amazon.awssdk.utils
-
Utilities for IO operations.
- isAssignableFrom(Class<T>, Class<?>, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validates that the argument can be converted to the specified class, if not throws an exception.
- isBlank(CharSequence) - Static method in class software.amazon.awssdk.utils.StringUtils
-
Checks if a CharSequence is empty (""), null or whitespace only.
- isEmpty() - Method in class software.amazon.awssdk.utils.ImmutableMap
-
- isEmpty(CharSequence) - Static method in class software.amazon.awssdk.utils.StringUtils
-
Checks if a CharSequence is empty ("") or null.
- isFalse(boolean, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the argument condition is false
; otherwise
throwing an exception with the specified message.
- isInitialized() - Method in class software.amazon.awssdk.utils.ReflectionMethodInvoker
-
Gets the initialization state of the invoker.
- isInstanceOf(Class<U>, T, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the argument is an instance of the specified class; otherwise
throwing an exception with the specified message.
- isLoggingLevelEnabled(Level) - Method in class software.amazon.awssdk.utils.Logger
-
Determines if the provided log-level is enabled.
- isLoggingLevelEnabled(String) - Method in class software.amazon.awssdk.utils.Logger
-
Determines if the log-level passed is enabled
- isNotBlank(CharSequence) - Static method in class software.amazon.awssdk.utils.StringUtils
-
Checks if a CharSequence is not empty (""), not null and not whitespace only.
- isNotNegative(int, String) - Static method in class software.amazon.awssdk.utils.Validate
-
- isNotNegative(long, String) - Static method in class software.amazon.awssdk.utils.Validate
-
- isNotNegative(Duration, String) - Static method in class software.amazon.awssdk.utils.Validate
-
Asserts that the given duration is positive (non-negative and non-zero).
- isNull(T, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified argument is null
;
otherwise throwing an exception with the specified message.
- isNullOrEmpty(Collection<?>) - Static method in class software.amazon.awssdk.utils.CollectionUtils
-
- isNullOrEmpty(Map<?, ?>) - Static method in class software.amazon.awssdk.utils.CollectionUtils
-
- isPositive(int, String) - Static method in class software.amazon.awssdk.utils.Validate
-
Asserts that the given number is positive (non-negative and non-zero).
- isPositive(long, String) - Static method in class software.amazon.awssdk.utils.Validate
-
Asserts that the given number is positive (non-negative and non-zero).
- isPositive(double, String) - Static method in class software.amazon.awssdk.utils.Validate
-
- isPositive(Duration, String) - Static method in class software.amazon.awssdk.utils.Validate
-
Asserts that the given duration is positive (non-negative and non-zero).
- isPositiveOrNull(Duration, String) - Static method in class software.amazon.awssdk.utils.Validate
-
Asserts that the given duration is positive (non-negative and non-zero) or null.
- isPositiveOrNull(Integer, String) - Static method in class software.amazon.awssdk.utils.Validate
-
Asserts that the given boxed integer is positive (non-negative and non-zero) or null.
- isPositiveOrNull(Double, String) - Static method in class software.amazon.awssdk.utils.Validate
-
Asserts that the given boxed double is positive (non-negative and non-zero) or null.
- isPositiveOrNull(Long, String) - Static method in class software.amazon.awssdk.utils.Validate
-
Asserts that the given boxed long is positive (non-negative and non-zero) or null.
- isSingleHeader(String) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
- isTrue(boolean, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the argument condition is true
; otherwise
throwing an exception with the specified message.
- isUsingStandardPort(String, Integer) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
Returns true if the specified port is the standard port for the given protocol.
- isWindows() - Static method in class software.amazon.awssdk.utils.Platform
-
Determine whether the current operation system seems to be Windows.
- map(Function<? super L, ? extends T>, Function<? super R, ? extends T>) - Method in class software.amazon.awssdk.utils.Either
-
Maps the Either to a type and returns the resolved value (which may be from the left or the right value).
- mapLeft(Function<? super L, ? extends T>) - Method in class software.amazon.awssdk.utils.Either
-
Map the left most value and return a new Either reflecting the new types.
- MappingSubscriber<T,U> - Class in software.amazon.awssdk.utils.internal
-
Maps a subscriber of one type to another type.
- mapRight(Function<? super R, ? extends T>) - Method in class software.amazon.awssdk.utils.Either
-
Map the right most value and return a new Either reflecting the new types.
- mapValues(Map<K, VInT>, Function<VInT, VOutT>) - Static method in class software.amazon.awssdk.utils.CollectionUtils
-
- markStreamWithMaxReadLimit(InputStream) - Static method in class software.amazon.awssdk.utils.IoUtils
-
If the stream supports marking, marks the stream at the current position with a readLimit
value of
128 KiB.
- max(Duration, Duration) - Static method in class software.amazon.awssdk.utils.NumericUtils
-
- md5AsBase64(InputStream) - Static method in class software.amazon.awssdk.utils.Md5Utils
-
Returns the MD5 in base64 for the data from the given input stream.
- md5AsBase64(byte[]) - Static method in class software.amazon.awssdk.utils.Md5Utils
-
Returns the MD5 in base64 for the given byte array.
- md5AsBase64(File) - Static method in class software.amazon.awssdk.utils.Md5Utils
-
Returns the MD5 in base64 for the given file.
- Md5Utils - Class in software.amazon.awssdk.utils
-
Utility methods for computing MD5 sums.
- merge(AttributeMap) - Method in class software.amazon.awssdk.utils.AttributeMap
-
Merges two AttributeMaps into one.
- mergeLists(List<T>, List<T>) - Static method in class software.amazon.awssdk.utils.CollectionUtils
-
Returns a new list containing the second list appended to the first list.
- min(Duration, Duration) - Static method in class software.amazon.awssdk.utils.NumericUtils
-
- minimum(T...) - Static method in class software.amazon.awssdk.utils.ComparableUtils
-
Get the minimum value from a list of comparable vales.
- mutuallyExclusive(String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Verify that only one of the objects is non null.
- NamedThreadFactory - Class in software.amazon.awssdk.utils
-
An decorator for
ThreadFactory
that allows naming threads based on a format.
- NamedThreadFactory(ThreadFactory, String) - Constructor for class software.amazon.awssdk.utils.NamedThreadFactory
-
- newSingleDaemonThreadExecutor(int, String) - Static method in class software.amazon.awssdk.utils.ExecutorUtils
-
Create a bounded-queue executor with one thread for performing background tasks.
- newThread(Runnable) - Method in class software.amazon.awssdk.utils.DaemonThreadFactory
-
- newThread(Runnable) - Method in class software.amazon.awssdk.utils.NamedThreadFactory
-
- NonBlocking - Class in software.amazon.awssdk.utils.cache
-
- NonBlocking(String) - Constructor for class software.amazon.awssdk.utils.cache.NonBlocking
-
Create a non-blocking prefetch strategy that uses the provided value for the name of the background thread that will be
performing the update.
- noNullElements(T[], String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified argument array is neither
null
nor contains any elements that are null
;
otherwise throwing an exception with the specified message.
- noNullElements(T, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified argument iterable is neither
null
nor contains any elements that are null
;
otherwise throwing an exception with the specified message.
- noOpConsumer() - Static method in class software.amazon.awssdk.utils.FunctionalUtils
-
- noOpRunnable() - Static method in class software.amazon.awssdk.utils.FunctionalUtils
-
- notBlank(T, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified argument character sequence is
neither null
, a length of zero (no characters), empty
nor whitespace; otherwise throwing an exception with the specified
message.
- notEmpty(T[], String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified argument array is neither null
nor a length of zero (no elements); otherwise throwing an exception
with the specified message.
- notEmpty(T, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified argument collection is neither null
nor a size of zero (no elements); otherwise throwing an exception
with the specified message.
- notEmpty(T, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified argument map is neither null
nor a size of zero (no elements); otherwise throwing an exception
with the specified message.
- notEmpty(T, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified argument character sequence is
neither null
nor a length of zero (no characters);
otherwise throwing an exception with the specified message.
- notNull(T, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
-
Validate that the specified argument is not null
;
otherwise throwing an exception with the specified message.
- numberOfDaysSinceEpoch(long) - Static method in class software.amazon.awssdk.utils.DateUtils
-
Returns the number of days since epoch with respect to the given number
of milliseconds since epoch.
- NumericUtils - Class in software.amazon.awssdk.utils
-
- safeCompare(Comparable<T>, T) - Static method in class software.amazon.awssdk.utils.ComparableUtils
-
Does a safe comparison of two
Comparable
objects accounting for nulls
- safeConsumer(FunctionalUtils.UnsafeConsumer<I>) - Static method in class software.amazon.awssdk.utils.FunctionalUtils
-
A wrapper around a Consumer that throws a checked exception.
- safeFunction(FunctionalUtils.UnsafeFunction<T, R>) - Static method in class software.amazon.awssdk.utils.FunctionalUtils
-
Takes a functional interface that throws an exception and returns a
Function
that deals with that exception by
wrapping in a runtime exception.
- safeRunnable(FunctionalUtils.UnsafeRunnable) - Static method in class software.amazon.awssdk.utils.FunctionalUtils
-
A wrapper around a Runnable that throws a checked exception.
- safeStringToBoolean(SystemSetting, String) - Static method in class software.amazon.awssdk.utils.internal.SystemSettingUtils
-
- safeStringToBoolean(String) - Static method in class software.amazon.awssdk.utils.StringUtils
-
- safeSupplier(FunctionalUtils.UnsafeSupplier<T>) - Static method in class software.amazon.awssdk.utils.FunctionalUtils
-
A wrapper around a BiConsumer that throws a checked exception.
- saturatedCast(long) - Static method in class software.amazon.awssdk.utils.NumericUtils
-
Returns the int
nearest in value to value
.
- SdkAutoCloseable - Interface in software.amazon.awssdk.utils
-
An implementation of
AutoCloseable
that does not throw any checked exceptions.
- SdkBuilder<B extends SdkBuilder<B,T>,T> - Interface in software.amazon.awssdk.utils.builder
-
A mutable object that can be used to create an immutable object of type T.
- SdkHttpUtils - Class in software.amazon.awssdk.utils.http
-
A set of utilities that assist with HTTP message-related interactions.
- SequentialSubscriber<T> - Class in software.amazon.awssdk.utils.async
-
A simple implementation of Subscriber
that requests data one at a time.
- SequentialSubscriber(Consumer<T>, CompletableFuture<Void>) - Constructor for class software.amazon.awssdk.utils.async.SequentialSubscriber
-
- size() - Method in class software.amazon.awssdk.utils.ImmutableMap
-
- software.amazon.awssdk.utils - package software.amazon.awssdk.utils
-
- software.amazon.awssdk.utils.async - package software.amazon.awssdk.utils.async
-
- software.amazon.awssdk.utils.builder - package software.amazon.awssdk.utils.builder
-
- software.amazon.awssdk.utils.cache - package software.amazon.awssdk.utils.cache
-
- software.amazon.awssdk.utils.http - package software.amazon.awssdk.utils.http
-
- software.amazon.awssdk.utils.internal - package software.amazon.awssdk.utils.internal
-
- software.amazon.awssdk.utils.internal.async - package software.amazon.awssdk.utils.internal.async
-
- splitOnWordBoundaries(String) - Static method in class software.amazon.awssdk.utils.internal.CodegenNamingUtils
-
- splitQueryString(String) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
- staleTime(Instant) - Method in class software.amazon.awssdk.utils.cache.RefreshResult.Builder
-
Specify the time at which the value in this cache is stale, and all calls to
CachedSupplier.get()
should block
to try to update the value.
- staleTime() - Method in class software.amazon.awssdk.utils.cache.RefreshResult
-
When the configured value is stale and should not longer be used.
- standardPort(String) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
Retrieve the standard port for the provided protocol.
- startsWithIgnoreCase(String, String) - Static method in class software.amazon.awssdk.utils.StringUtils
-
Tests if this string starts with the specified prefix ignoring case considerations.
- StringInputStream - Class in software.amazon.awssdk.utils
-
Simple wrapper for ByteArrayInputStream that will automatically encode the
string as UTF-8 data, and still allows access to the original string.
- StringInputStream(String) - Constructor for class software.amazon.awssdk.utils.StringInputStream
-
- StringUtils - Class in software.amazon.awssdk.utils
-
Operations on
String
that are
null
safe.
- subscriber - Variable in class software.amazon.awssdk.utils.async.DelegatingSubscriber
-
- substring(String, int) - Static method in class software.amazon.awssdk.utils.StringUtils
-
Gets a substring from the specified String avoiding exceptions.
- substring(String, int, int) - Static method in class software.amazon.awssdk.utils.StringUtils
-
Gets a substring from the specified String avoiding exceptions.
- SystemSetting - Interface in software.amazon.awssdk.utils
-
An interface implemented by enums in other packages in order to define the system settings the want loaded.
- SystemSettingUtils - Class in software.amazon.awssdk.utils.internal
-
A set of static utility methods for shared code in
SystemSetting
.
- ThreadFactoryBuilder - Class in software.amazon.awssdk.utils
-
A builder for creating a thread factory.
- ThreadFactoryBuilder() - Constructor for class software.amazon.awssdk.utils.ThreadFactoryBuilder
-
- threadNamePrefix(String) - Method in class software.amazon.awssdk.utils.ThreadFactoryBuilder
-
The name prefix for threads created by this thread factory.
- toBase64(byte[]) - Static method in class software.amazon.awssdk.utils.BinaryUtils
-
Converts byte data to a Base64-encoded string.
- toBase64Bytes(byte[]) - Static method in class software.amazon.awssdk.utils.BinaryUtils
-
Converts byte data to a Base64-encoded string.
- toBuilder() - Method in class software.amazon.awssdk.utils.AttributeMap
-
- toBuilder() - Method in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
-
Take this object and create a builder that contains all of the current property values of this object.
- toByteArray(InputStream) - Static method in class software.amazon.awssdk.utils.IoUtils
-
Reads and returns the rest of the given input stream as a byte array.
- toBytesDirect(String) - Static method in class software.amazon.awssdk.utils.internal.CodecUtils
-
Returns a byte array representing the given string,
truncating each character into a byte directly.
- ToCopyableBuilder<B extends CopyableBuilder<B,T>,T extends ToCopyableBuilder<B,T>> - Interface in software.amazon.awssdk.utils.builder
-
Implementors of this interface provide a way to get from an instance of T to a
CopyableBuilder
.
- toFunction(Supplier<O>) - Static method in class software.amazon.awssdk.utils.FunctionalUtils
-
- toHex(byte[]) - Static method in class software.amazon.awssdk.utils.BinaryUtils
-
Converts byte data to a Hex-encoded string in lower case.
- toMap() - Static method in class software.amazon.awssdk.utils.CollectionUtils
-
Collect a stream of
Map.Entry
to a
Map
with the same key/value types
- toStream(ByteBuffer) - Static method in class software.amazon.awssdk.utils.BinaryUtils
-
Wraps a ByteBuffer in an InputStream.
- toString() - Method in class software.amazon.awssdk.utils.AttributeMap
-
- toString() - Method in class software.amazon.awssdk.utils.ImmutableMap
-
- toString() - Method in class software.amazon.awssdk.utils.Lazy
-
- toString() - Method in class software.amazon.awssdk.utils.Pair
-
- ToString - Class in software.amazon.awssdk.utils
-
- toStringDirect(byte[]) - Static method in class software.amazon.awssdk.utils.internal.CodecUtils
-
Returns a string representing the given byte array,
treating each byte as a single octet character.
- toUtf8String(InputStream) - Static method in class software.amazon.awssdk.utils.IoUtils
-
Reads and returns the rest of the given input stream as a string.
- trace(Supplier<String>) - Method in class software.amazon.awssdk.utils.Logger
-
Checks if trace is enabled and if so logs the supplied message
- trace(Supplier<String>, Throwable) - Method in class software.amazon.awssdk.utils.Logger
-
Checks if trace is enabled and if so logs the supplied message and exception
- trim(String) - Static method in class software.amazon.awssdk.utils.StringUtils
-
Removes control characters (char <= 32) from both
ends of this String, handling null
by returning
null
.
- trimToEmpty(String) - Static method in class software.amazon.awssdk.utils.StringUtils
-
Removes control characters (char <= 32) from both
ends of this String returning an empty String ("") if the String
is empty ("") after the trim or if it is null
.
- trimToNull(String) - Static method in class software.amazon.awssdk.utils.StringUtils
-
Removes control characters (char <= 32) from both
ends of this String returning null
if the String is
empty ("") after the trim or if it is null
.