@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCelebrityInfoResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
GetCelebrityInfoResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
GetCelebrityInfoResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
KnownGender | 
getKnownGender()
 Retrieves the known gender for the celebrity. 
 | 
String | 
getName()
 The name of the celebrity. 
 | 
List<String> | 
getUrls()
 An array of URLs pointing to additional celebrity information. 
 | 
int | 
hashCode()  | 
void | 
setKnownGender(KnownGender knownGender)
 Retrieves the known gender for the celebrity. 
 | 
void | 
setName(String name)
 The name of the celebrity. 
 | 
void | 
setUrls(Collection<String> urls)
 An array of URLs pointing to additional celebrity information. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
GetCelebrityInfoResult | 
withKnownGender(KnownGender knownGender)
 Retrieves the known gender for the celebrity. 
 | 
GetCelebrityInfoResult | 
withName(String name)
 The name of the celebrity. 
 | 
GetCelebrityInfoResult | 
withUrls(Collection<String> urls)
 An array of URLs pointing to additional celebrity information. 
 | 
GetCelebrityInfoResult | 
withUrls(String... urls)
 An array of URLs pointing to additional celebrity information. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<String> getUrls()
An array of URLs pointing to additional celebrity information.
public void setUrls(Collection<String> urls)
An array of URLs pointing to additional celebrity information.
urls - An array of URLs pointing to additional celebrity information.public GetCelebrityInfoResult withUrls(String... urls)
An array of URLs pointing to additional celebrity information.
 NOTE: This method appends the values to the existing list (if any). Use
 setUrls(java.util.Collection) or withUrls(java.util.Collection) if you want to override the
 existing values.
 
urls - An array of URLs pointing to additional celebrity information.public GetCelebrityInfoResult withUrls(Collection<String> urls)
An array of URLs pointing to additional celebrity information.
urls - An array of URLs pointing to additional celebrity information.public void setName(String name)
The name of the celebrity.
name - The name of the celebrity.public String getName()
The name of the celebrity.
public GetCelebrityInfoResult withName(String name)
The name of the celebrity.
name - The name of the celebrity.public void setKnownGender(KnownGender knownGender)
Retrieves the known gender for the celebrity.
knownGender - Retrieves the known gender for the celebrity.public KnownGender getKnownGender()
Retrieves the known gender for the celebrity.
public GetCelebrityInfoResult withKnownGender(KnownGender knownGender)
Retrieves the known gender for the celebrity.
knownGender - Retrieves the known gender for the celebrity.public String toString()
toString in class ObjectObject.toString()public GetCelebrityInfoResult clone()