- 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.
- 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.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.Base16
-
Decodes the given base 16 encoded bytes.
- decode(String) - Static method in class software.amazon.awssdk.utils.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.Base16Lower
-
Decodes the given base 16 encoded bytes.
- decode(String) - Static method in class software.amazon.awssdk.utils.Base64Utils
-
Decodes the given base 64 encoded string.
- decode(byte[]) - Static method in class software.amazon.awssdk.utils.Base64Utils
-
Decodes the given base 64 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 interface software.amazon.awssdk.utils.SystemSetting
-
The default value of the setting (or empty if there is no default).
- documentBuilderFactory() - Static method in class software.amazon.awssdk.utils.XmlUtils
-
- 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
-
- EMPTY - Static variable in class software.amazon.awssdk.utils.StringUtils
-
The empty String ""
.
- encode(byte[]) - Static method in class software.amazon.awssdk.utils.Base16
-
Returns a base 16 encoded byte array of the given bytes.
- encode(byte[]) - Static method in class software.amazon.awssdk.utils.Base16Lower
-
Returns a base 16 encoded byte array of the given bytes.
- encode(byte[]) - Static method in class software.amazon.awssdk.utils.Base64Utils
-
Returns a 64 encoded byte array of the given bytes.
- encodeAndFlattenFormData(Map<String, List<String>>) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
Encode the provided form data using
encodeFormData(Map)
and then flatten them into a string that
can be used as the body of a form data request.
- encodeAndFlattenQueryParameters(Map<String, List<String>>) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
-
Encode the provided query parameters using
encodeQueryParameters(Map)
and then flatten them into a string that
can be used as the query string in a URL.
- encodeAsString(byte...) - Static method in class software.amazon.awssdk.utils.Base16
-
Returns a base 16 encoded string (in upper case) of the given bytes.
- encodeAsString(byte...) - Static method in class software.amazon.awssdk.utils.Base16Lower
-
Returns a base 16 encoded string (in lower case) of the given bytes.
- encodeAsString(byte...) - Static method in class software.amazon.awssdk.utils.Base64Utils
-
Returns a base 64 encoded string 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
-
Encode each of the keys and values in the provided query parameters using
urlEncode(String)
.
- environmentVariable() - Method in enum software.amazon.awssdk.utils.JavaSystemSetting
-
- 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.AbstractEnum
-
- 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.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
- 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
-
- 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.
- INDEX_NOT_FOUND - Static variable in class software.amazon.awssdk.utils.ArrayUtils
-
- INDEX_NOT_FOUND - Static variable in class software.amazon.awssdk.utils.StringUtils
-
Represents a failed index search.
- indexOf(Object[], Object) - Static method in class software.amazon.awssdk.utils.ArrayUtils
-
Finds the index of the given object in the array.
- 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
- 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<?>, 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(Object[]) - Static method in class software.amazon.awssdk.utils.ArrayUtils
-
Checks if an array of Objects is empty or null
.
- isEmpty(CharSequence) - Static method in class software.amazon.awssdk.utils.StringUtils
-
Checks if a CharSequence is empty ("") or null.
- 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(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.
- isNotEmpty(T[]) - Static method in class software.amazon.awssdk.utils.ArrayUtils
-
Checks if an array of Objects is not empty and not null
.
- isNotNegative(int, 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).
- 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(Duration, String) - Static method in class software.amazon.awssdk.utils.Validate
-
Asserts that the given duration is positive (non-negative and non-zero).
- 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.
- 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.
- 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.
- NumericUtils - Class in software.amazon.awssdk.utils
-
- 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.
- 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.
- shutdown(ExecutorService) - Static method in class software.amazon.awssdk.utils.ExecutorUtils
-
Null-safely shut down the provided executor service.
- shutdownAndAwaitTermination(ExecutorService, Duration) - Static method in class software.amazon.awssdk.utils.ExecutorUtils
-
Null-safely shut down the provided executor service, waiting up to the provided max wait duration for it to complete.
- software.amazon.awssdk.utils - package software.amazon.awssdk.utils
-
- 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
-
- SPACE - Static variable in class software.amazon.awssdk.utils.StringUtils
-
A String for a space character.
- 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.
- StringUtils - Class in software.amazon.awssdk.utils
-
Operations on
String
that are
null
safe.
- 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.
- 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.
- 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.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.AbstractEnum
-
- toString() - Method in class software.amazon.awssdk.utils.AttributeMap
-
- toString(InputStream) - Static method in class software.amazon.awssdk.utils.IoUtils
-
Reads and returns the rest of the given input stream as a string.
- 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.CodecUtils
-
Returns a string representing the given byte array,
treating each byte as a single octet character.
- 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
.