Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X 

A

AbstractEnum - Class in software.amazon.awssdk.utils
 
AbstractEnum(String) - Constructor for class software.amazon.awssdk.utils.AbstractEnum
 
accept(I) - Method in interface software.amazon.awssdk.utils.FunctionalUtils.UnsafeConsumer
 
add(String, Object) - Method in class software.amazon.awssdk.utils.ToString
Add a field to the to-string result.
allMatchingHeaders(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.
appendUri(String, String) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
Append the given path to the given baseUri, separating them with a slash, if required.
apply(Consumer<B>) - Method in interface software.amazon.awssdk.utils.builder.SdkBuilder
A convenience operator that takes something that will mutate the builder in some way and allows inclusion of it in chaining operations.
apply(Consumer<? super L>, Consumer<? super R>) - Method in class software.amazon.awssdk.utils.Either
Apply the consumers to the left or the right value depending on which is present.
apply(T) - Method in interface software.amazon.awssdk.utils.FunctionalUtils.UnsafeFunction
 
apply(BiFunction<LeftT, RightT, ReturnT>) - Method in class software.amazon.awssdk.utils.Pair
Apply the function to both the left and right values and return the transformed result.
ArrayUtils - Class in software.amazon.awssdk.utils
Operations on arrays, primitive arrays (like int[]) and primitive wrapper arrays (like Integer[]).
AttributeMap - Class in software.amazon.awssdk.utils
A map from AttributeMap.Key<T> to T that ensures the values stored with a key matches the type associated with the key.
AttributeMap.Builder - Class in software.amazon.awssdk.utils
 
AttributeMap.Key<T> - Class in software.amazon.awssdk.utils
An abstract class extended by pseudo-enums defining the key for data that is stored in the AttributeMap.

B

Base16 - Class in software.amazon.awssdk.utils
A Base 16 codec API, which encodes into hex string in upper case.
Base16Lower - Class in software.amazon.awssdk.utils
A Base 16 codec API, which encodes into hex string in lower case.
Base64Utils - Class in software.amazon.awssdk.utils
A Base 64 codec API.
BinaryUtils - Class in software.amazon.awssdk.utils
Utilities for encoding and decoding binary data to and from different forms.
build() - Method in class software.amazon.awssdk.utils.AttributeMap.Builder
 
build() - Method in interface software.amazon.awssdk.utils.builder.SdkBuilder
An immutable object that is created from the properties that have been set on the builder.
build() - Method in class software.amazon.awssdk.utils.cache.CachedSupplier.Builder
Create a CachedSupplier using the current configuration of this builder.
build() - Method in class software.amazon.awssdk.utils.cache.RefreshResult.Builder
Build a RefreshResult using the values currently configured in this builder.
build() - Method in class software.amazon.awssdk.utils.ThreadFactoryBuilder
Create the ThreadFactory with the configuration currently applied to this builder.
build() - Method in class software.amazon.awssdk.utils.ToString
Convert this result to a string.
builder() - Static method in class software.amazon.awssdk.utils.AttributeMap
 
builder(Supplier<RefreshResult<T>>) - Static method in class software.amazon.awssdk.utils.cache.CachedSupplier
Retrieve a builder that can be used for creating a CachedSupplier.
builder(T) - Static method in class software.amazon.awssdk.utils.cache.RefreshResult
Get a builder for creating a RefreshResult.
builder(String) - Static method in class software.amazon.awssdk.utils.ToString
Create a to-string result builder for the given class name.

C

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
The way in which the cache should be pre-fetched when the data's RefreshResult.prefetchTime() arrives.
capitalize(String) - Static method in class software.amazon.awssdk.utils.StringUtils
Capitalizes a String changing the first character to title case as per Character.toTitleCase(int).
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 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
Codec internal utilities
CollectionUtils - Class in software.amazon.awssdk.utils
 
contains(Object[], Object) - Static method in class software.amazon.awssdk.utils.ArrayUtils
Checks if the object is in the given array.
containsKey(AttributeMap.Key<T>) - Method in class software.amazon.awssdk.utils.AttributeMap
Return true if the provided key is configured in this map.
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
A convenience method for calling ToCopyableBuilder.toBuilder(), updating the returned builder and then calling SdkBuilder.build().
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.
CopyableBuilder<B extends CopyableBuilder<B,T>,T extends ToCopyableBuilder<B,T>> - Interface in software.amazon.awssdk.utils.builder
A special type of SdkBuilder that can be used when the built type implements ToCopyableBuilder.
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.
create(String) - Static method in class software.amazon.awssdk.utils.ToString
Create a to-string result for the given class name.

D

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
Disables certain dangerous features that attempt to automatically fetch DTDs See OWASP XXE Cheat Sheet
drainInputStream(InputStream) - Static method in class software.amazon.awssdk.utils.IoUtils
Read all remaining data in the stream.

E

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
Encode each of the keys and values in the provided form data using formDataEncode(String).
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
Utilities that make it easier to create, use and destroy ExecutorServices.

F

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.
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.
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.
formDataEncode(String) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
Encode a string according to RFC 1630: encoding for form data.
fromBase64(String) - Static method in class software.amazon.awssdk.utils.BinaryUtils
Converts a Base64-encoded string to the original byte data.
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&rt; 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.

G

get(AttributeMap.Key<T>) - Method in class software.amazon.awssdk.utils.AttributeMap.Builder
 
get(AttributeMap.Key<T>) - Method in class software.amazon.awssdk.utils.AttributeMap
Get the value associated with the provided key from this map.
get() - Method in class software.amazon.awssdk.utils.cache.CachedSupplier
 
get() - Method in interface software.amazon.awssdk.utils.FunctionalUtils.UnsafeSupplier
 
getBooleanValue() - Method in interface software.amazon.awssdk.utils.SystemSetting
Attempt to load a system setting from System.getProperty(String) and System.getenv(String).
getBooleanValueOrThrow() - Method in interface software.amazon.awssdk.utils.SystemSetting
Load the requested system setting as per the documentation in SystemSetting.getBooleanValue(), throwing an exception if the value was not set and had no default.
getLength(Object) - Static method in class software.amazon.awssdk.utils.ArrayUtils
Returns the length of the specified array.
getStringValue() - Method in interface software.amazon.awssdk.utils.SystemSetting
Attempt to load a system setting from System.getProperty(String) and System.getenv(String).
getStringValueOrThrow() - Method in interface software.amazon.awssdk.utils.SystemSetting
Load the requested system setting as per the documentation in SystemSetting.getStringValue(), throwing an exception if the value was not set and had no default.

H

hashCode() - Method in class software.amazon.awssdk.utils.AbstractEnum
 
hashCode() - Method in class software.amazon.awssdk.utils.AttributeMap
 
hashCode() - Method in class software.amazon.awssdk.utils.Either
 
hashCode() - Method in class software.amazon.awssdk.utils.Pair
 

I

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.

J

JavaSystemSetting - Enum in software.amazon.awssdk.utils
The system properties usually provided by the Java runtime.
join(Collection<String>, String) - Static method in class software.amazon.awssdk.utils.CollectionUtils
Joins a collection of strings with the given separator into a single string.

K

Key(Class<T>) - Constructor for class software.amazon.awssdk.utils.AttributeMap.Key
Configure the class of T.

L

lastIndexOf(Object[], Object) - Static method in class software.amazon.awssdk.utils.ArrayUtils
Finds the last index of the given object within the array.
left(L) - Static method in class software.amazon.awssdk.utils.Either
Create a new Either with the left type.
left() - Method in class software.amazon.awssdk.utils.Pair
 
Logger - Class in software.amazon.awssdk.utils
 
loggerFor(Class<?>) - Static method in class software.amazon.awssdk.utils.Logger
Static factory to get a logger instance for a given class
loggerFor(String) - Static method in class software.amazon.awssdk.utils.Logger
Static factory to get a logger instance with a specific name.
lowerCase(String) - Static method in class software.amazon.awssdk.utils.StringUtils
Converts a String to lower case as per String.toLowerCase().

M

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.
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
 
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.

N

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
A CachedSupplier.PrefetchStrategy that will run a single thread in the background to update the value.
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
 

O

of(LeftT, RightT) - Static method in class software.amazon.awssdk.utils.Pair
 
OneCallerBlocks - Class in software.amazon.awssdk.utils.cache
A CachedSupplier.PrefetchStrategy that will have one caller at a time block to update the value.
OneCallerBlocks() - Constructor for class software.amazon.awssdk.utils.cache.OneCallerBlocks
 
OptionalUtils - Class in software.amazon.awssdk.utils
Functions that make working with optionals easier.

P

Pair<LeftT,RightT> - Class in software.amazon.awssdk.utils
Simple struct of two values, possibly of different types.
paramNotBlank(T, String) - Static method in class software.amazon.awssdk.utils.Validate
Validate that the specified char sequence is neither null, a length of zero (no characters), empty nor whitespace; otherwise throwing an exception with the specified message.
paramNotNull(T, String) - Static method in class software.amazon.awssdk.utils.Validate
Validate that the specified field/param is not null; otherwise throwing an exception with a precanned message that includes the parameter name.
paramValidState(T, Predicate<T>, String) - Static method in class software.amazon.awssdk.utils.Validate
Validate the stateful predicate is true for the given object and return the object; otherwise throw an exception with a precanned message that includes the parameter name.
prefetch(Runnable) - Method in interface software.amazon.awssdk.utils.cache.CachedSupplier.PrefetchStrategy
Execute the provided value updater to update the cache.
prefetch(Runnable) - Method in class software.amazon.awssdk.utils.cache.NonBlocking
 
prefetch(Runnable) - Method in class software.amazon.awssdk.utils.cache.OneCallerBlocks
 
prefetchStrategy(CachedSupplier.PrefetchStrategy) - Method in class software.amazon.awssdk.utils.cache.CachedSupplier.Builder
Configure the way in which data in the cache should be pre-fetched when the data's RefreshResult.prefetchTime() arrives.
prefetchTime(Instant) - Method in class software.amazon.awssdk.utils.cache.RefreshResult.Builder
Specify the time at which a thread that calls CachedSupplier.get() should trigger a cache prefetch.
prefetchTime() - Method in class software.amazon.awssdk.utils.cache.RefreshResult
When the configured value is getting close to stale and should be updated using the supplier's CachedSupplier.prefetchStrategy.
property() - Method in enum software.amazon.awssdk.utils.JavaSystemSetting
 
property() - Method in interface software.amazon.awssdk.utils.SystemSetting
The system property of the setting (or null if there is no property for this setting).
put(AttributeMap.Key<T>, T) - Method in class software.amazon.awssdk.utils.AttributeMap.Builder
Add a mapping between the provided key and value.
putAll(Map<? extends AttributeMap.Key<?>, ?>) - Method in class software.amazon.awssdk.utils.AttributeMap.Builder
Adds all the attributes from the map provided.

R

RefreshResult<T> - Class in software.amazon.awssdk.utils.cache
A wrapper for the value returned by the Supplier underlying a CachedSupplier.
RefreshResult.Builder<T> - Class in software.amazon.awssdk.utils.cache
A builder for a RefreshResult.
right(R) - Static method in class software.amazon.awssdk.utils.Either
Create a new Either with the right type.
right() - Method in class software.amazon.awssdk.utils.Pair
 
run() - Method in interface software.amazon.awssdk.utils.FunctionalUtils.UnsafeRunnable
 

S

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.

T

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
A class to standardize implementations of Object.toString() across the SDK.
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.

U

uncapitalize(String) - Static method in class software.amazon.awssdk.utils.StringUtils
Uncapitalizes a String, changing the first character to lower case as per Character.toLowerCase(int).
upperCase(String) - Static method in class software.amazon.awssdk.utils.StringUtils
Converts a String to upper case as per String.toUpperCase().
urlEncode(String) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
Encode a string according to RFC 3986: encoding for URI paths, query strings, etc.
urlEncodeIgnoreSlashes(String) - Static method in class software.amazon.awssdk.utils.http.SdkHttpUtils
Encode a string according to RFC 3986, but ignore "/" characters.

V

Validate - Class in software.amazon.awssdk.utils
This class assists in validating arguments.
validState(T, Predicate<T>, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
Validate the stateful predicate is true for the given object and return the object; otherwise throw an exception with the specified message.
validState(boolean, String, Object...) - Static method in class software.amazon.awssdk.utils.Validate
Validate that the stateful condition is true; otherwise throwing an exception with the specified message.
value(String, Class<T>, Function<String, T>) - Static method in class software.amazon.awssdk.utils.AbstractEnum
 
value() - Method in class software.amazon.awssdk.utils.AbstractEnum
 
value() - Method in class software.amazon.awssdk.utils.cache.RefreshResult
The value resulting from the refresh.
valueOf(String) - Static method in enum software.amazon.awssdk.utils.JavaSystemSetting
Returns the enum constant of this type with the specified name.
values() - Static method in enum software.amazon.awssdk.utils.JavaSystemSetting
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(Supplier<String>) - Method in class software.amazon.awssdk.utils.Logger
Checks if warn is enabled and if so logs the supplied message
warn(Supplier<String>, Throwable) - Method in class software.amazon.awssdk.utils.Logger
Checks if warn is enabled and if so logs the supplied message and exception

X

xmlInputFactory() - Static method in class software.amazon.awssdk.utils.XmlUtils
 
XmlUtils - Class in software.amazon.awssdk.utils
 
A B C D E F G H I J K L M N O P R S T U V W X 
Skip navigation links

Copyright © 2018. All rights reserved.