Interface AccountScope.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccountScope.Builder,
,AccountScope> SdkBuilder<AccountScope.Builder,
,AccountScope> SdkPojo
- Enclosing class:
AccountScope
-
Method Summary
Modifier and TypeMethodDescriptionThe list of accounts within the organization that the specified Firewall Manager administrator either can or cannot apply policies to, based on the value ofExcludeSpecifiedAccounts
.accounts
(Collection<String> accounts) The list of accounts within the organization that the specified Firewall Manager administrator either can or cannot apply policies to, based on the value ofExcludeSpecifiedAccounts
.allAccountsEnabled
(Boolean allAccountsEnabled) A boolean value that indicates if the administrator can apply policies to all accounts within an organization.excludeSpecifiedAccounts
(Boolean excludeSpecifiedAccounts) A boolean value that excludes the accounts inAccountScope$Accounts
from the administrator's scope.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accounts
The list of accounts within the organization that the specified Firewall Manager administrator either can or cannot apply policies to, based on the value of
ExcludeSpecifiedAccounts
. IfExcludeSpecifiedAccounts
is set totrue
, then the Firewall Manager administrator can apply policies to all members of the organization except for the accounts in this list. IfExcludeSpecifiedAccounts
is set tofalse
, then the Firewall Manager administrator can only apply policies to the accounts in this list.- Parameters:
accounts
- The list of accounts within the organization that the specified Firewall Manager administrator either can or cannot apply policies to, based on the value ofExcludeSpecifiedAccounts
. IfExcludeSpecifiedAccounts
is set totrue
, then the Firewall Manager administrator can apply policies to all members of the organization except for the accounts in this list. IfExcludeSpecifiedAccounts
is set tofalse
, then the Firewall Manager administrator can only apply policies to the accounts in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
The list of accounts within the organization that the specified Firewall Manager administrator either can or cannot apply policies to, based on the value of
ExcludeSpecifiedAccounts
. IfExcludeSpecifiedAccounts
is set totrue
, then the Firewall Manager administrator can apply policies to all members of the organization except for the accounts in this list. IfExcludeSpecifiedAccounts
is set tofalse
, then the Firewall Manager administrator can only apply policies to the accounts in this list.- Parameters:
accounts
- The list of accounts within the organization that the specified Firewall Manager administrator either can or cannot apply policies to, based on the value ofExcludeSpecifiedAccounts
. IfExcludeSpecifiedAccounts
is set totrue
, then the Firewall Manager administrator can apply policies to all members of the organization except for the accounts in this list. IfExcludeSpecifiedAccounts
is set tofalse
, then the Firewall Manager administrator can only apply policies to the accounts in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allAccountsEnabled
A boolean value that indicates if the administrator can apply policies to all accounts within an organization. If true, the administrator can apply policies to all accounts within the organization. You can either enable management of all accounts through this operation, or you can specify a list of accounts to manage in
AccountScope$Accounts
. You cannot specify both.- Parameters:
allAccountsEnabled
- A boolean value that indicates if the administrator can apply policies to all accounts within an organization. If true, the administrator can apply policies to all accounts within the organization. You can either enable management of all accounts through this operation, or you can specify a list of accounts to manage inAccountScope$Accounts
. You cannot specify both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeSpecifiedAccounts
A boolean value that excludes the accounts in
AccountScope$Accounts
from the administrator's scope. If true, the Firewall Manager administrator can apply policies to all members of the organization except for the accounts listed inAccountScope$Accounts
. You can either specify a list of accounts to exclude byAccountScope$Accounts
, or you can enable management of all accounts byAccountScope$AllAccountsEnabled
. You cannot specify both.- Parameters:
excludeSpecifiedAccounts
- A boolean value that excludes the accounts inAccountScope$Accounts
from the administrator's scope. If true, the Firewall Manager administrator can apply policies to all members of the organization except for the accounts listed inAccountScope$Accounts
. You can either specify a list of accounts to exclude byAccountScope$Accounts
, or you can enable management of all accounts byAccountScope$AllAccountsEnabled
. You cannot specify both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-