@Generated(value="software.amazon.awssdk:codegen") public final class PutResourcePolicyRequest extends NetworkFirewallRequest implements ToCopyableBuilder<PutResourcePolicyRequest.Builder,PutResourcePolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutResourcePolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutResourcePolicyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policy()
The IAM policy statement that lists the accounts that you want to share your rule group or firewall policy with
and the operations that you want the accounts to be able to perform.
|
String |
resourceArn()
The Amazon Resource Name (ARN) of the account that you want to share rule groups and firewall policies with.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutResourcePolicyRequest.Builder> |
serializableBuilderClass() |
PutResourcePolicyRequest.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 account that you want to share rule groups and firewall policies with.
public final String policy()
The IAM policy statement that lists the accounts that you want to share your rule group or firewall policy with and the operations that you want the accounts to be able to perform.
For a rule group resource, you can specify the following operations in the Actions section of the statement:
network-firewall:CreateFirewallPolicy
network-firewall:UpdateFirewallPolicy
network-firewall:ListRuleGroups
For a firewall policy resource, you can specify the following operations in the Actions section of the statement:
network-firewall:AssociateFirewallPolicy
network-firewall:ListFirewallPolicies
In the Resource section of the statement, you specify the ARNs for the rule groups and firewall policies that you
want to share with the account that you specified in Arn.
For a rule group resource, you can specify the following operations in the Actions section of the statement:
network-firewall:CreateFirewallPolicy
network-firewall:UpdateFirewallPolicy
network-firewall:ListRuleGroups
For a firewall policy resource, you can specify the following operations in the Actions section of the statement:
network-firewall:AssociateFirewallPolicy
network-firewall:ListFirewallPolicies
In the Resource section of the statement, you specify the ARNs for the rule groups and firewall policies
that you want to share with the account that you specified in Arn.
public PutResourcePolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutResourcePolicyRequest.Builder,PutResourcePolicyRequest>toBuilder in class NetworkFirewallRequestpublic static PutResourcePolicyRequest.Builder builder()
public static Class<? extends PutResourcePolicyRequest.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.