Class DirectoryLimits
- java.lang.Object
-
- com.amazonaws.services.directory.model.DirectoryLimits
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DirectoryLimits extends Object implements Serializable, Cloneable
Contains directory limit information for a region.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DirectoryLimits()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectoryLimits
clone()
boolean
equals(Object obj)
Integer
getCloudOnlyDirectoriesCurrentCount()
The current number of cloud directories in the region.Integer
getCloudOnlyDirectoriesLimit()
The maximum number of cloud directories allowed in the region.Boolean
getCloudOnlyDirectoriesLimitReached()
Indicates if the cloud directory limit has been reached.Integer
getCloudOnlyMicrosoftADCurrentCount()
The current number of Microsoft AD directories in the region.Integer
getCloudOnlyMicrosoftADLimit()
The maximum number of Microsoft AD directories allowed in the region.Boolean
getCloudOnlyMicrosoftADLimitReached()
Indicates if the Microsoft AD directory limit has been reached.Integer
getConnectedDirectoriesCurrentCount()
The current number of connected directories in the region.Integer
getConnectedDirectoriesLimit()
The maximum number of connected directories allowed in the region.Boolean
getConnectedDirectoriesLimitReached()
Indicates if the connected directory limit has been reached.int
hashCode()
Boolean
isCloudOnlyDirectoriesLimitReached()
Indicates if the cloud directory limit has been reached.Boolean
isCloudOnlyMicrosoftADLimitReached()
Indicates if the Microsoft AD directory limit has been reached.Boolean
isConnectedDirectoriesLimitReached()
Indicates if the connected directory limit has been reached.void
setCloudOnlyDirectoriesCurrentCount(Integer cloudOnlyDirectoriesCurrentCount)
The current number of cloud directories in the region.void
setCloudOnlyDirectoriesLimit(Integer cloudOnlyDirectoriesLimit)
The maximum number of cloud directories allowed in the region.void
setCloudOnlyDirectoriesLimitReached(Boolean cloudOnlyDirectoriesLimitReached)
Indicates if the cloud directory limit has been reached.void
setCloudOnlyMicrosoftADCurrentCount(Integer cloudOnlyMicrosoftADCurrentCount)
The current number of Microsoft AD directories in the region.void
setCloudOnlyMicrosoftADLimit(Integer cloudOnlyMicrosoftADLimit)
The maximum number of Microsoft AD directories allowed in the region.void
setCloudOnlyMicrosoftADLimitReached(Boolean cloudOnlyMicrosoftADLimitReached)
Indicates if the Microsoft AD directory limit has been reached.void
setConnectedDirectoriesCurrentCount(Integer connectedDirectoriesCurrentCount)
The current number of connected directories in the region.void
setConnectedDirectoriesLimit(Integer connectedDirectoriesLimit)
The maximum number of connected directories allowed in the region.void
setConnectedDirectoriesLimitReached(Boolean connectedDirectoriesLimitReached)
Indicates if the connected directory limit has been reached.String
toString()
Returns a string representation of this object; useful for testing and debugging.DirectoryLimits
withCloudOnlyDirectoriesCurrentCount(Integer cloudOnlyDirectoriesCurrentCount)
The current number of cloud directories in the region.DirectoryLimits
withCloudOnlyDirectoriesLimit(Integer cloudOnlyDirectoriesLimit)
The maximum number of cloud directories allowed in the region.DirectoryLimits
withCloudOnlyDirectoriesLimitReached(Boolean cloudOnlyDirectoriesLimitReached)
Indicates if the cloud directory limit has been reached.DirectoryLimits
withCloudOnlyMicrosoftADCurrentCount(Integer cloudOnlyMicrosoftADCurrentCount)
The current number of Microsoft AD directories in the region.DirectoryLimits
withCloudOnlyMicrosoftADLimit(Integer cloudOnlyMicrosoftADLimit)
The maximum number of Microsoft AD directories allowed in the region.DirectoryLimits
withCloudOnlyMicrosoftADLimitReached(Boolean cloudOnlyMicrosoftADLimitReached)
Indicates if the Microsoft AD directory limit has been reached.DirectoryLimits
withConnectedDirectoriesCurrentCount(Integer connectedDirectoriesCurrentCount)
The current number of connected directories in the region.DirectoryLimits
withConnectedDirectoriesLimit(Integer connectedDirectoriesLimit)
The maximum number of connected directories allowed in the region.DirectoryLimits
withConnectedDirectoriesLimitReached(Boolean connectedDirectoriesLimitReached)
Indicates if the connected directory limit has been reached.
-
-
-
Method Detail
-
setCloudOnlyDirectoriesLimit
public void setCloudOnlyDirectoriesLimit(Integer cloudOnlyDirectoriesLimit)
The maximum number of cloud directories allowed in the region.
- Parameters:
cloudOnlyDirectoriesLimit
- The maximum number of cloud directories allowed in the region.
-
getCloudOnlyDirectoriesLimit
public Integer getCloudOnlyDirectoriesLimit()
The maximum number of cloud directories allowed in the region.
- Returns:
- The maximum number of cloud directories allowed in the region.
-
withCloudOnlyDirectoriesLimit
public DirectoryLimits withCloudOnlyDirectoriesLimit(Integer cloudOnlyDirectoriesLimit)
The maximum number of cloud directories allowed in the region.
- Parameters:
cloudOnlyDirectoriesLimit
- The maximum number of cloud directories allowed in the region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCloudOnlyDirectoriesCurrentCount
public void setCloudOnlyDirectoriesCurrentCount(Integer cloudOnlyDirectoriesCurrentCount)
The current number of cloud directories in the region.
- Parameters:
cloudOnlyDirectoriesCurrentCount
- The current number of cloud directories in the region.
-
getCloudOnlyDirectoriesCurrentCount
public Integer getCloudOnlyDirectoriesCurrentCount()
The current number of cloud directories in the region.
- Returns:
- The current number of cloud directories in the region.
-
withCloudOnlyDirectoriesCurrentCount
public DirectoryLimits withCloudOnlyDirectoriesCurrentCount(Integer cloudOnlyDirectoriesCurrentCount)
The current number of cloud directories in the region.
- Parameters:
cloudOnlyDirectoriesCurrentCount
- The current number of cloud directories in the region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCloudOnlyDirectoriesLimitReached
public void setCloudOnlyDirectoriesLimitReached(Boolean cloudOnlyDirectoriesLimitReached)
Indicates if the cloud directory limit has been reached.
- Parameters:
cloudOnlyDirectoriesLimitReached
- Indicates if the cloud directory limit has been reached.
-
getCloudOnlyDirectoriesLimitReached
public Boolean getCloudOnlyDirectoriesLimitReached()
Indicates if the cloud directory limit has been reached.
- Returns:
- Indicates if the cloud directory limit has been reached.
-
withCloudOnlyDirectoriesLimitReached
public DirectoryLimits withCloudOnlyDirectoriesLimitReached(Boolean cloudOnlyDirectoriesLimitReached)
Indicates if the cloud directory limit has been reached.
- Parameters:
cloudOnlyDirectoriesLimitReached
- Indicates if the cloud directory limit has been reached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isCloudOnlyDirectoriesLimitReached
public Boolean isCloudOnlyDirectoriesLimitReached()
Indicates if the cloud directory limit has been reached.
- Returns:
- Indicates if the cloud directory limit has been reached.
-
setCloudOnlyMicrosoftADLimit
public void setCloudOnlyMicrosoftADLimit(Integer cloudOnlyMicrosoftADLimit)
The maximum number of Microsoft AD directories allowed in the region.- Parameters:
cloudOnlyMicrosoftADLimit
- The maximum number of Microsoft AD directories allowed in the region.
-
getCloudOnlyMicrosoftADLimit
public Integer getCloudOnlyMicrosoftADLimit()
The maximum number of Microsoft AD directories allowed in the region.- Returns:
- The maximum number of Microsoft AD directories allowed in the region.
-
withCloudOnlyMicrosoftADLimit
public DirectoryLimits withCloudOnlyMicrosoftADLimit(Integer cloudOnlyMicrosoftADLimit)
The maximum number of Microsoft AD directories allowed in the region.- Parameters:
cloudOnlyMicrosoftADLimit
- The maximum number of Microsoft AD directories allowed in the region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCloudOnlyMicrosoftADCurrentCount
public void setCloudOnlyMicrosoftADCurrentCount(Integer cloudOnlyMicrosoftADCurrentCount)
The current number of Microsoft AD directories in the region.- Parameters:
cloudOnlyMicrosoftADCurrentCount
- The current number of Microsoft AD directories in the region.
-
getCloudOnlyMicrosoftADCurrentCount
public Integer getCloudOnlyMicrosoftADCurrentCount()
The current number of Microsoft AD directories in the region.- Returns:
- The current number of Microsoft AD directories in the region.
-
withCloudOnlyMicrosoftADCurrentCount
public DirectoryLimits withCloudOnlyMicrosoftADCurrentCount(Integer cloudOnlyMicrosoftADCurrentCount)
The current number of Microsoft AD directories in the region.- Parameters:
cloudOnlyMicrosoftADCurrentCount
- The current number of Microsoft AD directories in the region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCloudOnlyMicrosoftADLimitReached
public void setCloudOnlyMicrosoftADLimitReached(Boolean cloudOnlyMicrosoftADLimitReached)
Indicates if the Microsoft AD directory limit has been reached.- Parameters:
cloudOnlyMicrosoftADLimitReached
- Indicates if the Microsoft AD directory limit has been reached.
-
getCloudOnlyMicrosoftADLimitReached
public Boolean getCloudOnlyMicrosoftADLimitReached()
Indicates if the Microsoft AD directory limit has been reached.- Returns:
- Indicates if the Microsoft AD directory limit has been reached.
-
withCloudOnlyMicrosoftADLimitReached
public DirectoryLimits withCloudOnlyMicrosoftADLimitReached(Boolean cloudOnlyMicrosoftADLimitReached)
Indicates if the Microsoft AD directory limit has been reached.- Parameters:
cloudOnlyMicrosoftADLimitReached
- Indicates if the Microsoft AD directory limit has been reached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isCloudOnlyMicrosoftADLimitReached
public Boolean isCloudOnlyMicrosoftADLimitReached()
Indicates if the Microsoft AD directory limit has been reached.- Returns:
- Indicates if the Microsoft AD directory limit has been reached.
-
setConnectedDirectoriesLimit
public void setConnectedDirectoriesLimit(Integer connectedDirectoriesLimit)
The maximum number of connected directories allowed in the region.
- Parameters:
connectedDirectoriesLimit
- The maximum number of connected directories allowed in the region.
-
getConnectedDirectoriesLimit
public Integer getConnectedDirectoriesLimit()
The maximum number of connected directories allowed in the region.
- Returns:
- The maximum number of connected directories allowed in the region.
-
withConnectedDirectoriesLimit
public DirectoryLimits withConnectedDirectoriesLimit(Integer connectedDirectoriesLimit)
The maximum number of connected directories allowed in the region.
- Parameters:
connectedDirectoriesLimit
- The maximum number of connected directories allowed in the region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConnectedDirectoriesCurrentCount
public void setConnectedDirectoriesCurrentCount(Integer connectedDirectoriesCurrentCount)
The current number of connected directories in the region.
- Parameters:
connectedDirectoriesCurrentCount
- The current number of connected directories in the region.
-
getConnectedDirectoriesCurrentCount
public Integer getConnectedDirectoriesCurrentCount()
The current number of connected directories in the region.
- Returns:
- The current number of connected directories in the region.
-
withConnectedDirectoriesCurrentCount
public DirectoryLimits withConnectedDirectoriesCurrentCount(Integer connectedDirectoriesCurrentCount)
The current number of connected directories in the region.
- Parameters:
connectedDirectoriesCurrentCount
- The current number of connected directories in the region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConnectedDirectoriesLimitReached
public void setConnectedDirectoriesLimitReached(Boolean connectedDirectoriesLimitReached)
Indicates if the connected directory limit has been reached.
- Parameters:
connectedDirectoriesLimitReached
- Indicates if the connected directory limit has been reached.
-
getConnectedDirectoriesLimitReached
public Boolean getConnectedDirectoriesLimitReached()
Indicates if the connected directory limit has been reached.
- Returns:
- Indicates if the connected directory limit has been reached.
-
withConnectedDirectoriesLimitReached
public DirectoryLimits withConnectedDirectoriesLimitReached(Boolean connectedDirectoriesLimitReached)
Indicates if the connected directory limit has been reached.
- Parameters:
connectedDirectoriesLimitReached
- Indicates if the connected directory limit has been reached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isConnectedDirectoriesLimitReached
public Boolean isConnectedDirectoriesLimitReached()
Indicates if the connected directory limit has been reached.
- Returns:
- Indicates if the connected directory limit has been reached.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DirectoryLimits clone()
-
-