A C D E F G H I J L M N O P R S T U V W Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- 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.
- Allow - software.amazon.awssdk.core.auth.policy.Statement.Effect
- AllProviders - software.amazon.awssdk.core.auth.policy.Principal.WebIdentityProvider
- AllServices - software.amazon.awssdk.core.auth.policy.Principal.Service
- Amazon - software.amazon.awssdk.core.auth.policy.Principal.WebIdentityProvider
- AmazonEC2 - software.amazon.awssdk.core.auth.policy.Principal.Service
- AmazonElasticTranscoder - software.amazon.awssdk.core.auth.policy.Principal.Service
- append(LogEvent) - Method in class software.amazon.awssdk.testutils.LogCaptor.DefaultLogCaptor
- 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.
- ArnEquals - software.amazon.awssdk.core.auth.policy.conditions.ArnCondition.ArnComparisonType
-
Exact matching.
- ArnLike - software.amazon.awssdk.core.auth.policy.conditions.ArnCondition.ArnComparisonType
-
Loose case-insensitive matching of the ARN.
- ArnNotEquals - software.amazon.awssdk.core.auth.policy.conditions.ArnCondition.ArnComparisonType
-
Negated form of
ArnCondition.ArnComparisonType.ArnEquals - ArnNotLike - software.amazon.awssdk.core.auth.policy.conditions.ArnCondition.ArnComparisonType
-
Negated form of
ArnCondition.ArnComparisonType.ArnLike - 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.
- AWSCloudHSM - software.amazon.awssdk.core.auth.policy.Principal.Service
- AWSDataPipeline - software.amazon.awssdk.core.auth.policy.Principal.Service
- AWSOpsWorks - software.amazon.awssdk.core.auth.policy.Principal.Service
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
- checkVersionAvailability(String, String...) - Static method in class software.amazon.awssdk.testutils.SdkVersionUtils
-
Check if the provided v2 artifacts are available on Maven
- cleanUpTestDirectory(Path) - Static method in class software.amazon.awssdk.testutils.FileUtils
- 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
Statementobjects, 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
- copyDirectory(Path, Path, CopyOption...) - Static method in class software.amazon.awssdk.testutils.FileUtils
- create() - Static method in interface software.amazon.awssdk.testutils.LogCaptor
- create(Level) - Static method in interface software.amazon.awssdk.testutils.LogCaptor
- 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.
- DateEquals - software.amazon.awssdk.core.auth.policy.conditions.DateCondition.DateComparisonType
- DateGreaterThan - software.amazon.awssdk.core.auth.policy.conditions.DateCondition.DateComparisonType
- DateGreaterThanEquals - software.amazon.awssdk.core.auth.policy.conditions.DateCondition.DateComparisonType
- DateLessThan - software.amazon.awssdk.core.auth.policy.conditions.DateCondition.DateComparisonType
- DateLessThanEquals - software.amazon.awssdk.core.auth.policy.conditions.DateCondition.DateComparisonType
- DateNotEquals - software.amazon.awssdk.core.auth.policy.conditions.DateCondition.DateComparisonType
- DateUtils - Class in software.amazon.awssdk.testutils
- delete() - Method in class software.amazon.awssdk.testutils.RandomTempFile
- Deny - software.amazon.awssdk.core.auth.policy.Statement.Effect
- 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(A, B) - Method in interface software.amazon.awssdk.testutils.UnorderedCollectionComparator.CrossTypeComparator
- equals(Object) - Method in class software.amazon.awssdk.core.auth.policy.Principal
- equals(Object) - Method in class software.amazon.awssdk.testutils.RandomTempFile
- 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.
- equalUnorderedCollections(Collection<T>, Collection<T>) - Static method in class software.amazon.awssdk.testutils.UnorderedCollectionComparator
-
Compares two unordered lists of the same type.
F
- Facebook - software.amazon.awssdk.core.auth.policy.Principal.WebIdentityProvider
- 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.
- FileUtils - Class in software.amazon.awssdk.testutils
- 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.
- 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
- 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.
- 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
- getParameterTypes(Object, List<String>) - Static method in class software.amazon.awssdk.testutils.smoketest.ReflectionUtils
- 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.
- getResources() - Method in class software.amazon.awssdk.core.auth.policy.Statement
-
Returns the resources associated with this policy statement.
- getSdkPreviousReleaseVersion(Path) - Static method in class software.amazon.awssdk.testutils.SdkVersionUtils
- getServiceId() - Method in enum software.amazon.awssdk.core.auth.policy.Principal.Service
- 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
- Google - software.amazon.awssdk.core.auth.policy.Principal.WebIdentityProvider
H
- handleTestExecutionException(ExtensionContext, Throwable) - Method in class software.amazon.awssdk.testutils.retry.RetryableTestExtension
- 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
- IpAddress - software.amazon.awssdk.core.auth.policy.conditions.IpAddressCondition.IpAddressComparisonType
-
Matches an IP address against a CIDR IP range, evaluating to true if the IP address being tested is in the condition's specified CIDR IP range.
- 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
- LogCaptorTestBase(Level) - 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
- matchesSafely(Collection<T>) - Method in class software.amazon.awssdk.testutils.hamcrest.CollectionContainsOnly
- matchesSafely(Collection<T>) - Method in class software.amazon.awssdk.testutils.hamcrest.CollectionContainsOnlyInOrder
- maxRetries() - Method in annotation type software.amazon.awssdk.testutils.retry.RetryableTest
-
The maximum number of retries.
- 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>, List<ReflectionUtils.RandomSupplier<?>>) - 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
- 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
- NotIpAddress - software.amazon.awssdk.core.auth.policy.conditions.IpAddressCondition.IpAddressComparisonType
-
Negated form of
IpAddressCondition.IpAddressComparisonType.IpAddress
O
- 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
- 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
- poolSummaries() - Static method in class software.amazon.awssdk.testutils.Memory
-
Returns a summary information about the memory pools.
- 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(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.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(Principal.WebIdentityProvider) - Constructor for class software.amazon.awssdk.core.auth.policy.Principal
-
Constructs a new principal with the specified web identity provider.
- PRINCIPAL - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
- 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.
- provideTestTemplateInvocationContexts(ExtensionContext) - Method in class software.amazon.awssdk.testutils.retry.RetryableTestExtension
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(File, String, long) - Constructor for class software.amazon.awssdk.testutils.RandomTempFile
- 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.
- randomUncreatedFile() - Static method in class software.amazon.awssdk.testutils.RandomTempFile
- 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.RandomInputStream
- 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(String) - Method in class software.amazon.awssdk.testutils.EnvironmentVariableHelper
- remove(SystemSetting) - Method in class software.amazon.awssdk.testutils.EnvironmentVariableHelper
- reset() - Method in class software.amazon.awssdk.testutils.EnvironmentVariableHelper
- 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.
- RESOURCE - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
- 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 byRetryableAction. - RetryableError(Error) - Constructor for error software.amazon.awssdk.testutils.retry.RetryableError
- retryableException() - Method in annotation type software.amazon.awssdk.testutils.retry.RetryableTest
-
Exception to retry
- RetryableParams - Class in software.amazon.awssdk.testutils.retry
-
Parameters for
RetryableAssertion. - RetryableParams() - Constructor for class software.amazon.awssdk.testutils.retry.RetryableParams
- RetryableTest - Annotation Type in software.amazon.awssdk.testutils.retry
-
Denotes that a method is a test template for a retryable test.
- RetryableTestExtension - Class in software.amazon.awssdk.testutils.retry
- RetryableTestExtension() - Constructor for class software.amazon.awssdk.testutils.retry.RetryableTestExtension
- 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(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.
S
- SdkAsserts - Class in software.amazon.awssdk.testutils
- SdkVersionUtils - Class in software.amazon.awssdk.testutils
- set(String, String) - Method in class software.amazon.awssdk.testutils.EnvironmentVariableHelper
- set(SystemSetting, 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.
- setValues(List<String>) - Method in class software.amazon.awssdk.core.auth.policy.Condition
-
Sets the values specified for this access control policy condition.
- 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.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.
- startCapturing() - Method in class software.amazon.awssdk.testutils.LogCaptor.DefaultLogCaptor
- startCapturing() - Method in class software.amazon.awssdk.testutils.LogCaptor.LogCaptorTestBase
- 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 - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
- 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
- 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.
- stopCapturing() - Method in class software.amazon.awssdk.testutils.LogCaptor.DefaultLogCaptor
- stopCapturing() - 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.
- StringEquals - software.amazon.awssdk.core.auth.policy.conditions.StringCondition.StringComparisonType
-
Case-sensitive exact string matching.
- StringEqualsIgnoreCase - software.amazon.awssdk.core.auth.policy.conditions.StringCondition.StringComparisonType
-
Case-insensitive string matching.
- StringLike - software.amazon.awssdk.core.auth.policy.conditions.StringCondition.StringComparisonType
-
Loose case-insensitive matching.
- StringNotEquals - software.amazon.awssdk.core.auth.policy.conditions.StringCondition.StringComparisonType
-
Negated form of
StringCondition.StringComparisonType.StringEquals - StringNotEqualsIgnoreCase - software.amazon.awssdk.core.auth.policy.conditions.StringCondition.StringComparisonType
-
Negated form of
StringCondition.StringComparisonType.StringEqualsIgnoreCase - StringNotLike - software.amazon.awssdk.core.auth.policy.conditions.StringCondition.StringComparisonType
-
Negated form of
StringCondition.StringComparisonType.StringLike - supportsTestTemplate(ExtensionContext) - Method in class software.amazon.awssdk.testutils.retry.RetryableTestExtension
T
- toFileTreeString(Path) - Static method in class software.amazon.awssdk.testutils.FileUtils
-
Convert a given directory into a visual file tree.
- 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.
- 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.
- VERSION - Static variable in class software.amazon.awssdk.core.auth.policy.internal.JsonDocumentField
W
- 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).
- 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
-
Fluent version of
Condition.setConditionKey(String) - 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.
- withDelayInMs(int) - Method in class software.amazon.awssdk.testutils.retry.RetryableParams
- 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
- 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.
- 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.
- 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.
All Classes All Packages