Class Owner

java.lang.Object
com.amazonaws.services.s3.model.Owner
All Implemented Interfaces:
Serializable

public class Owner extends Object implements Serializable
Represents the owner of an Amazon S3 bucket.
See Also:
  • Constructor Details

    • Owner

      public Owner()

      Constructs a new Owner without specifying an ID or display name.

      See Also:
    • Owner

      public Owner(String id, String displayName)

      Constructs a new Owner with the specified ID and display name.

      Parameters:
      id - The ID for the owner.
      displayName - The display name for the owner.
      See Also:
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getId

      public String getId()

      Gets the ID of the owner.

      Returns:
      The ID of the owner.
      See Also:
    • setId

      public void setId(String id)

      Sets the ID of the owner.

      Parameters:
      id - The ID of the owner.
      See Also:
    • getDisplayName

      public String getDisplayName()

      Gets the display name of the owner.

      Returns:
      The display name of the owner.
      See Also:
    • setDisplayName

      public void setDisplayName(String name)

      Sets the display name of the owner.

      Parameters:
      name - The display name of the owner.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object