Interface PutAdminAccountRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutAdminAccountRequest.Builder,,PutAdminAccountRequest> FmsRequest.Builder,SdkBuilder<PutAdminAccountRequest.Builder,,PutAdminAccountRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutAdminAccountRequest
-
Method Summary
Modifier and TypeMethodDescriptionadminAccount(String adminAccount) The Amazon Web Services account ID to add as an Firewall Manager administrator account.default PutAdminAccountRequest.BuilderadminScope(Consumer<AdminScope.Builder> adminScope) Configures the resources that the specified Firewall Manager administrator can manage.adminScope(AdminScope adminScope) Configures the resources that the specified Firewall Manager administrator can manage.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fms.model.FmsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
adminAccount
The Amazon Web Services account ID to add as an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount. For more information about Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
- Parameters:
adminAccount- The Amazon Web Services account ID to add as an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount. For more information about Organizations, see Managing the Amazon Web Services Accounts in Your Organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminScope
Configures the resources that the specified Firewall Manager administrator can manage. As a best practice, set the administrative scope according to the principles of least privilege. Only grant the administrator the specific resources or permissions that they need to perform the duties of their role.
- Parameters:
adminScope- Configures the resources that the specified Firewall Manager administrator can manage. As a best practice, set the administrative scope according to the principles of least privilege. Only grant the administrator the specific resources or permissions that they need to perform the duties of their role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminScope
Configures the resources that the specified Firewall Manager administrator can manage. As a best practice, set the administrative scope according to the principles of least privilege. Only grant the administrator the specific resources or permissions that they need to perform the duties of their role.
This is a convenience method that creates an instance of theAdminScope.Builderavoiding the need to create one manually viaAdminScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadminScope(AdminScope).- Parameters:
adminScope- a consumer that will call methods onAdminScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutAdminAccountRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutAdminAccountRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-