Interface PutAdminAccountRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutAdminAccountRequest.Builder,PutAdminAccountRequest>,FmsRequest.Builder,SdkBuilder<PutAdminAccountRequest.Builder,PutAdminAccountRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutAdminAccountRequest
public static interface PutAdminAccountRequest.Builder extends FmsRequest.Builder, SdkPojo, CopyableBuilder<PutAdminAccountRequest.Builder,PutAdminAccountRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutAdminAccountRequest.BuilderadminAccount(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.PutAdminAccountRequest.BuilderadminScope(AdminScope adminScope)Configures the resources that the specified Firewall Manager administrator can manage.PutAdminAccountRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutAdminAccountRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFields
-
-
-
-
Method Detail
-
adminAccount
PutAdminAccountRequest.Builder adminAccount(String 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
PutAdminAccountRequest.Builder adminScope(AdminScope 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
default PutAdminAccountRequest.Builder adminScope(Consumer<AdminScope.Builder> 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:
adminScope(AdminScope)
-
overrideConfiguration
PutAdminAccountRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutAdminAccountRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-