Class IsAuthorizedRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsRequest
-
- software.amazon.awssdk.services.verifiedpermissions.model.IsAuthorizedRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<IsAuthorizedRequest.Builder,IsAuthorizedRequest>
@Generated("software.amazon.awssdk:codegen") public final class IsAuthorizedRequest extends VerifiedPermissionsRequest implements ToCopyableBuilder<IsAuthorizedRequest.Builder,IsAuthorizedRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIsAuthorizedRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionIdentifieraction()Specifies the requested action to be authorized.static IsAuthorizedRequest.Builderbuilder()ContextDefinitioncontext()Specifies additional context that can be used to make more granular authorization decisions.EntitiesDefinitionentities()Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpolicyStoreId()Specifies the ID of the policy store.EntityIdentifierprincipal()Specifies the principal for which the authorization decision is to be made.EntityIdentifierresource()Specifies the resource for which the authorization decision is to be made.List<SdkField<?>>sdkFields()static Class<? extends IsAuthorizedRequest.Builder>serializableBuilderClass()IsAuthorizedRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
policyStoreId
public 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.
- Returns:
- Specifies the ID of the policy store. Policies in this policy store will be used to make an authorization decision for the input.
-
principal
public final EntityIdentifier principal()
Specifies the principal for which the authorization decision is to be made.
- Returns:
- Specifies the principal for which the authorization decision is to be made.
-
action
public final ActionIdentifier action()
Specifies the requested action to be authorized. For example, is the principal authorized to perform this action on the resource?
- Returns:
- Specifies the requested action to be authorized. For example, is the principal authorized to perform this action on the resource?
-
resource
public final EntityIdentifier resource()
Specifies the resource for which the authorization decision is to be made.
- Returns:
- Specifies the resource for which the authorization decision is to be made.
-
context
public final ContextDefinition context()
Specifies additional context that can be used to make more granular authorization decisions.
- Returns:
- Specifies additional context that can be used to make more granular authorization decisions.
-
entities
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.
- Returns:
- 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.
-
toBuilder
public IsAuthorizedRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IsAuthorizedRequest.Builder,IsAuthorizedRequest>- Specified by:
toBuilderin classVerifiedPermissionsRequest
-
builder
public static IsAuthorizedRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends IsAuthorizedRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-