Interface WhatsAppCallPermissionLimit.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WhatsAppCallPermissionLimit.Builder,,WhatsAppCallPermissionLimit> SdkBuilder<WhatsAppCallPermissionLimit.Builder,,WhatsAppCallPermissionLimit> SdkPojo
- Enclosing class:
WhatsAppCallPermissionLimit
@Mutable
@NotThreadSafe
public static interface WhatsAppCallPermissionLimit.Builder
extends SdkPojo, CopyableBuilder<WhatsAppCallPermissionLimit.Builder,WhatsAppCallPermissionLimit>
-
Method Summary
Modifier and TypeMethodDescriptioncurrentUsage(Integer currentUsage) The number of times the action has been used within the current time period.limitExpirationTime(Instant limitExpirationTime) The time when the limit resets.maxAllowed(Integer maxAllowed) The maximum number of times the action is allowed within the time period.timePeriod(String timePeriod) The time period over which the limit applies, as an ISO 8601 duration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
timePeriod
The time period over which the limit applies, as an ISO 8601 duration.
- Parameters:
timePeriod- The time period over which the limit applies, as an ISO 8601 duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxAllowed
The maximum number of times the action is allowed within the time period.
- Parameters:
maxAllowed- The maximum number of times the action is allowed within the time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentUsage
The number of times the action has been used within the current time period.
- Parameters:
currentUsage- The number of times the action has been used within the current time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limitExpirationTime
The time when the limit resets. This value is present only when the current usage has reached the maximum allowed.
- Parameters:
limitExpirationTime- The time when the limit resets. This value is present only when the current usage has reached the maximum allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-