Class Ulimit

java.lang.Object
com.amazonaws.services.ecs.model.Ulimit
All Implemented Interfaces:
Serializable, Cloneable

public class Ulimit extends Object implements Serializable, Cloneable

The ulimit settings to pass to the container.

See Also:
  • Constructor Details

    • Ulimit

      public Ulimit()
  • Method Details

    • setName

      public void setName(String name)

      The type of the ulimit.

      Parameters:
      name - The type of the ulimit.
      See Also:
    • getName

      public String getName()

      The type of the ulimit.

      Returns:
      The type of the ulimit.
      See Also:
    • withName

      public Ulimit withName(String name)

      The type of the ulimit.

      Parameters:
      name - The type of the ulimit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setName

      public void setName(UlimitName name)

      The type of the ulimit.

      Parameters:
      name - The type of the ulimit.
      See Also:
    • withName

      public Ulimit withName(UlimitName name)

      The type of the ulimit.

      Parameters:
      name - The type of the ulimit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setSoftLimit

      public void setSoftLimit(Integer softLimit)

      The soft limit for the ulimit type.

      Parameters:
      softLimit - The soft limit for the ulimit type.
    • getSoftLimit

      public Integer getSoftLimit()

      The soft limit for the ulimit type.

      Returns:
      The soft limit for the ulimit type.
    • withSoftLimit

      public Ulimit withSoftLimit(Integer softLimit)

      The soft limit for the ulimit type.

      Parameters:
      softLimit - The soft limit for the ulimit type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setHardLimit

      public void setHardLimit(Integer hardLimit)

      The hard limit for the ulimit type.

      Parameters:
      hardLimit - The hard limit for the ulimit type.
    • getHardLimit

      public Integer getHardLimit()

      The hard limit for the ulimit type.

      Returns:
      The hard limit for the ulimit type.
    • withHardLimit

      public Ulimit withHardLimit(Integer hardLimit)

      The hard limit for the ulimit type.

      Parameters:
      hardLimit - The hard limit for the ulimit type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Ulimit clone()
      Overrides:
      clone in class Object