public class DescribeUserProfilesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a DescribeUserProfiles
request.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<UserProfile> |
userProfiles
A
Users object that describes the specified users. |
Constructor and Description |
---|
DescribeUserProfilesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeUserProfilesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<UserProfile> |
getUserProfiles()
A
Users object that describes the specified users. |
int |
hashCode() |
void |
setUserProfiles(java.util.Collection<UserProfile> userProfiles)
A
Users object that describes the specified users. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeUserProfilesResult |
withUserProfiles(java.util.Collection<UserProfile> userProfiles)
A
Users object that describes the specified users. |
DescribeUserProfilesResult |
withUserProfiles(UserProfile... userProfiles)
A
Users object that describes the specified users. |
private SdkInternalList<UserProfile> userProfiles
A Users
object that describes the specified users.
public java.util.List<UserProfile> getUserProfiles()
A Users
object that describes the specified users.
Users
object that describes the specified users.public void setUserProfiles(java.util.Collection<UserProfile> userProfiles)
A Users
object that describes the specified users.
userProfiles
- A Users
object that describes the specified users.public DescribeUserProfilesResult withUserProfiles(UserProfile... userProfiles)
A Users
object that describes the specified users.
NOTE: This method appends the values to the existing list (if
any). Use setUserProfiles(java.util.Collection)
or
withUserProfiles(java.util.Collection)
if you want to override
the existing values.
userProfiles
- A Users
object that describes the specified users.public DescribeUserProfilesResult withUserProfiles(java.util.Collection<UserProfile> userProfiles)
A Users
object that describes the specified users.
userProfiles
- A Users
object that describes the specified users.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeUserProfilesResult clone()
clone
in class java.lang.Object