ApplicationTypeVersionsCleanupPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. models. ApplicationTypeVersionsCleanupPolicy
- com.
public final class ApplicationTypeVersionsCleanupPolicy
The ApplicationTypeVersionsCleanupPolicy model.
Constructor Summary
Constructor | Description |
---|---|
ApplicationTypeVersionsCleanupPolicy() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
long |
maxUnusedVersionsToKeep()
Get the max |
void |
validate()
Validates the instance. |
Application |
withMaxUnusedVersionsToKeep(long maxUnusedVersionsToKeep)
Set the max |
Methods inherited from java.lang.Object
Constructor Details
ApplicationTypeVersionsCleanupPolicy
public ApplicationTypeVersionsCleanupPolicy()
Creates an instance of ApplicationTypeVersionsCleanupPolicy class.
Method Details
maxUnusedVersionsToKeep
public long maxUnusedVersionsToKeep()
Get the maxUnusedVersionsToKeep property: Number of unused versions per application type to keep.
Returns:
validate
public void validate()
Validates the instance.
withMaxUnusedVersionsToKeep
public ApplicationTypeVersionsCleanupPolicy withMaxUnusedVersionsToKeep(long maxUnusedVersionsToKeep)
Set the maxUnusedVersionsToKeep property: Number of unused versions per application type to keep.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for