Interface GetAccountLimitResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetAccountLimitResponse.Builder,GetAccountLimitResponse>, Route53Response.Builder, SdkBuilder<GetAccountLimitResponse.Builder,GetAccountLimitResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetAccountLimitResponse

public static interface GetAccountLimitResponse.Builder extends Route53Response.Builder, SdkPojo, CopyableBuilder<GetAccountLimitResponse.Builder,GetAccountLimitResponse>
  • Method Details

    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      This is a convenience method that creates an instance of the AccountLimit.Builder avoiding the need to create one manually via AccountLimit.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to limit(AccountLimit).

      Parameters:
      limit - a consumer that will call methods on AccountLimit.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.