Interface CommunicationLimit.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CommunicationLimit.Builder,CommunicationLimit>,SdkBuilder<CommunicationLimit.Builder,CommunicationLimit>,SdkPojo
- Enclosing class:
- CommunicationLimit
public static interface CommunicationLimit.Builder extends SdkPojo, CopyableBuilder<CommunicationLimit.Builder,CommunicationLimit>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommunicationLimit.Builderfrequency(Integer frequency)The number of days to consider with regards to this limit.CommunicationLimit.BuildermaxCountPerRecipient(Integer maxCountPerRecipient)Maximum number of contacts allowed for a given target within the given frequency.CommunicationLimit.Builderunit(String unit)Sets the value of the Unit property for this object.CommunicationLimit.Builderunit(CommunicationLimitTimeUnit unit)Sets the value of the Unit property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
maxCountPerRecipient
CommunicationLimit.Builder maxCountPerRecipient(Integer maxCountPerRecipient)
Maximum number of contacts allowed for a given target within the given frequency.
- Parameters:
maxCountPerRecipient- Maximum number of contacts allowed for a given target within the given frequency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frequency
CommunicationLimit.Builder frequency(Integer frequency)
The number of days to consider with regards to this limit.
- Parameters:
frequency- The number of days to consider with regards to this limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
CommunicationLimit.Builder unit(String unit)
Sets the value of the Unit property for this object.- Parameters:
unit- The new value for the Unit property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CommunicationLimitTimeUnit,CommunicationLimitTimeUnit
-
unit
CommunicationLimit.Builder unit(CommunicationLimitTimeUnit unit)
Sets the value of the Unit property for this object.- Parameters:
unit- The new value for the Unit property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CommunicationLimitTimeUnit,CommunicationLimitTimeUnit
-
-