Class SnapshotLimits
- java.lang.Object
-
- software.amazon.awssdk.services.directory.model.SnapshotLimits
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SnapshotLimits.Builder,SnapshotLimits>
@Generated("software.amazon.awssdk:codegen") public final class SnapshotLimits extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SnapshotLimits.Builder,SnapshotLimits>
Contains manual snapshot limit information for a directory.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSnapshotLimits.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnapshotLimits.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermanualSnapshotsCurrentCount()The current number of manual snapshots of the directory.IntegermanualSnapshotsLimit()The maximum number of manual snapshots allowed.BooleanmanualSnapshotsLimitReached()Indicates if the manual snapshot limit has been reached.List<SdkField<?>>sdkFields()static Class<? extends SnapshotLimits.Builder>serializableBuilderClass()SnapshotLimits.BuildertoBuilder()StringtoString()Returns a string representation of 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
-
manualSnapshotsLimit
public final Integer manualSnapshotsLimit()
The maximum number of manual snapshots allowed.
- Returns:
- The maximum number of manual snapshots allowed.
-
manualSnapshotsCurrentCount
public final Integer manualSnapshotsCurrentCount()
The current number of manual snapshots of the directory.
- Returns:
- The current number of manual snapshots of the directory.
-
manualSnapshotsLimitReached
public final Boolean manualSnapshotsLimitReached()
Indicates if the manual snapshot limit has been reached.
- Returns:
- Indicates if the manual snapshot limit has been reached.
-
toBuilder
public SnapshotLimits.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SnapshotLimits.Builder,SnapshotLimits>
-
builder
public static SnapshotLimits.Builder builder()
-
serializableBuilderClass
public static Class<? extends SnapshotLimits.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.
-
-