Interface CedarPolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CedarPolicy.Builder,,CedarPolicy> SdkBuilder<CedarPolicy.Builder,,CedarPolicy> SdkPojo
- Enclosing class:
CedarPolicy
@Mutable
@NotThreadSafe
public static interface CedarPolicy.Builder
extends SdkPojo, CopyableBuilder<CedarPolicy.Builder,CedarPolicy>
-
Method Summary
Modifier and TypeMethodDescriptionThe Cedar policy statement that defines the authorization logic.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
statement
The Cedar policy statement that defines the authorization logic. This statement follows Cedar syntax and specifies principals, actions, resources, and conditions that determine when access should be allowed or denied.
- Parameters:
statement- The Cedar policy statement that defines the authorization logic. This statement follows Cedar syntax and specifies principals, actions, resources, and conditions that determine when access should be allowed or denied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-