Interface PutResourcePolicyRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<PutResourcePolicyRequest.Builder,,- PutResourcePolicyRequest> - NetworkFirewallRequest.Builder,- SdkBuilder<PutResourcePolicyRequest.Builder,,- PutResourcePolicyRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- PutResourcePolicyRequest
- 
Method SummaryModifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The IAM policy statement that lists the accounts that you want to share your Network Firewall resources with and the operations that you want the accounts to be able to perform.resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the account that you want to share your Network Firewall resources with.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.networkfirewall.model.NetworkFirewallRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
resourceArnThe Amazon Resource Name (ARN) of the account that you want to share your Network Firewall resources with. - Parameters:
- resourceArn- The Amazon Resource Name (ARN) of the account that you want to share your Network Firewall resources with.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
policyThe IAM policy statement that lists the accounts that you want to share your Network Firewall resources 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 
 For a firewall resource, you can specify the following operations in the Actions section of the statement: - 
 network-firewall:CreateVpcEndpointAssociation 
- 
 network-firewall:DescribeFirewallMetadata 
- 
 network-firewall:ListFirewalls 
 In the Resource section of the statement, you specify the ARNs for the Network Firewall resources that you want to share with the account that you specified in Arn.- Parameters:
- policy- The IAM policy statement that lists the accounts that you want to share your Network Firewall resources 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 
 - For a firewall resource, you can specify the following operations in the Actions section of the statement: - 
        network-firewall:CreateVpcEndpointAssociation 
- 
        network-firewall:DescribeFirewallMetadata 
- 
        network-firewall:ListFirewalls 
 - In the Resource section of the statement, you specify the ARNs for the Network Firewall resources that you want to share with the account that you specified in - Arn.
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
overrideConfigurationPutResourcePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationPutResourcePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-