Class UserInfo

java.lang.Object
com.amazonaws.services.codecommit.model.UserInfo
All Implemented Interfaces:
Serializable, Cloneable

public class UserInfo extends Object implements Serializable, Cloneable

Information about the user who made a specified commit.

See Also:
  • Constructor Details

    • UserInfo

      public UserInfo()
  • Method Details

    • setName

      public void setName(String name)

      The name of the user who made the specified commit.

      Parameters:
      name - The name of the user who made the specified commit.
    • getName

      public String getName()

      The name of the user who made the specified commit.

      Returns:
      The name of the user who made the specified commit.
    • withName

      public UserInfo withName(String name)

      The name of the user who made the specified commit.

      Parameters:
      name - The name of the user who made the specified commit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEmail

      public void setEmail(String email)

      The email address associated with the user who made the commit, if any.

      Parameters:
      email - The email address associated with the user who made the commit, if any.
    • getEmail

      public String getEmail()

      The email address associated with the user who made the commit, if any.

      Returns:
      The email address associated with the user who made the commit, if any.
    • withEmail

      public UserInfo withEmail(String email)

      The email address associated with the user who made the commit, if any.

      Parameters:
      email - The email address associated with the user who made the commit, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDate

      public void setDate(String dateValue)

      The date when the specified commit was pushed to the repository.

      Parameters:
      dateValue - The date when the specified commit was pushed to the repository.
    • getDate

      public String getDate()

      The date when the specified commit was pushed to the repository.

      Returns:
      The date when the specified commit was pushed to the repository.
    • withDate

      public UserInfo withDate(String dateValue)

      The date when the specified commit was pushed to the repository.

      Parameters:
      dateValue - The date when the specified commit was pushed to the repository.
      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 UserInfo clone()
      Overrides:
      clone in class Object