Class UpdateRepositoryNameRequest

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

public class UpdateRepositoryNameRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents the input of an update repository description operation.

See Also:
  • Constructor Details

    • UpdateRepositoryNameRequest

      public UpdateRepositoryNameRequest()
  • Method Details

    • setOldName

      public void setOldName(String oldName)

      The existing name of the repository.

      Parameters:
      oldName - The existing name of the repository.
    • getOldName

      public String getOldName()

      The existing name of the repository.

      Returns:
      The existing name of the repository.
    • withOldName

      public UpdateRepositoryNameRequest withOldName(String oldName)

      The existing name of the repository.

      Parameters:
      oldName - The existing name of the repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNewName

      public void setNewName(String newName)

      The new name for the repository.

      Parameters:
      newName - The new name for the repository.
    • getNewName

      public String getNewName()

      The new name for the repository.

      Returns:
      The new name for the repository.
    • withNewName

      public UpdateRepositoryNameRequest withNewName(String newName)

      The new name for the repository.

      Parameters:
      newName - The new name for 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

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: