@Generated(value="software.amazon.awssdk:codegen") public final class IsAuthorizedRequest extends VerifiedPermissionsRequest implements ToCopyableBuilder<IsAuthorizedRequest.Builder,IsAuthorizedRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
IsAuthorizedRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
ActionIdentifier |
action()
Specifies the requested action to be authorized.
|
static IsAuthorizedRequest.Builder |
builder() |
ContextDefinition |
context()
Specifies additional context that can be used to make more granular authorization decisions.
|
EntitiesDefinition |
entities()
Specifies the list of resources and principals and their associated attributes that Verified Permissions can
examine when evaluating the policies.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policyStoreId()
Specifies the ID of the policy store.
|
EntityIdentifier |
principal()
Specifies the principal for which the authorization decision is to be made.
|
EntityIdentifier |
resource()
Specifies the resource for which the authorization decision is to be made.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends IsAuthorizedRequest.Builder> |
serializableBuilderClass() |
IsAuthorizedRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String policyStoreId()
Specifies the ID of the policy store. Policies in this policy store will be used to make an authorization decision for the input.
public final EntityIdentifier principal()
Specifies the principal for which the authorization decision is to be made.
public final ActionIdentifier action()
Specifies the requested action to be authorized. For example, is the principal authorized to perform this action on the resource?
public final EntityIdentifier resource()
Specifies the resource for which the authorization decision is to be made.
public final ContextDefinition context()
Specifies additional context that can be used to make more granular authorization decisions.
public final EntitiesDefinition entities()
Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies.
You can include only principal and resource entities in this parameter; you can't include actions. You must specify actions in the schema.
You can include only principal and resource entities in this parameter; you can't include actions. You must specify actions in the schema.
public IsAuthorizedRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IsAuthorizedRequest.Builder,IsAuthorizedRequest>toBuilder in class VerifiedPermissionsRequestpublic static IsAuthorizedRequest.Builder builder()
public static Class<? extends IsAuthorizedRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.