@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.KnownGenderType
public String getType()
A string value of the KnownGender info about the Celebrity.
KnownGenderType
public 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.KnownGenderType
public 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.KnownGenderType
public String toString()
toString
in class Object
Object.toString()
public KnownGender clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.