@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAccountLimitResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A complex type that contains the requested limit.
Constructor and Description |
---|
GetAccountLimitResult() |
Modifier and Type | Method and Description |
---|---|
GetAccountLimitResult |
clone() |
boolean |
equals(Object obj) |
Long |
getCount()
The current number of entities that you have created of the specified type.
|
AccountLimit |
getLimit()
The current setting for the specified limit.
|
int |
hashCode() |
void |
setCount(Long count)
The current number of entities that you have created of the specified type.
|
void |
setLimit(AccountLimit limit)
The current setting for the specified limit.
|
String |
toString()
Returns a string representation of this object.
|
GetAccountLimitResult |
withCount(Long count)
The current number of entities that you have created of the specified type.
|
GetAccountLimitResult |
withLimit(AccountLimit limit)
The current setting for the specified limit.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLimit(AccountLimit limit)
The current setting for the specified limit. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNER
for the value of Type
in the request, the value of
Limit
is the maximum number of health checks that you can create using the current account.
limit
- The current setting for the specified limit. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNER
for the value of Type
in the request, the value of
Limit
is the maximum number of health checks that you can create using the current account.public AccountLimit getLimit()
The current setting for the specified limit. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNER
for the value of Type
in the request, the value of
Limit
is the maximum number of health checks that you can create using the current account.
MAX_HEALTH_CHECKS_BY_OWNER
for the value of Type
in the request, the value of
Limit
is the maximum number of health checks that you can create using the current account.public GetAccountLimitResult withLimit(AccountLimit limit)
The current setting for the specified limit. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNER
for the value of Type
in the request, the value of
Limit
is the maximum number of health checks that you can create using the current account.
limit
- The current setting for the specified limit. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNER
for the value of Type
in the request, the value of
Limit
is the maximum number of health checks that you can create using the current account.public void setCount(Long count)
The current number of entities that you have created of the specified type. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNER
for the value of Type
in the request, the value of
Count
is the current number of health checks that you have created using the current account.
count
- The current number of entities that you have created of the specified type. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNER
for the value of Type
in the request, the value of
Count
is the current number of health checks that you have created using the current account.public Long getCount()
The current number of entities that you have created of the specified type. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNER
for the value of Type
in the request, the value of
Count
is the current number of health checks that you have created using the current account.
MAX_HEALTH_CHECKS_BY_OWNER
for the value of Type
in the request, the value of
Count
is the current number of health checks that you have created using the current
account.public GetAccountLimitResult withCount(Long count)
The current number of entities that you have created of the specified type. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNER
for the value of Type
in the request, the value of
Count
is the current number of health checks that you have created using the current account.
count
- The current number of entities that you have created of the specified type. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNER
for the value of Type
in the request, the value of
Count
is the current number of health checks that you have created using the current account.public String toString()
toString
in class Object
Object.toString()
public GetAccountLimitResult clone()