@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountScope extends Object implements Serializable, Cloneable, StructuredPojo
Configures the accounts within the administrator's Organizations organization that the specified Firewall Manager administrator can apply policies to.
Constructor and Description |
---|
AccountScope() |
Modifier and Type | Method and Description |
---|---|
AccountScope |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccounts()
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 . |
Boolean |
getAllAccountsEnabled()
A boolean value that indicates if the administrator can apply policies to all accounts within an organization.
|
Boolean |
getExcludeSpecifiedAccounts()
A boolean value that excludes the accounts in
AccountScope$Accounts from the administrator's scope. |
int |
hashCode() |
Boolean |
isAllAccountsEnabled()
A boolean value that indicates if the administrator can apply policies to all accounts within an organization.
|
Boolean |
isExcludeSpecifiedAccounts()
A boolean value that excludes the accounts in
AccountScope$Accounts from the administrator's scope. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccounts(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 of
ExcludeSpecifiedAccounts . |
void |
setAllAccountsEnabled(Boolean allAccountsEnabled)
A boolean value that indicates if the administrator can apply policies to all accounts within an organization.
|
void |
setExcludeSpecifiedAccounts(Boolean excludeSpecifiedAccounts)
A boolean value that excludes the accounts in
AccountScope$Accounts from the administrator's scope. |
String |
toString()
Returns a string representation of this object.
|
AccountScope |
withAccounts(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 of
ExcludeSpecifiedAccounts . |
AccountScope |
withAccounts(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 of
ExcludeSpecifiedAccounts . |
AccountScope |
withAllAccountsEnabled(Boolean allAccountsEnabled)
A boolean value that indicates if the administrator can apply policies to all accounts within an organization.
|
AccountScope |
withExcludeSpecifiedAccounts(Boolean excludeSpecifiedAccounts)
A boolean value that excludes the accounts in
AccountScope$Accounts from the administrator's scope. |
public List<String> getAccounts()
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
. If
ExcludeSpecifiedAccounts
is set to true
, then the Firewall Manager administrator can
apply policies to all members of the organization except for the accounts in this list. If
ExcludeSpecifiedAccounts
is set to false
, then the Firewall Manager administrator can
only apply policies to the accounts in this list.
ExcludeSpecifiedAccounts
. If
ExcludeSpecifiedAccounts
is set to true
, then the Firewall Manager
administrator can apply policies to all members of the organization except for the accounts in this list.
If ExcludeSpecifiedAccounts
is set to false
, then the Firewall Manager
administrator can only apply policies to the accounts in this list.public void setAccounts(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 of ExcludeSpecifiedAccounts
. If
ExcludeSpecifiedAccounts
is set to true
, then the Firewall Manager administrator can
apply policies to all members of the organization except for the accounts in this list. If
ExcludeSpecifiedAccounts
is set to false
, then the Firewall Manager administrator can
only apply policies to the accounts in this list.
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
. If
ExcludeSpecifiedAccounts
is set to true
, then the Firewall Manager administrator
can apply policies to all members of the organization except for the accounts in this list. If
ExcludeSpecifiedAccounts
is set to false
, then the Firewall Manager
administrator can only apply policies to the accounts in this list.public AccountScope withAccounts(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 of ExcludeSpecifiedAccounts
. If
ExcludeSpecifiedAccounts
is set to true
, then the Firewall Manager administrator can
apply policies to all members of the organization except for the accounts in this list. If
ExcludeSpecifiedAccounts
is set to false
, then the Firewall Manager administrator can
only apply policies to the accounts in this list.
NOTE: This method appends the values to the existing list (if any). Use
setAccounts(java.util.Collection)
or withAccounts(java.util.Collection)
if you want to override
the existing values.
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
. If
ExcludeSpecifiedAccounts
is set to true
, then the Firewall Manager administrator
can apply policies to all members of the organization except for the accounts in this list. If
ExcludeSpecifiedAccounts
is set to false
, then the Firewall Manager
administrator can only apply policies to the accounts in this list.public AccountScope withAccounts(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 of ExcludeSpecifiedAccounts
. If
ExcludeSpecifiedAccounts
is set to true
, then the Firewall Manager administrator can
apply policies to all members of the organization except for the accounts in this list. If
ExcludeSpecifiedAccounts
is set to false
, then the Firewall Manager administrator can
only apply policies to the accounts in this list.
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
. If
ExcludeSpecifiedAccounts
is set to true
, then the Firewall Manager administrator
can apply policies to all members of the organization except for the accounts in this list. If
ExcludeSpecifiedAccounts
is set to false
, then the Firewall Manager
administrator can only apply policies to the accounts in this list.public void setAllAccountsEnabled(Boolean 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.
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.public Boolean getAllAccountsEnabled()
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.
AccountScope$Accounts
. You cannot specify both.public AccountScope withAllAccountsEnabled(Boolean 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.
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.public Boolean isAllAccountsEnabled()
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.
AccountScope$Accounts
. You cannot specify both.public void setExcludeSpecifiedAccounts(Boolean 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 in AccountScope$Accounts
. You can either specify a list of accounts to exclude by
AccountScope$Accounts
, or you can enable management of all accounts by
AccountScope$AllAccountsEnabled
. You cannot specify both.
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 in AccountScope$Accounts
. You can either specify a list of
accounts to exclude by AccountScope$Accounts
, or you can enable management of all accounts by
AccountScope$AllAccountsEnabled
. You cannot specify both.public Boolean getExcludeSpecifiedAccounts()
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 in AccountScope$Accounts
. You can either specify a list of accounts to exclude by
AccountScope$Accounts
, or you can enable management of all accounts by
AccountScope$AllAccountsEnabled
. You cannot specify both.
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 in AccountScope$Accounts
. You can either specify a list of
accounts to exclude by AccountScope$Accounts
, or you can enable management of all accounts
by AccountScope$AllAccountsEnabled
. You cannot specify both.public AccountScope withExcludeSpecifiedAccounts(Boolean 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 in AccountScope$Accounts
. You can either specify a list of accounts to exclude by
AccountScope$Accounts
, or you can enable management of all accounts by
AccountScope$AllAccountsEnabled
. You cannot specify both.
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 in AccountScope$Accounts
. You can either specify a list of
accounts to exclude by AccountScope$Accounts
, or you can enable management of all accounts by
AccountScope$AllAccountsEnabled
. You cannot specify both.public Boolean isExcludeSpecifiedAccounts()
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 in AccountScope$Accounts
. You can either specify a list of accounts to exclude by
AccountScope$Accounts
, or you can enable management of all accounts by
AccountScope$AllAccountsEnabled
. You cannot specify both.
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 in AccountScope$Accounts
. You can either specify a list of
accounts to exclude by AccountScope$Accounts
, or you can enable management of all accounts
by AccountScope$AllAccountsEnabled
. You cannot specify both.public String toString()
toString
in class Object
Object.toString()
public AccountScope clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.