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

A

AcceptorPathMatcher - Class in software.amazon.awssdk.core.waiters
 
Action - Class in software.amazon.awssdk.core.auth.policy
An access control policy action identifies a specific action in a service that can be performed on a resource.
Action(String) - Constructor for class software.amazon.awssdk.core.auth.policy.Action
 
ACTION - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
 
after() - Method in class software.amazon.awssdk.testutils.EnvironmentVariableHelper
 
ALL - Static variable in class software.amazon.awssdk.core.auth.policy.Principal
Principal instance that includes all the AWS accounts, AWS web services and web identity providers.
ALL_SERVICES - Static variable in class software.amazon.awssdk.core.auth.policy.Principal
Principal instance that includes all AWS web services.
ALL_USERS - Static variable in class software.amazon.awssdk.core.auth.policy.Principal
Principal instance that includes all users, including anonymous users.
ALL_WEB_PROVIDERS - Static variable in class software.amazon.awssdk.core.auth.policy.Principal
Principal instance that includes all the web identity providers.
append(LoggingEvent) - Method in class software.amazon.awssdk.testutils.LogCaptor.DefaultLogCaptor
 
apply(InputT) - Method in interface software.amazon.awssdk.core.waiters.SdkFunction
Abstract method that makes a call to the operation specified by the waiter by taking the corresponding input and returns the corresponding output
apply(Statement, Description) - Method in class software.amazon.awssdk.testutils.retry.RetryRule
 
ArnCondition - Class in software.amazon.awssdk.core.auth.policy.conditions
AWS access control policy condition that allows an access control statement to be conditionally applied based on the comparison of an Amazon Resource Name (ARN).
ArnCondition(ArnCondition.ArnComparisonType, String, String) - Constructor for class software.amazon.awssdk.core.auth.policy.conditions.ArnCondition
Constructs a new access control policy condition that compares ARNs (Amazon Resource Names).
ArnCondition.ArnComparisonType - Enum in software.amazon.awssdk.core.auth.policy.conditions
Enumeration of the supported ways an ARN comparison can be evaluated.
AssertCallable - Class in software.amazon.awssdk.testutils.retry
Base class for assertion logic, used by RetryableAssertion.
AssertCallable() - Constructor for class software.amazon.awssdk.testutils.retry.AssertCallable
 
assertFileEqualsFile(File, File) - Static method in class software.amazon.awssdk.testutils.SdkAsserts
Asserts that the contents of the two files are same.
assertFileEqualsStream(File, InputStream) - Static method in class software.amazon.awssdk.testutils.SdkAsserts
Asserts that the contents in the specified file are exactly equal to the contents read from the specified input stream.
assertFileEqualsStream(String, File, InputStream) - Static method in class software.amazon.awssdk.testutils.SdkAsserts
Asserts that the contents in the specified file are exactly equal to the contents read from the specified input stream.
assertNotEmpty(String) - Static method in class software.amazon.awssdk.testutils.SdkAsserts
Deprecated.
Use Hamcrest Matchers instead
assertStreamEqualsStream(InputStream, InputStream) - Static method in class software.amazon.awssdk.testutils.SdkAsserts
Asserts that the contents in the specified input streams are same.
assertStreamEqualsStream(String, InputStream, InputStream) - Static method in class software.amazon.awssdk.testutils.SdkAsserts
Asserts that the contents in the specified input streams are same.
assertStringEqualsStream(String, InputStream) - Static method in class software.amazon.awssdk.testutils.SdkAsserts
Asserts that the contents in the specified string are exactly equal to the contents read from the specified input stream.

B

build() - Method in class software.amazon.awssdk.core.waiters.WaiterBuilder
 
build() - Method in class software.amazon.awssdk.core.waiters.WaiterExecutionBuilder
 

C

calculateMD5Digest(InputStream) - Static method in class software.amazon.awssdk.testutils.InputStreamUtils
Calculates the MD5 digest for the given input stream and returns it.
call() - Method in class software.amazon.awssdk.testutils.retry.AssertCallable
 
clear() - Method in interface software.amazon.awssdk.testutils.LogCaptor
 
clear() - Method in class software.amazon.awssdk.testutils.LogCaptor.DefaultLogCaptor
 
close() - Method in class software.amazon.awssdk.testutils.LogCaptor.DefaultLogCaptor
 
CollectionContainsOnly<T> - Class in software.amazon.awssdk.testutils.hamcrest
 
CollectionContainsOnlyInOrder<T> - Class in software.amazon.awssdk.testutils.hamcrest
 
Condition - Class in software.amazon.awssdk.core.auth.policy
AWS access control policy conditions are contained in Statement objects, and affect when a statement is applied.
Condition() - Constructor for class software.amazon.awssdk.core.auth.policy.Condition
 
CONDITION - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
 
ConditionFactory - Class in software.amazon.awssdk.core.auth.policy.conditions
Factory for creating common AWS access control policy conditions.
conditionKey - Variable in class software.amazon.awssdk.core.auth.policy.Condition
 
containsOnly(Matcher<? extends T>...) - Static method in class software.amazon.awssdk.testutils.hamcrest.Matchers
Creates a matcher that matches if the examined collection matches the specified items in any order
containsOnly(T...) - Static method in class software.amazon.awssdk.testutils.hamcrest.Matchers
Creates a matcher that matches if the examined collection matches the specified items in any order
containsOnlyInOrder(Matcher<? extends T>...) - Static method in class software.amazon.awssdk.testutils.hamcrest.Matchers
Creates a matcher that matches if the examined collection matches the specified matchers in order
containsOnlyInOrder(T...) - Static method in class software.amazon.awssdk.testutils.hamcrest.Matchers
Creates a matcher that matches if the examined collection matches the specified items in order
createDefaultInstance(String) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
 
createFile(long) - Method in class software.amazon.awssdk.testutils.RandomTempFile
 
createPolicyFromJsonString(String) - Method in class software.amazon.awssdk.core.auth.policy.internal.JsonPolicyReader
Converts the specified JSON string to an AWS policy object.
CURRENT_TIME_CONDITION_KEY - Static variable in class software.amazon.awssdk.core.auth.policy.conditions.ConditionFactory
Condition key for the current time.

D

DateCondition - Class in software.amazon.awssdk.core.auth.policy.conditions
AWS access control policy condition that allows an access control statement to be conditionally applied based on the comparison of the current time at which a request is received, and a specific date.
DateCondition(DateCondition.DateComparisonType, Date) - Constructor for class software.amazon.awssdk.core.auth.policy.conditions.DateCondition
Constructs a new access policy condition that compares the current time (on the AWS servers) to the specified date.
DateCondition.DateComparisonType - Enum in software.amazon.awssdk.core.auth.policy.conditions
Enumeration of the supported ways a date comparison can be evaluated.
DateUtils - Class in software.amazon.awssdk.testutils
 
DefaultLogCaptor(Level) - Constructor for class software.amazon.awssdk.testutils.LogCaptor.DefaultLogCaptor
 
delayBeforeNextRetry(PollingStrategyContext) - Method in class software.amazon.awssdk.core.waiters.FixedDelayStrategy
Defines a default way of delaying the polling bound by the default delay associated with the corresponding waiter definition
delayBeforeNextRetry(PollingStrategyContext) - Method in interface software.amazon.awssdk.core.waiters.PollingStrategy.DelayStrategy
Defines the custom delay strategy to control the sleep time
delete() - Method in class software.amazon.awssdk.testutils.RandomTempFile
 
describeTo(Description) - Method in class software.amazon.awssdk.testutils.hamcrest.CollectionContainsOnly
 
describeTo(Description) - Method in class software.amazon.awssdk.testutils.hamcrest.CollectionContainsOnlyInOrder
 
doAssert() - Method in class software.amazon.awssdk.testutils.retry.AssertCallable
 
doesFileEqualStream(File, InputStream) - Static method in class software.amazon.awssdk.testutils.SdkAsserts
Returns true if, and only if, the contents in the specified file are exactly equal to the contents read from the specified input stream.
doesStreamEqualStream(InputStream, InputStream) - Static method in class software.amazon.awssdk.testutils.SdkAsserts
Returns true if, and only if, the contents read from the specified input streams are exactly equal.
doRetryableAction(Callable<T>, RetryableParams) - Static method in class software.amazon.awssdk.testutils.retry.RetryableAction
Static method to repeatedly call action until it succeeds or the max allowed attempts is reached.
doRetryableAssert(AssertCallable, RetryableParams) - Static method in class software.amazon.awssdk.testutils.retry.RetryableAssertion
Static method to repeatedly call assertion logic until it succeeds or the max allowed attempts is reached.
drainInputStream(InputStream) - Static method in class software.amazon.awssdk.testutils.InputStreamUtils
Reads to the end of the inputStream returning a byte array of the contents

E

EFFECT_VALUE_ALLOW - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
 
EnvironmentVariableHelper - Class in software.amazon.awssdk.testutils
A utility that can temporarily forcibly set environment variables and then allows resetting them to the original values.
EnvironmentVariableHelper() - Constructor for class software.amazon.awssdk.testutils.EnvironmentVariableHelper
 
equals(Object) - Method in class software.amazon.awssdk.core.auth.policy.Principal
 
equals(Object) - Method in class software.amazon.awssdk.testutils.RandomTempFile
 
equals(A, B) - Method in interface software.amazon.awssdk.testutils.UnorderedCollectionComparator.CrossTypeComparator
 
equalUnorderedCollections(Collection<T>, Collection<T>) - Static method in class software.amazon.awssdk.testutils.UnorderedCollectionComparator
Compares two unordered lists of the same type.
equalUnorderedCollections(Collection<A>, Collection<B>, UnorderedCollectionComparator.CrossTypeComparator<A, B>) - Static method in class software.amazon.awssdk.testutils.UnorderedCollectionComparator
Compares two unordered lists of different types, using the specified cross-type comparator.

F

failOn(Predicate<T>) - Method in class software.amazon.awssdk.testutils.Waiter
Define the condition on the response under which the thing we are trying has already failed and further attempts are pointless.
findAccessor(Object, String) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
Returns the accessor method for the specified member property.
findMethod(Object, String, Class<?>) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
Finds a method of the given name that will accept a parameter of the given type.
FixedDelayStrategy - Class in software.amazon.awssdk.core.waiters
 
FixedDelayStrategy(int) - Constructor for class software.amazon.awssdk.core.waiters.FixedDelayStrategy
Constructs a new FixedDelayStrategy with the given default delay time
fromJson(String) - Static method in class software.amazon.awssdk.core.auth.policy.Policy
Returns an AWS access control policy object generated from JSON string.
fromJsonString(String, Class<T>) - Static method in class software.amazon.awssdk.core.auth.policy.internal.JacksonUtils
Returns the deserialized object from the given json string and target class; or null if the given json string is null.
fromString(String) - Static method in enum software.amazon.awssdk.core.auth.policy.Principal.Service
Construct the Services object from a string representing the service id.
fromString(String) - Static method in enum software.amazon.awssdk.core.auth.policy.Principal.WebIdentityProvider
Construct the Services object from a string representing web identity provider.

G

getAcceptor() - Method in class software.amazon.awssdk.core.waiters.WaiterBuilder
 
getAcceptorsList() - Method in class software.amazon.awssdk.core.waiters.WaiterExecutionBuilder
 
getActionName() - Method in class software.amazon.awssdk.core.auth.policy.Action
Returns the name of this action.
getActions() - Method in class software.amazon.awssdk.core.auth.policy.Statement
Returns the list of actions to which this policy statement applies.
getAllByPath(Object, List<String>) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
Evaluates the given path expression and returns the list of all matching objects.
getByPath(Object, List<String>) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
Evaluates the given path expression on the given object and returns the object found.
getBytesRead() - Method in class software.amazon.awssdk.testutils.RandomInputStream
 
getCause() - Method in exception software.amazon.awssdk.testutils.retry.NonRetryableException
 
getCause() - Method in error software.amazon.awssdk.testutils.retry.RetryableError
 
getConditionKey() - Method in class software.amazon.awssdk.core.auth.policy.Condition
Returns the name of the condition key involved in this condition.
getConditions() - Method in class software.amazon.awssdk.core.auth.policy.Statement
Returns the conditions associated with this policy statement.
getDelayInMs() - Method in class software.amazon.awssdk.testutils.retry.RetryableParams
 
getEffect() - Method in class software.amazon.awssdk.core.auth.policy.Statement
Returns the result effect of this policy statement when it is evaluated.
getExecutorService() - Method in class software.amazon.awssdk.core.waiters.WaiterBuilder
 
getField(T, Field) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
 
getId() - Method in class software.amazon.awssdk.core.auth.policy.Policy
Returns the policy ID for this policy.
getId() - Method in class software.amazon.awssdk.core.auth.policy.Principal
Returns the unique ID for this principal.
getId() - Method in class software.amazon.awssdk.core.auth.policy.Resource
Returns the resource ID, typically an Amazon Resource Name (ARN), identifying this resource.
getId() - Method in class software.amazon.awssdk.core.auth.policy.Statement
Returns the ID for this statement.
getMaxAttempts() - Method in class software.amazon.awssdk.testutils.retry.RetryableParams
 
getOriginalRequest() - Method in class software.amazon.awssdk.core.waiters.PollingStrategyContext
 
getParameterTypes(Object, List<String>) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
 
getPollingStrategy() - Method in class software.amazon.awssdk.core.waiters.WaiterExecutionBuilder
 
getPollingStrategy() - Method in class software.amazon.awssdk.core.waiters.WaiterParameters
 
getPrincipals() - Method in class software.amazon.awssdk.core.auth.policy.Statement
Returns the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement.
getProvider() - Method in class software.amazon.awssdk.core.auth.policy.Principal
Returns the provider for this principal, which indicates in what group of users this principal resides.
getRequest() - Method in class software.amazon.awssdk.core.waiters.WaiterExecutionBuilder
 
getRequest() - Method in class software.amazon.awssdk.core.waiters.WaiterParameters
 
getResources() - Method in class software.amazon.awssdk.core.auth.policy.Statement
Returns the resources associated with this policy statement.
getRetriesAttempted() - Method in class software.amazon.awssdk.core.waiters.PollingStrategyContext
 
getSdkFunction() - Method in class software.amazon.awssdk.core.waiters.WaiterBuilder
 
getSdkFunction() - Method in class software.amazon.awssdk.core.waiters.WaiterExecutionBuilder
 
getServiceId() - Method in enum software.amazon.awssdk.core.auth.policy.Principal.Service
 
getState() - Method in class software.amazon.awssdk.core.waiters.WaiterAcceptor
Abstract method to fetch the corresponding state
getStatements() - Method in class software.amazon.awssdk.core.auth.policy.Policy
Returns the collection of statements contained by this policy.
getType() - Method in class software.amazon.awssdk.core.auth.policy.Condition
Returns the type of this condition.
getValues() - Method in class software.amazon.awssdk.core.auth.policy.Condition
Returns the values specified for this access control policy condition.
getVersion() - Method in class software.amazon.awssdk.core.auth.policy.Policy
Returns the version of this AWS policy.
getWebIdentityProvider() - Method in enum software.amazon.awssdk.core.auth.policy.Principal.WebIdentityProvider
 

H

hashCode() - Method in class software.amazon.awssdk.core.auth.policy.Principal
 
heapSummary() - Static method in class software.amazon.awssdk.testutils.Memory
Returns a summary information about the heap memory.

I

ignoringException(Class<? extends Throwable>...) - Method in class software.amazon.awssdk.testutils.Waiter
Define the exception types that should be ignored if the thing we are trying throws them.
InputStreamUtils - Class in software.amazon.awssdk.testutils
 
IpAddressCondition - Class in software.amazon.awssdk.core.auth.policy.conditions
AWS access control policy condition that allows an access control statement to be conditionally applied based on the comparison of the the incoming source IP address at the time of a request against a CIDR IP range.
IpAddressCondition(String) - Constructor for class software.amazon.awssdk.core.auth.policy.conditions.IpAddressCondition
Constructs a new access policy condition that compares the source IP address of the incoming request to an AWS service against the specified CIDR range.
IpAddressCondition(IpAddressCondition.IpAddressComparisonType, String) - Constructor for class software.amazon.awssdk.core.auth.policy.conditions.IpAddressCondition
Constructs a new access policy condition that compares the source IP address of the incoming request to an AWS service against the specified CIDR range.
IpAddressCondition.IpAddressComparisonType - Enum in software.amazon.awssdk.core.auth.policy.conditions
Enumeration of the supported ways an IP address comparison can be evaluated.

J

JacksonUtils - Class in software.amazon.awssdk.core.auth.policy.internal
 
JsonDocumentField - Class in software.amazon.awssdk.core.auth.policy.internal
 
jsonGeneratorOf(Writer) - Static method in class software.amazon.awssdk.core.auth.policy.internal.JacksonUtils
 
jsonNodeOf(String) - Static method in class software.amazon.awssdk.core.auth.policy.internal.JacksonUtils
 
JsonPolicyReader - Class in software.amazon.awssdk.core.auth.policy.internal
Generate an AWS policy object by parsing the given JSON string.
JsonPolicyReader() - Constructor for class software.amazon.awssdk.core.auth.policy.internal.JsonPolicyReader
 
JsonPolicyWriter - Class in software.amazon.awssdk.core.auth.policy.internal
Serializes an AWS policy object to a JSON string, suitable for sending to an AWS service.
JsonPolicyWriter() - Constructor for class software.amazon.awssdk.core.auth.policy.internal.JsonPolicyWriter
Constructs a new instance of JSONPolicyWriter.

L

lengthInBytes - Variable in class software.amazon.awssdk.testutils.RandomInputStream
The requested amount of data contained in this random stream.
loadClass(Class<?>, String) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
 
loadClass(ClassLoader, String) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
 
LogCaptor - Interface in software.amazon.awssdk.testutils
A test utility that allows inspection of log statements during testing.
LogCaptor.DefaultLogCaptor - Class in software.amazon.awssdk.testutils
 
LogCaptor.LogCaptorTestBase - Class in software.amazon.awssdk.testutils
 
LogCaptorTestBase() - Constructor for class software.amazon.awssdk.testutils.LogCaptor.LogCaptorTestBase
 
loggedEvents() - Method in class software.amazon.awssdk.testutils.LogCaptor.DefaultLogCaptor
 
loggedEvents() - Method in interface software.amazon.awssdk.testutils.LogCaptor
 

M

Matchers - Class in software.amazon.awssdk.testutils.hamcrest
 
matches(OutputT) - Method in class software.amazon.awssdk.core.waiters.WaiterAcceptor
Default method definition that matches the response state with the expected state defined by the acceptor.
matches(ErrorT) - Method in class software.amazon.awssdk.core.waiters.WaiterAcceptor
Default method definition that matches the exception with the expected state defined by the acceptor.
matchesSafely(Collection<T>) - Method in class software.amazon.awssdk.testutils.hamcrest.CollectionContainsOnly
 
matchesSafely(Collection<T>) - Method in class software.amazon.awssdk.testutils.hamcrest.CollectionContainsOnlyInOrder
 
MaxAttemptsRetryStrategy - Class in software.amazon.awssdk.core.waiters
 
MaxAttemptsRetryStrategy(int) - Constructor for class software.amazon.awssdk.core.waiters.MaxAttemptsRetryStrategy
Constructs a new MaxAttemptsRetryStrategy with the given default number of attempts
Memory - Class in software.amazon.awssdk.testutils
Used to retrieve information about the JVM memory.

N

newInstance(Class<T>, Object...) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
 
newInstanceWithAllFieldsSet(Class<T>) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
 
newInstanceWithAllFieldsSet(Class<T>, ReflectionUtils.RandomSupplier<?>...) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
 
newInstanceWithAllFieldsSet(Class<T>, List<ReflectionUtils.RandomSupplier<?>>) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
 
newSourceArnCondition(String) - Static method in class software.amazon.awssdk.core.auth.policy.conditions.ConditionFactory
Constructs a new access policy condition that compares the Amazon Resource Name (ARN) of the source of an AWS resource that is modifying another AWS resource with the specified pattern.
NonRetryableException - Exception in software.amazon.awssdk.testutils.retry
Normally all exceptions are retried by RetryableAction.
NonRetryableException(Exception) - Constructor for exception software.amazon.awssdk.testutils.retry.NonRetryableException
 

O

onWaitFailure(Exception) - Method in class software.amazon.awssdk.core.waiters.WaiterHandler
 
onWaitSuccess(InputT) - Method in class software.amazon.awssdk.core.waiters.WaiterHandler
 
orFail() - Method in class software.amazon.awssdk.testutils.Waiter
Execute the function, throwing an assertion error if the thing we're trying does not succeed after 30 seconds.
orFailAfter(Duration) - Method in class software.amazon.awssdk.testutils.Waiter
Execute the function, throwing an assertion error if the thing we're trying does not succeed after the provided duration.
orReturnFalse() - Method in class software.amazon.awssdk.testutils.Waiter
Execute the function, returning true if the thing we're trying does not succeed after 30 seconds.

P

path(JsonNode, JsonNode) - Static method in class software.amazon.awssdk.core.waiters.AcceptorPathMatcher
Path matcher that checks if the final result matches the expected result.
pathAll(JsonNode, JsonNode) - Static method in class software.amazon.awssdk.core.waiters.AcceptorPathMatcher
PathAll matcher that checks if each element of the final result matches the expected result.
pathAny(JsonNode, JsonNode) - Static method in class software.amazon.awssdk.core.waiters.AcceptorPathMatcher
PathAny matcher that checks if any element of the final result matches the expected result.
Policy - Class in software.amazon.awssdk.core.auth.policy
An AWS access control policy is a object that acts as a container for one or more statements, which specify fine grained rules for allowing or denying various types of actions from being performed on your AWS resources.
Policy() - Constructor for class software.amazon.awssdk.core.auth.policy.Policy
Constructs an empty AWS access control policy ready to be populated with statements.
Policy(String) - Constructor for class software.amazon.awssdk.core.auth.policy.Policy
Constructs a new AWS access control policy with the specified policy ID.
Policy(String, Collection<Statement>) - Constructor for class software.amazon.awssdk.core.auth.policy.Policy
Constructs a new AWS access control policy with the specified policy ID and collection of statements.
POLICY_ID - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
 
PollingStrategy - Class in software.amazon.awssdk.core.waiters
 
PollingStrategy(PollingStrategy.RetryStrategy, PollingStrategy.DelayStrategy) - Constructor for class software.amazon.awssdk.core.waiters.PollingStrategy
Constructs a new PollingStrategy with RetryStrategy and DelayStrategy defined
PollingStrategy.DelayStrategy - Interface in software.amazon.awssdk.core.waiters
The hook for providing custom delay strategy to control the sleep time between retries.
PollingStrategy.RetryStrategy - Interface in software.amazon.awssdk.core.waiters
The hook for providing custom condition on whether polling of a resource should be retried.
PollingStrategyContext - Class in software.amazon.awssdk.core.waiters
 
pollResource() - Method in class software.amazon.awssdk.core.waiters.WaiterExecution
Polls until a specified resource transitions into either success or failure state or until the specified number of retries has been made.
poolSummaries() - Static method in class software.amazon.awssdk.testutils.Memory
Returns a summary information about the memory pools.
PRINCIPAL - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
 
Principal - Class in software.amazon.awssdk.core.auth.policy
A principal is an AWS account or AWS web service, which is being allowed or denied access to a resource through an access control policy.
Principal(Principal.Service) - Constructor for class software.amazon.awssdk.core.auth.policy.Principal
Constructs a new principal with the specified AWS web service which is being allowed or denied access to a resource through an access control policy.
Principal(String) - Constructor for class software.amazon.awssdk.core.auth.policy.Principal
Constructs a new principal with the specified AWS account ID.
Principal(String, String) - Constructor for class software.amazon.awssdk.core.auth.policy.Principal
Constructs a new principal with the specified id and provider.
Principal(String, String, boolean) - Constructor for class software.amazon.awssdk.core.auth.policy.Principal
Constructs a new principal with the specified id and provider.
Principal(Principal.WebIdentityProvider) - Constructor for class software.amazon.awssdk.core.auth.policy.Principal
Constructs a new principal with the specified web identity provider.
Principal.Service - Enum in software.amazon.awssdk.core.auth.policy
The services who have the right to do the assume the role action.
Principal.WebIdentityProvider - Enum in software.amazon.awssdk.core.auth.policy
Web identity providers, such as Login with Amazon, Facebook, or Google.

R

RandomInputStream - Class in software.amazon.awssdk.testutils
Test utility InputStream implementation that generates random ASCII data when read, up to the size specified when constructed.
RandomInputStream(long) - Constructor for class software.amazon.awssdk.testutils.RandomInputStream
Constructs a new InputStream, which will return the specified amount of bytes of random ASCII characters.
RandomInputStream(long, boolean) - Constructor for class software.amazon.awssdk.testutils.RandomInputStream
Creates a new random input stream of specified length, and specifies whether the stream should be full on binary or character data.
RandomTempFile - Class in software.amazon.awssdk.testutils
Extension of File that creates a temporary file with a specified name in Java's temporary directory, as declared in the JRE's system properties.
RandomTempFile(long) - Constructor for class software.amazon.awssdk.testutils.RandomTempFile
Creates, and fills, a temp file with a randomly generated name and specified size of random ASCII data.
RandomTempFile(String, int) - Constructor for class software.amazon.awssdk.testutils.RandomTempFile
Creates, and fills, a temp file with the specified name and specified size of random ASCII data.
RandomTempFile(String, long) - Constructor for class software.amazon.awssdk.testutils.RandomTempFile
Creates, and fills, a temp file with the specified name and specified size of random ASCII data.
RandomTempFile(String, long, boolean) - Constructor for class software.amazon.awssdk.testutils.RandomTempFile
Creates, and fills, a temp file with the specified name and specified size of random binary or character data.
RandomTempFile(File, String, long) - Constructor for class software.amazon.awssdk.testutils.RandomTempFile
 
randomUncreatedFile() - Static method in class software.amazon.awssdk.testutils.RandomTempFile
 
read(byte[], int, int) - Method in class software.amazon.awssdk.testutils.RandomInputStream
 
read() - Method in class software.amazon.awssdk.testutils.RandomInputStream
 
read() - Method in class software.amazon.awssdk.testutils.UnreliableRandomInputStream
 
read(byte[], int, int) - Method in class software.amazon.awssdk.testutils.UnreliableRandomInputStream
 
ReflectionUtils - Class in software.amazon.awssdk.testutils.smoketest
Utility methods for doing reflection.
remainingBytes - Variable in class software.amazon.awssdk.testutils.RandomInputStream
The number of bytes of data remaining in this random stream.
remove(SystemSetting) - Method in class software.amazon.awssdk.testutils.EnvironmentVariableHelper
 
remove(String) - Method in class software.amazon.awssdk.testutils.EnvironmentVariableHelper
 
requiresLayout() - Method in class software.amazon.awssdk.testutils.LogCaptor.DefaultLogCaptor
 
reset() - Method in class software.amazon.awssdk.testutils.EnvironmentVariableHelper
 
RESOURCE - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
 
Resource - Class in software.amazon.awssdk.core.auth.policy
Represents a resource involved in an AWS access control policy statement.
Resource(String) - Constructor for class software.amazon.awssdk.core.auth.policy.Resource
Constructs a new AWS access control policy resource.
RetryableAction<T> - Class in software.amazon.awssdk.testutils.retry
Utility to repeatedly invoke an action that returns a result until it succeeds or the max allowed attempts is reached.
RetryableAssertion - Class in software.amazon.awssdk.testutils.retry
Utility to repeatedly invoke assertion logic until it succeeds or the max allowed attempts is reached.
RetryableError - Error in software.amazon.awssdk.testutils.retry
Normally Error's are not retried by RetryableAction.
RetryableError(Error) - Constructor for error software.amazon.awssdk.testutils.retry.RetryableError
 
RetryableParams - Class in software.amazon.awssdk.testutils.retry
Parameters for RetryableAssertion.
RetryableParams() - Constructor for class software.amazon.awssdk.testutils.retry.RetryableParams
 
RetryRule - Class in software.amazon.awssdk.testutils.retry
 
RetryRule(int) - Constructor for class software.amazon.awssdk.testutils.retry.RetryRule
 
RetryRule(int, long, TimeUnit) - Constructor for class software.amazon.awssdk.testutils.retry.RetryRule
 
run(WaiterParameters<InputT>) - Method in interface software.amazon.awssdk.core.waiters.Waiter
Polls synchronously until it is determined that the resource transitioned into the desired state or not.
run(WaiterParameters<InputT>) - Method in class software.amazon.awssdk.core.waiters.WaiterImpl
Polls synchronously until it is determined that the resource transitioned into the desired state or not.
run(Consumer<EnvironmentVariableHelper>) - Static method in class software.amazon.awssdk.testutils.EnvironmentVariableHelper
Static run method that allows for "single-use" environment variable modification.
run(Supplier<T>) - Static method in class software.amazon.awssdk.testutils.Waiter
Create a waiter that attempts executing the provided function until the condition set with Waiter.until(Predicate) is met or until it throws an exception.
runAsync(WaiterParameters<InputT>, WaiterHandler) - Method in interface software.amazon.awssdk.core.waiters.Waiter
Polls asynchronously until it is determined that the resource transitioned into the desired state or not.
runAsync(WaiterParameters<InputT>, WaiterHandler) - Method in class software.amazon.awssdk.core.waiters.WaiterImpl
Polls asynchronously until it is determined that the resource transitioned into the desired state or not.

S

SdkAsserts - Class in software.amazon.awssdk.testutils
 
SdkFunction<InputT,OutputT> - Interface in software.amazon.awssdk.core.waiters
 
set(SystemSetting, String) - Method in class software.amazon.awssdk.testutils.EnvironmentVariableHelper
 
set(String, String) - Method in class software.amazon.awssdk.testutils.EnvironmentVariableHelper
 
setActions(Collection<Action>) - Method in class software.amazon.awssdk.core.auth.policy.Statement
Sets the list of actions to which this policy statement applies.
setByPath(Object, Object, List<String>) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
Sets the value of the attribute at the given path in the target object, creating any intermediate values (using the default constructor for the type) if need be.
setConditionKey(String) - Method in class software.amazon.awssdk.core.auth.policy.Condition
Sets the name of the condition key involved in this condition.
setConditions(List<Condition>) - Method in class software.amazon.awssdk.core.auth.policy.Statement
Sets the conditions associated with this policy statement.
setEffect(Statement.Effect) - Method in class software.amazon.awssdk.core.auth.policy.Statement
Sets the result effect of this policy statement when it is evaluated.
setField(Object, Field, Object) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
 
setId(String) - Method in class software.amazon.awssdk.core.auth.policy.Policy
Sets the policy ID for this policy.
setId(String) - Method in class software.amazon.awssdk.core.auth.policy.Statement
Sets the ID for this statement.
setPrincipals(Collection<Principal>) - Method in class software.amazon.awssdk.core.auth.policy.Statement
Sets the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement.
setPrincipals(Principal...) - Method in class software.amazon.awssdk.core.auth.policy.Statement
Sets the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement.
setResources(Collection<Resource>) - Method in class software.amazon.awssdk.core.auth.policy.Statement
Sets the resources associated with this policy statement.
setStatements(Collection<Statement>) - Method in class software.amazon.awssdk.core.auth.policy.Policy
Sets the collection of statements contained by this policy.
setType(String) - Method in class software.amazon.awssdk.core.auth.policy.Condition
Sets the type of this condition.
setupLogging() - Method in class software.amazon.awssdk.testutils.LogCaptor.DefaultLogCaptor
 
setupLogging() - Method in class software.amazon.awssdk.testutils.LogCaptor.LogCaptorTestBase
 
setValues(List<String>) - Method in class software.amazon.awssdk.core.auth.policy.Condition
Sets the values specified for this access control policy condition.
shouldRetry(PollingStrategyContext) - Method in class software.amazon.awssdk.core.waiters.MaxAttemptsRetryStrategy
Default way of checking if polling should be retried or fast failed
shouldRetry(PollingStrategyContext) - Method in interface software.amazon.awssdk.core.waiters.PollingStrategy.RetryStrategy
Returns whether polling of a resource should be retried according to the given polling context.
software.amazon.awssdk.core.auth.policy - package software.amazon.awssdk.core.auth.policy
 
software.amazon.awssdk.core.auth.policy.conditions - package software.amazon.awssdk.core.auth.policy.conditions
 
software.amazon.awssdk.core.auth.policy.internal - package software.amazon.awssdk.core.auth.policy.internal
 
software.amazon.awssdk.core.waiters - package software.amazon.awssdk.core.waiters
 
software.amazon.awssdk.testutils - package software.amazon.awssdk.testutils
 
software.amazon.awssdk.testutils.hamcrest - package software.amazon.awssdk.testutils.hamcrest
 
software.amazon.awssdk.testutils.retry - package software.amazon.awssdk.testutils.retry
 
software.amazon.awssdk.testutils.smoketest - package software.amazon.awssdk.testutils.smoketest
 
SOURCE_ARN_CONDITION_KEY - Static variable in class software.amazon.awssdk.core.auth.policy.conditions.ConditionFactory
Condition key for the Amazon Resource Name (ARN) of the source specified in a request.
SOURCE_IP_CONDITION_KEY - Static variable in class software.amazon.awssdk.core.auth.policy.conditions.ConditionFactory
Condition key for the source IP from which a request originates.
STATEMENT - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
 
Statement - Class in software.amazon.awssdk.core.auth.policy
A statement is the formal description of a single permission, and is always contained within a policy object.
Statement(Statement.Effect) - Constructor for class software.amazon.awssdk.core.auth.policy.Statement
Constructs a new access control policy statement with the specified effect.
Statement.Effect - Enum in software.amazon.awssdk.core.auth.policy
The effect is the result that you want a policy statement to return at evaluation time.
STATEMENT_EFFECT - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
 
STATEMENT_ID - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
 
stopLogging() - Method in class software.amazon.awssdk.testutils.LogCaptor.DefaultLogCaptor
 
stopLogging() - Method in class software.amazon.awssdk.testutils.LogCaptor.LogCaptorTestBase
 
StringCondition - Class in software.amazon.awssdk.core.auth.policy.conditions
String conditions let you constrain AWS access control policy statements using string matching rules.
StringCondition(StringCondition.StringComparisonType, String, String) - Constructor for class software.amazon.awssdk.core.auth.policy.conditions.StringCondition
Constructs a new access control policy condition that compares two strings.
StringCondition.StringComparisonType - Enum in software.amazon.awssdk.core.auth.policy.conditions
Enumeration of the supported ways a string comparison can be evaluated.

T

toJson() - Method in class software.amazon.awssdk.core.auth.policy.Policy
Returns a JSON string representation of this AWS access control policy, suitable to be sent to an AWS service as part of a request to set an access control policy.
type - Variable in class software.amazon.awssdk.core.auth.policy.Condition
 

U

UnorderedCollectionComparator - Class in software.amazon.awssdk.testutils
This class includes some utility methods for comparing two unordered collections.
UnorderedCollectionComparator.CrossTypeComparator<A,B> - Interface in software.amazon.awssdk.testutils
A simple interface that attempts to compare objects of two different types
UnreliableRandomInputStream - Class in software.amazon.awssdk.testutils
Subclass of RandomInputStream that, in addition to spitting out a set length of random characters, throws an IOException.
UnreliableRandomInputStream(long) - Constructor for class software.amazon.awssdk.testutils.UnreliableRandomInputStream
Constructs a new unreliable random data input stream of the specified number of bytes.
until(Predicate<T>) - Method in class software.amazon.awssdk.testutils.Waiter
Define the condition on the response under which the thing we are trying is complete.
untilException(Class<? extends Throwable>...) - Method in class software.amazon.awssdk.testutils.Waiter
Define the condition on an exception thrown under which the thing we are trying is complete.

V

valueOf(String) - Static method in enum software.amazon.awssdk.core.auth.policy.conditions.ArnCondition.ArnComparisonType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.core.auth.policy.conditions.DateCondition.DateComparisonType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.core.auth.policy.conditions.IpAddressCondition.IpAddressComparisonType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.core.auth.policy.conditions.StringCondition.StringComparisonType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.core.auth.policy.Principal.Service
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.core.auth.policy.Principal.WebIdentityProvider
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.core.auth.policy.Statement.Effect
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.core.waiters.WaiterState
Returns the enum constant of this type with the specified name.
values - Variable in class software.amazon.awssdk.core.auth.policy.Condition
 
values() - Static method in enum software.amazon.awssdk.core.auth.policy.conditions.ArnCondition.ArnComparisonType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.core.auth.policy.conditions.DateCondition.DateComparisonType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.core.auth.policy.conditions.IpAddressCondition.IpAddressComparisonType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.core.auth.policy.conditions.StringCondition.StringComparisonType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.core.auth.policy.Principal.Service
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.core.auth.policy.Principal.WebIdentityProvider
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.core.auth.policy.Statement.Effect
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.core.waiters.WaiterState
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
 

W

Waiter<InputT> - Interface in software.amazon.awssdk.core.waiters
 
Waiter<T> - Class in software.amazon.awssdk.testutils
This retries a particular function multiple times until it returns an expected result (or fails with an exception).
WaiterAcceptor<OutputT,ErrorT extends RuntimeException> - Class in software.amazon.awssdk.core.waiters
 
WaiterAcceptor() - Constructor for class software.amazon.awssdk.core.waiters.WaiterAcceptor
 
WaiterBuilder<InputT,OutputT,ErrorT extends RuntimeException> - Class in software.amazon.awssdk.core.waiters
 
WaiterBuilder() - Constructor for class software.amazon.awssdk.core.waiters.WaiterBuilder
 
WaiterExecution<InputT,OutputT,ErrorT extends RuntimeException> - Class in software.amazon.awssdk.core.waiters
 
WaiterExecution(WaiterExecutionBuilder<InputT, OutputT, ErrorT>) - Constructor for class software.amazon.awssdk.core.waiters.WaiterExecution
Constructs a new waiter with all the parameters defined in the WaiterExecutionBuilder
WaiterExecutionBuilder<InputT,OutputT,ErrorT extends RuntimeException> - Class in software.amazon.awssdk.core.waiters
 
WaiterExecutionBuilder() - Constructor for class software.amazon.awssdk.core.waiters.WaiterExecutionBuilder
 
WaiterHandler<InputT> - Class in software.amazon.awssdk.core.waiters
Callbacks are executed synchronously.
WaiterHandler() - Constructor for class software.amazon.awssdk.core.waiters.WaiterHandler
 
WaiterImpl<InputT,OutputT,ErrorT extends RuntimeException> - Class in software.amazon.awssdk.core.waiters
 
WaiterImpl(WaiterBuilder<InputT, OutputT, ErrorT>) - Constructor for class software.amazon.awssdk.core.waiters.WaiterImpl
Constructs a new waiter with the given internal parameters
WaiterParameters<InputT> - Class in software.amazon.awssdk.core.waiters
 
WaiterParameters() - Constructor for class software.amazon.awssdk.core.waiters.WaiterParameters
 
WaiterParameters(InputT) - Constructor for class software.amazon.awssdk.core.waiters.WaiterParameters
 
WaiterState - Enum in software.amazon.awssdk.core.waiters
 
WaiterTimedOutException - Exception in software.amazon.awssdk.core.waiters
 
WaiterTimedOutException(String) - Constructor for exception software.amazon.awssdk.core.waiters.WaiterTimedOutException
Constructs a new WaiterTimedOutException with the specified error message.
WaiterUnrecoverableException - Exception in software.amazon.awssdk.core.waiters
 
WaiterUnrecoverableException(String) - Constructor for exception software.amazon.awssdk.core.waiters.WaiterUnrecoverableException
Constructs a new WaiterUnrecoverableException with the specified error message.
withAcceptors(WaiterAcceptor<OutputT, ErrorT>...) - Method in class software.amazon.awssdk.core.waiters.WaiterBuilder
 
withAcceptors(List<WaiterAcceptor<OutputT, ErrorT>>) - Method in class software.amazon.awssdk.core.waiters.WaiterExecutionBuilder
 
withActions(Action...) - Method in class software.amazon.awssdk.core.auth.policy.Statement
Sets the list of actions to which this policy statement applies and returns this updated Statement object so that additional method calls can be chained together.
withConditionKey(String) - Method in class software.amazon.awssdk.core.auth.policy.Condition
withConditions(Condition...) - Method in class software.amazon.awssdk.core.auth.policy.Statement
Sets the conditions associated with this policy statement, and returns this updated Statement object so that additional method calls can be chained together.
withDefaultPollingStrategy(PollingStrategy) - Method in class software.amazon.awssdk.core.waiters.WaiterBuilder
 
withDelayInMs(int) - Method in class software.amazon.awssdk.testutils.retry.RetryableParams
 
withExecutorService(ExecutorService) - Method in class software.amazon.awssdk.core.waiters.WaiterBuilder
 
withId(String) - Method in class software.amazon.awssdk.core.auth.policy.Policy
Sets the policy ID for this policy and returns the updated policy so that multiple calls can be chained together.
withId(String) - Method in class software.amazon.awssdk.core.auth.policy.Statement
Sets the ID for this statement and returns the updated statement so multiple calls can be chained together.
withMaxAttempts(int) - Method in class software.amazon.awssdk.testutils.retry.RetryableParams
 
withPollingStrategy(PollingStrategy) - Method in class software.amazon.awssdk.core.waiters.WaiterExecutionBuilder
 
withPollingStrategy(PollingStrategy) - Method in class software.amazon.awssdk.core.waiters.WaiterParameters
Constructs a new WaiterParameters with the given polling strategy
withPrincipals(Principal...) - Method in class software.amazon.awssdk.core.auth.policy.Statement
Sets the principals associated with this policy statement, and returns this updated Statement object.
withRequest(InputT) - Method in class software.amazon.awssdk.core.waiters.WaiterExecutionBuilder
 
withRequest(InputT) - Method in class software.amazon.awssdk.core.waiters.WaiterParameters
Constructs a new WaiterParameters with the given request
withResources(Resource...) - Method in class software.amazon.awssdk.core.auth.policy.Statement
Sets the resources associated with this policy statement and returns this updated Statement object so that additional method calls can be chained together.
withSdkFunction(SdkFunction<InputT, OutputT>) - Method in class software.amazon.awssdk.core.waiters.WaiterBuilder
 
withSdkFunction(SdkFunction) - Method in class software.amazon.awssdk.core.waiters.WaiterExecutionBuilder
 
withStatements(Statement...) - Method in class software.amazon.awssdk.core.auth.policy.Policy
Sets the collection of statements contained by this policy and returns this policy object so that additional method calls can be chained together.
withType(String) - Method in class software.amazon.awssdk.core.auth.policy.Condition
Fluent version of Condition.setType(String)
withValues(String...) - Method in class software.amazon.awssdk.core.auth.policy.Condition
Fluent version of Condition.setValues(List)
withValues(List<String>) - Method in class software.amazon.awssdk.core.auth.policy.Condition
Fluent version of Condition.setValues(List)
writePolicyToString(Policy) - Method in class software.amazon.awssdk.core.auth.policy.internal.JsonPolicyWriter
Converts the specified AWS policy object to a JSON string, suitable for passing to an AWS service.

Y

yyMMddhhmmss() - Static method in class software.amazon.awssdk.testutils.DateUtils
Returns the current time in yyMMdd-hhmmss format.
A B C D E F G H I J L M N O P R S T U V W Y 
Skip navigation links

Copyright © 2020. All rights reserved.