Class Limit
- java.lang.Object
-
- software.amazon.awssdk.services.shield.model.Limit
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Limit.Builder,Limit>
@Generated("software.amazon.awssdk:codegen") public final class Limit extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Limit.Builder,Limit>
Specifies how many protections of a given type you can create.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLimit.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Limit.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Longmax()The maximum number of protections that can be created for the specifiedType.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Limit.Builder>serializableBuilderClass()Limit.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of protection.-
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
-
type
public final String type()
The type of protection.
- Returns:
- The type of protection.
-
max
public final Long max()
The maximum number of protections that can be created for the specified
Type.- Returns:
- The maximum number of protections that can be created for the specified
Type.
-
toBuilder
public Limit.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Limit.Builder,Limit>
-
builder
public static Limit.Builder builder()
-
serializableBuilderClass
public static Class<? extends Limit.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
-
-