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.Builder
adminScope
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fms.model.FmsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaAdminScope.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-