@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KnownGender extends Object implements Serializable, Cloneable, StructuredPojo
The known gender identity for the celebrity that matches the provided ID. The known gender identity can be Male, Female, Nonbinary, or Unlisted.
| Constructor and Description |
|---|
KnownGender() |
| Modifier and Type | Method and Description |
|---|---|
KnownGender |
clone() |
boolean |
equals(Object obj) |
String |
getType()
A string value of the KnownGender info about the Celebrity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setType(String type)
A string value of the KnownGender info about the Celebrity.
|
String |
toString()
Returns a string representation of this object.
|
KnownGender |
withType(KnownGenderType type)
A string value of the KnownGender info about the Celebrity.
|
KnownGender |
withType(String type)
A string value of the KnownGender info about the Celebrity.
|
public void setType(String type)
A string value of the KnownGender info about the Celebrity.
type - A string value of the KnownGender info about the Celebrity.KnownGenderTypepublic String getType()
A string value of the KnownGender info about the Celebrity.
KnownGenderTypepublic KnownGender withType(String type)
A string value of the KnownGender info about the Celebrity.
type - A string value of the KnownGender info about the Celebrity.KnownGenderTypepublic KnownGender withType(KnownGenderType type)
A string value of the KnownGender info about the Celebrity.
type - A string value of the KnownGender info about the Celebrity.KnownGenderTypepublic String toString()
toString in class ObjectObject.toString()public KnownGender clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.