@Generated(value="software.amazon.awssdk:codegen") public final class PutPermissionPolicyRequest extends Wafv2Request implements ToCopyableBuilder<PutPermissionPolicyRequest.Builder,PutPermissionPolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutPermissionPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutPermissionPolicyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policy()
The policy to attach to the specified rule group.
|
String |
resourceArn()
The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutPermissionPolicyRequest.Builder> |
serializableBuilderClass() |
PutPermissionPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceArn()
The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
public final String policy()
The policy to attach to the specified rule group.
The policy specifications must conform to the following:
The policy must be composed using IAM Policy version 2012-10-17.
The policy must include specifications for Effect, Action, and Principal.
Effect must specify Allow.
Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and
wafv2:PutFirewallManagerRuleGroups and may optionally specify wafv2:GetRuleGroup. WAF
rejects any extra actions or wildcard actions in the policy.
The policy must not include a Resource parameter.
For more information, see IAM Policies.
The policy specifications must conform to the following:
The policy must be composed using IAM Policy version 2012-10-17.
The policy must include specifications for Effect, Action, and
Principal.
Effect must specify Allow.
Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and
wafv2:PutFirewallManagerRuleGroups and may optionally specify
wafv2:GetRuleGroup. WAF rejects any extra actions or wildcard actions in the policy.
The policy must not include a Resource parameter.
For more information, see IAM Policies.
public PutPermissionPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutPermissionPolicyRequest.Builder,PutPermissionPolicyRequest>toBuilder in class Wafv2Requestpublic static PutPermissionPolicyRequest.Builder builder()
public static Class<? extends PutPermissionPolicyRequest.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.