@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MatchItem extends Object implements Serializable, Cloneable, StructuredPojo
The Match group object.
Constructor and Description |
---|
MatchItem() |
Modifier and Type | Method and Description |
---|---|
MatchItem |
clone() |
boolean |
equals(Object obj) |
String |
getMatchId()
The unique identifiers for this group of profiles that match.
|
List<String> |
getProfileIds()
A list of identifiers for profiles that match.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMatchId(String matchId)
The unique identifiers for this group of profiles that match.
|
void |
setProfileIds(Collection<String> profileIds)
A list of identifiers for profiles that match.
|
String |
toString()
Returns a string representation of this object.
|
MatchItem |
withMatchId(String matchId)
The unique identifiers for this group of profiles that match.
|
MatchItem |
withProfileIds(Collection<String> profileIds)
A list of identifiers for profiles that match.
|
MatchItem |
withProfileIds(String... profileIds)
A list of identifiers for profiles that match.
|
public void setMatchId(String matchId)
The unique identifiers for this group of profiles that match.
matchId
- The unique identifiers for this group of profiles that match.public String getMatchId()
The unique identifiers for this group of profiles that match.
public MatchItem withMatchId(String matchId)
The unique identifiers for this group of profiles that match.
matchId
- The unique identifiers for this group of profiles that match.public List<String> getProfileIds()
A list of identifiers for profiles that match.
public void setProfileIds(Collection<String> profileIds)
A list of identifiers for profiles that match.
profileIds
- A list of identifiers for profiles that match.public MatchItem withProfileIds(String... profileIds)
A list of identifiers for profiles that match.
NOTE: This method appends the values to the existing list (if any). Use
setProfileIds(java.util.Collection)
or withProfileIds(java.util.Collection)
if you want to
override the existing values.
profileIds
- A list of identifiers for profiles that match.public MatchItem withProfileIds(Collection<String> profileIds)
A list of identifiers for profiles that match.
profileIds
- A list of identifiers for profiles that match.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.