public class GetAccountSummaryResult extends Object implements Serializable
Contains the result of a successful invocation of the GetAccountSummary action.
Constructor and Description |
---|
GetAccountSummaryResult() |
Modifier and Type | Method and Description |
---|---|
GetAccountSummaryResult |
addSummaryMapEntry(String key,
Integer value)
A set of key value pairs containing account-level information.
|
GetAccountSummaryResult |
clearSummaryMapEntries()
Removes all the entries added into SummaryMap.
|
boolean |
equals(Object obj) |
Map<String,Integer> |
getSummaryMap()
A set of key value pairs containing account-level information.
|
int |
hashCode() |
void |
setSummaryMap(Map<String,Integer> summaryMap)
A set of key value pairs containing account-level information.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetAccountSummaryResult |
withSummaryMap(Map<String,Integer> summaryMap)
A set of key value pairs containing account-level information.
|
public Map<String,Integer> getSummaryMap()
SummaryMap
contains the following keys:
AccessKeysPerUserQuota
- Maximum number of access
keys that can be created per user
AccountMFAEnabled
- 1 if the root account has an
MFA device assigned to it, 0 otherwise
AssumeRolePolicySizeQuota
- Maximum allowed size
for assume role policy documents (in kilobytes)
GroupPolicySizeQuota
- Maximum allowed size for
Group policy documents (in kilobytes)
Groups
- Number of Groups for the AWS account
GroupsPerUserQuota
- Maximum number of groups a
user can belong to
GroupsQuota
- Maximum
groups allowed for the AWS account
InstanceProfiles
- Number of instance profiles for
the AWS account
InstanceProfilesQuota
-
Maximum instance profiles allowed for the AWS account
MFADevices
- Number of MFA devices, either
assigned or unassigned
MFADevicesInUse
-
Number of MFA devices that have been assigned to an IAM user or to the
root account
RolePolicySizeQuota
- Maximum
allowed size for role policy documents (in kilobytes)
Roles
- Number of roles for the AWS account
RolesQuota
- Maximum roles allowed for the AWS
account
ServerCertificates
- Number of server
certificates for the AWS account
ServerCertificatesQuota
- Maximum server
certificates allowed for the AWS account
SigningCertificatesPerUserQuota
- Maximum number
of X509 certificates allowed for a user
UserPolicySizeQuota
- Maximum allowed size for
user policy documents (in kilobytes)
Users
-
Number of users for the AWS account
UsersQuota
- Maximum users allowed for the AWS
account
SummaryMap
contains the following keys:
AccessKeysPerUserQuota
- Maximum number of access
keys that can be created per user
AccountMFAEnabled
- 1 if the root account has an
MFA device assigned to it, 0 otherwise
AssumeRolePolicySizeQuota
- Maximum allowed size
for assume role policy documents (in kilobytes)
GroupPolicySizeQuota
- Maximum allowed size for
Group policy documents (in kilobytes)
Groups
- Number of Groups for the AWS account
GroupsPerUserQuota
- Maximum number of groups a
user can belong to
GroupsQuota
- Maximum
groups allowed for the AWS account
InstanceProfiles
- Number of instance profiles for
the AWS account
InstanceProfilesQuota
-
Maximum instance profiles allowed for the AWS account
MFADevices
- Number of MFA devices, either
assigned or unassigned
MFADevicesInUse
-
Number of MFA devices that have been assigned to an IAM user or to the
root account
RolePolicySizeQuota
- Maximum
allowed size for role policy documents (in kilobytes)
Roles
- Number of roles for the AWS account
RolesQuota
- Maximum roles allowed for the AWS
account
ServerCertificates
- Number of server
certificates for the AWS account
ServerCertificatesQuota
- Maximum server
certificates allowed for the AWS account
SigningCertificatesPerUserQuota
- Maximum number
of X509 certificates allowed for a user
UserPolicySizeQuota
- Maximum allowed size for
user policy documents (in kilobytes)
Users
-
Number of users for the AWS account
UsersQuota
- Maximum users allowed for the AWS
account
public void setSummaryMap(Map<String,Integer> summaryMap)
SummaryMap
contains the following keys:
AccessKeysPerUserQuota
- Maximum number of access
keys that can be created per user
AccountMFAEnabled
- 1 if the root account has an
MFA device assigned to it, 0 otherwise
AssumeRolePolicySizeQuota
- Maximum allowed size
for assume role policy documents (in kilobytes)
GroupPolicySizeQuota
- Maximum allowed size for
Group policy documents (in kilobytes)
Groups
- Number of Groups for the AWS account
GroupsPerUserQuota
- Maximum number of groups a
user can belong to
GroupsQuota
- Maximum
groups allowed for the AWS account
InstanceProfiles
- Number of instance profiles for
the AWS account
InstanceProfilesQuota
-
Maximum instance profiles allowed for the AWS account
MFADevices
- Number of MFA devices, either
assigned or unassigned
MFADevicesInUse
-
Number of MFA devices that have been assigned to an IAM user or to the
root account
RolePolicySizeQuota
- Maximum
allowed size for role policy documents (in kilobytes)
Roles
- Number of roles for the AWS account
RolesQuota
- Maximum roles allowed for the AWS
account
ServerCertificates
- Number of server
certificates for the AWS account
ServerCertificatesQuota
- Maximum server
certificates allowed for the AWS account
SigningCertificatesPerUserQuota
- Maximum number
of X509 certificates allowed for a user
UserPolicySizeQuota
- Maximum allowed size for
user policy documents (in kilobytes)
Users
-
Number of users for the AWS account
UsersQuota
- Maximum users allowed for the AWS
account
summaryMap
- A set of key value pairs containing account-level information.
SummaryMap
contains the following keys:
AccessKeysPerUserQuota
- Maximum number of access
keys that can be created per user
AccountMFAEnabled
- 1 if the root account has an
MFA device assigned to it, 0 otherwise
AssumeRolePolicySizeQuota
- Maximum allowed size
for assume role policy documents (in kilobytes)
GroupPolicySizeQuota
- Maximum allowed size for
Group policy documents (in kilobytes)
Groups
- Number of Groups for the AWS account
GroupsPerUserQuota
- Maximum number of groups a
user can belong to
GroupsQuota
- Maximum
groups allowed for the AWS account
InstanceProfiles
- Number of instance profiles for
the AWS account
InstanceProfilesQuota
-
Maximum instance profiles allowed for the AWS account
MFADevices
- Number of MFA devices, either
assigned or unassigned
MFADevicesInUse
-
Number of MFA devices that have been assigned to an IAM user or to the
root account
RolePolicySizeQuota
- Maximum
allowed size for role policy documents (in kilobytes)
Roles
- Number of roles for the AWS account
RolesQuota
- Maximum roles allowed for the AWS
account
ServerCertificates
- Number of server
certificates for the AWS account
ServerCertificatesQuota
- Maximum server
certificates allowed for the AWS account
SigningCertificatesPerUserQuota
- Maximum number
of X509 certificates allowed for a user
UserPolicySizeQuota
- Maximum allowed size for
user policy documents (in kilobytes)
Users
-
Number of users for the AWS account
UsersQuota
- Maximum users allowed for the AWS
account
public GetAccountSummaryResult withSummaryMap(Map<String,Integer> summaryMap)
SummaryMap
contains the following keys:
AccessKeysPerUserQuota
- Maximum number of access
keys that can be created per user
AccountMFAEnabled
- 1 if the root account has an
MFA device assigned to it, 0 otherwise
AssumeRolePolicySizeQuota
- Maximum allowed size
for assume role policy documents (in kilobytes)
GroupPolicySizeQuota
- Maximum allowed size for
Group policy documents (in kilobytes)
Groups
- Number of Groups for the AWS account
GroupsPerUserQuota
- Maximum number of groups a
user can belong to
GroupsQuota
- Maximum
groups allowed for the AWS account
InstanceProfiles
- Number of instance profiles for
the AWS account
InstanceProfilesQuota
-
Maximum instance profiles allowed for the AWS account
MFADevices
- Number of MFA devices, either
assigned or unassigned
MFADevicesInUse
-
Number of MFA devices that have been assigned to an IAM user or to the
root account
RolePolicySizeQuota
- Maximum
allowed size for role policy documents (in kilobytes)
Roles
- Number of roles for the AWS account
RolesQuota
- Maximum roles allowed for the AWS
account
ServerCertificates
- Number of server
certificates for the AWS account
ServerCertificatesQuota
- Maximum server
certificates allowed for the AWS account
SigningCertificatesPerUserQuota
- Maximum number
of X509 certificates allowed for a user
UserPolicySizeQuota
- Maximum allowed size for
user policy documents (in kilobytes)
Users
-
Number of users for the AWS account
UsersQuota
- Maximum users allowed for the AWS
account
Returns a reference to this object so that method calls can be chained together.
summaryMap
- A set of key value pairs containing account-level information.
SummaryMap
contains the following keys:
AccessKeysPerUserQuota
- Maximum number of access
keys that can be created per user
AccountMFAEnabled
- 1 if the root account has an
MFA device assigned to it, 0 otherwise
AssumeRolePolicySizeQuota
- Maximum allowed size
for assume role policy documents (in kilobytes)
GroupPolicySizeQuota
- Maximum allowed size for
Group policy documents (in kilobytes)
Groups
- Number of Groups for the AWS account
GroupsPerUserQuota
- Maximum number of groups a
user can belong to
GroupsQuota
- Maximum
groups allowed for the AWS account
InstanceProfiles
- Number of instance profiles for
the AWS account
InstanceProfilesQuota
-
Maximum instance profiles allowed for the AWS account
MFADevices
- Number of MFA devices, either
assigned or unassigned
MFADevicesInUse
-
Number of MFA devices that have been assigned to an IAM user or to the
root account
RolePolicySizeQuota
- Maximum
allowed size for role policy documents (in kilobytes)
Roles
- Number of roles for the AWS account
RolesQuota
- Maximum roles allowed for the AWS
account
ServerCertificates
- Number of server
certificates for the AWS account
ServerCertificatesQuota
- Maximum server
certificates allowed for the AWS account
SigningCertificatesPerUserQuota
- Maximum number
of X509 certificates allowed for a user
UserPolicySizeQuota
- Maximum allowed size for
user policy documents (in kilobytes)
Users
-
Number of users for the AWS account
UsersQuota
- Maximum users allowed for the AWS
account
public GetAccountSummaryResult addSummaryMapEntry(String key, Integer value)
SummaryMap
contains the following keys:
AccessKeysPerUserQuota
- Maximum number of access
keys that can be created per user
AccountMFAEnabled
- 1 if the root account has an
MFA device assigned to it, 0 otherwise
AssumeRolePolicySizeQuota
- Maximum allowed size
for assume role policy documents (in kilobytes)
GroupPolicySizeQuota
- Maximum allowed size for
Group policy documents (in kilobytes)
Groups
- Number of Groups for the AWS account
GroupsPerUserQuota
- Maximum number of groups a
user can belong to
GroupsQuota
- Maximum
groups allowed for the AWS account
InstanceProfiles
- Number of instance profiles for
the AWS account
InstanceProfilesQuota
-
Maximum instance profiles allowed for the AWS account
MFADevices
- Number of MFA devices, either
assigned or unassigned
MFADevicesInUse
-
Number of MFA devices that have been assigned to an IAM user or to the
root account
RolePolicySizeQuota
- Maximum
allowed size for role policy documents (in kilobytes)
Roles
- Number of roles for the AWS account
RolesQuota
- Maximum roles allowed for the AWS
account
ServerCertificates
- Number of server
certificates for the AWS account
ServerCertificatesQuota
- Maximum server
certificates allowed for the AWS account
SigningCertificatesPerUserQuota
- Maximum number
of X509 certificates allowed for a user
UserPolicySizeQuota
- Maximum allowed size for
user policy documents (in kilobytes)
Users
-
Number of users for the AWS account
UsersQuota
- Maximum users allowed for the AWS
account
The method adds a new key-value pair into SummaryMap parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into SummaryMap.value
- The corresponding value of the entry to be added into SummaryMap.public GetAccountSummaryResult clearSummaryMapEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.