public class GetCelebrityInfoResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
GetCelebrityInfoResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the celebrity.
|
java.util.List<java.lang.String> |
getUrls()
An array of URLs pointing to additional celebrity information.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The name of the celebrity.
|
void |
setUrls(java.util.Collection<java.lang.String> urls)
An array of URLs pointing to additional celebrity information.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetCelebrityInfoResult |
withName(java.lang.String name)
The name of the celebrity.
|
GetCelebrityInfoResult |
withUrls(java.util.Collection<java.lang.String> urls)
An array of URLs pointing to additional celebrity information.
|
GetCelebrityInfoResult |
withUrls(java.lang.String... urls)
An array of URLs pointing to additional celebrity information.
|
public java.util.List<java.lang.String> getUrls()
An array of URLs pointing to additional celebrity information.
An array of URLs pointing to additional celebrity information.
public void setUrls(java.util.Collection<java.lang.String> urls)
An array of URLs pointing to additional celebrity information.
urls - An array of URLs pointing to additional celebrity information.
public GetCelebrityInfoResult withUrls(java.lang.String... urls)
An array of URLs pointing to additional celebrity information.
Returns a reference to this object so that method calls can be chained together.
urls - An array of URLs pointing to additional celebrity information.
public GetCelebrityInfoResult withUrls(java.util.Collection<java.lang.String> urls)
An array of URLs pointing to additional celebrity information.
Returns a reference to this object so that method calls can be chained together.
urls - An array of URLs pointing to additional celebrity information.
public java.lang.String getName()
The name of the celebrity.
The name of the celebrity.
public void setName(java.lang.String name)
The name of the celebrity.
name - The name of the celebrity.
public GetCelebrityInfoResult withName(java.lang.String name)
The name of the celebrity.
Returns a reference to this object so that method calls can be chained together.
name - The name of the celebrity.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.