@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListHubsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListHubsResult() |
Modifier and Type | Method and Description |
---|---|
ListHubsResult |
clone() |
boolean |
equals(Object obj) |
List<HubInfo> |
getHubSummaries()
The summaries of the listed hubs.
|
String |
getNextToken()
If the response is truncated, SageMaker returns this token.
|
int |
hashCode() |
void |
setHubSummaries(Collection<HubInfo> hubSummaries)
The summaries of the listed hubs.
|
void |
setNextToken(String nextToken)
If the response is truncated, SageMaker returns this token.
|
String |
toString()
Returns a string representation of this object.
|
ListHubsResult |
withHubSummaries(Collection<HubInfo> hubSummaries)
The summaries of the listed hubs.
|
ListHubsResult |
withHubSummaries(HubInfo... hubSummaries)
The summaries of the listed hubs.
|
ListHubsResult |
withNextToken(String nextToken)
If the response is truncated, SageMaker returns this token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<HubInfo> getHubSummaries()
The summaries of the listed hubs.
public void setHubSummaries(Collection<HubInfo> hubSummaries)
The summaries of the listed hubs.
hubSummaries
- The summaries of the listed hubs.public ListHubsResult withHubSummaries(HubInfo... hubSummaries)
The summaries of the listed hubs.
NOTE: This method appends the values to the existing list (if any). Use
setHubSummaries(java.util.Collection)
or withHubSummaries(java.util.Collection)
if you want to
override the existing values.
hubSummaries
- The summaries of the listed hubs.public ListHubsResult withHubSummaries(Collection<HubInfo> hubSummaries)
The summaries of the listed hubs.
hubSummaries
- The summaries of the listed hubs.public void setNextToken(String nextToken)
If the response is truncated, SageMaker returns this token. To retrieve the next set of hubs, use it in the subsequent request.
nextToken
- If the response is truncated, SageMaker returns this token. To retrieve the next set of hubs, use it in
the subsequent request.public String getNextToken()
If the response is truncated, SageMaker returns this token. To retrieve the next set of hubs, use it in the subsequent request.
public ListHubsResult withNextToken(String nextToken)
If the response is truncated, SageMaker returns this token. To retrieve the next set of hubs, use it in the subsequent request.
nextToken
- If the response is truncated, SageMaker returns this token. To retrieve the next set of hubs, use it in
the subsequent request.public String toString()
toString
in class Object
Object.toString()
public ListHubsResult clone()