@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) |
String |
getName()
The name of the celebrity.
|
List<String> |
getUrls()
An array of URLs pointing to additional celebrity information.
|
int |
hashCode() |
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; useful for testing and debugging.
|
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, setSdkResponseMetadata
public 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 String toString()
toString
in class Object
Object.toString()
public GetCelebrityInfoResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.