Class CommunicationLimit
- java.lang.Object
-
- software.amazon.awssdk.services.connectcampaignsv2.model.CommunicationLimit
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CommunicationLimit.Builder,CommunicationLimit>
@Generated("software.amazon.awssdk:codegen") public final class CommunicationLimit extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CommunicationLimit.Builder,CommunicationLimit>
Communication Limit
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCommunicationLimit.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommunicationLimit.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Integerfrequency()The number of days to consider with regards to this limit.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxCountPerRecipient()Maximum number of contacts allowed for a given target within the given frequency.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CommunicationLimit.Builder>serializableBuilderClass()CommunicationLimit.BuildertoBuilder()StringtoString()Returns a string representation of this object.CommunicationLimitTimeUnitunit()Returns the value of the Unit property for this object.StringunitAsString()Returns the value of the Unit property for this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
maxCountPerRecipient
public final Integer maxCountPerRecipient()
Maximum number of contacts allowed for a given target within the given frequency.
- Returns:
- Maximum number of contacts allowed for a given target within the given frequency.
-
frequency
public final Integer frequency()
The number of days to consider with regards to this limit.
- Returns:
- The number of days to consider with regards to this limit.
-
unit
public final CommunicationLimitTimeUnit unit()
Returns the value of the Unit property for this object.If the service returns an enum value that is not available in the current SDK version,
unitwill returnCommunicationLimitTimeUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromunitAsString().- Returns:
- The value of the Unit property for this object.
- See Also:
CommunicationLimitTimeUnit
-
unitAsString
public final String unitAsString()
Returns the value of the Unit property for this object.If the service returns an enum value that is not available in the current SDK version,
unitwill returnCommunicationLimitTimeUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromunitAsString().- Returns:
- The value of the Unit property for this object.
- See Also:
CommunicationLimitTimeUnit
-
toBuilder
public CommunicationLimit.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CommunicationLimit.Builder,CommunicationLimit>
-
builder
public static CommunicationLimit.Builder builder()
-
serializableBuilderClass
public static Class<? extends CommunicationLimit.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-