@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchPrincipalType extends Object implements Serializable, Cloneable, StructuredPojo
Filter based on UserIds or GroupIds.
| Constructor and Description |
|---|
SearchPrincipalType() |
| Modifier and Type | Method and Description |
|---|---|
SearchPrincipalType |
clone() |
boolean |
equals(Object obj) |
String |
getId()
UserIds or GroupIds.
|
List<String> |
getRoles()
The Role of a User or Group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setId(String id)
UserIds or GroupIds.
|
void |
setRoles(Collection<String> roles)
The Role of a User or Group.
|
String |
toString()
Returns a string representation of this object.
|
SearchPrincipalType |
withId(String id)
UserIds or GroupIds.
|
SearchPrincipalType |
withRoles(Collection<String> roles)
The Role of a User or Group.
|
SearchPrincipalType |
withRoles(PrincipalRoleType... roles)
The Role of a User or Group.
|
SearchPrincipalType |
withRoles(String... roles)
The Role of a User or Group.
|
public void setId(String id)
UserIds or GroupIds.
id - UserIds or GroupIds.public String getId()
UserIds or GroupIds.
public SearchPrincipalType withId(String id)
UserIds or GroupIds.
id - UserIds or GroupIds.public List<String> getRoles()
The Role of a User or Group.
PrincipalRoleTypepublic void setRoles(Collection<String> roles)
The Role of a User or Group.
roles - The Role of a User or Group.PrincipalRoleTypepublic SearchPrincipalType withRoles(String... roles)
The Role of a User or Group.
NOTE: This method appends the values to the existing list (if any). Use
setRoles(java.util.Collection) or withRoles(java.util.Collection) if you want to override the
existing values.
roles - The Role of a User or Group.PrincipalRoleTypepublic SearchPrincipalType withRoles(Collection<String> roles)
The Role of a User or Group.
roles - The Role of a User or Group.PrincipalRoleTypepublic SearchPrincipalType withRoles(PrincipalRoleType... roles)
The Role of a User or Group.
roles - The Role of a User or Group.PrincipalRoleTypepublic String toString()
toString in class ObjectObject.toString()public SearchPrincipalType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.