@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRetrieversResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRetrieversResult() |
Modifier and Type | Method and Description |
---|---|
ListRetrieversResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list
the next set of retrievers.
|
List<Retriever> |
getRetrievers()
An array of summary information for one or more retrievers.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list
the next set of retrievers.
|
void |
setRetrievers(Collection<Retriever> retrievers)
An array of summary information for one or more retrievers.
|
String |
toString()
Returns a string representation of this object.
|
ListRetrieversResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list
the next set of retrievers.
|
ListRetrieversResult |
withRetrievers(Collection<Retriever> retrievers)
An array of summary information for one or more retrievers.
|
ListRetrieversResult |
withRetrievers(Retriever... retrievers)
An array of summary information for one or more retrievers.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Retriever> getRetrievers()
An array of summary information for one or more retrievers.
public void setRetrievers(Collection<Retriever> retrievers)
An array of summary information for one or more retrievers.
retrievers
- An array of summary information for one or more retrievers.public ListRetrieversResult withRetrievers(Retriever... retrievers)
An array of summary information for one or more retrievers.
NOTE: This method appends the values to the existing list (if any). Use
setRetrievers(java.util.Collection)
or withRetrievers(java.util.Collection)
if you want to
override the existing values.
retrievers
- An array of summary information for one or more retrievers.public ListRetrieversResult withRetrievers(Collection<Retriever> retrievers)
An array of summary information for one or more retrievers.
retrievers
- An array of summary information for one or more retrievers.public void setNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of retrievers.
nextToken
- If the response is truncated, Amazon Q Business returns this token, which you can use in a later request
to list the next set of retrievers.public String getNextToken()
If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of retrievers.
public ListRetrieversResult withNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of retrievers.
nextToken
- If the response is truncated, Amazon Q Business returns this token, which you can use in a later request
to list the next set of retrievers.public String toString()
toString
in class Object
Object.toString()
public ListRetrieversResult clone()