@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeModelVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeModelVersionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeModelVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<ModelVersionDetail> |
getModelVersionDetails()
The model version details.
|
String |
getNextToken()
The next token.
|
int |
hashCode() |
void |
setModelVersionDetails(Collection<ModelVersionDetail> modelVersionDetails)
The model version details.
|
void |
setNextToken(String nextToken)
The next token.
|
String |
toString()
Returns a string representation of this object.
|
DescribeModelVersionsResult |
withModelVersionDetails(Collection<ModelVersionDetail> modelVersionDetails)
The model version details.
|
DescribeModelVersionsResult |
withModelVersionDetails(ModelVersionDetail... modelVersionDetails)
The model version details.
|
DescribeModelVersionsResult |
withNextToken(String nextToken)
The next token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ModelVersionDetail> getModelVersionDetails()
The model version details.
public void setModelVersionDetails(Collection<ModelVersionDetail> modelVersionDetails)
The model version details.
modelVersionDetails
- The model version details.public DescribeModelVersionsResult withModelVersionDetails(ModelVersionDetail... modelVersionDetails)
The model version details.
NOTE: This method appends the values to the existing list (if any). Use
setModelVersionDetails(java.util.Collection)
or withModelVersionDetails(java.util.Collection)
if you want to override the existing values.
modelVersionDetails
- The model version details.public DescribeModelVersionsResult withModelVersionDetails(Collection<ModelVersionDetail> modelVersionDetails)
The model version details.
modelVersionDetails
- The model version details.public void setNextToken(String nextToken)
The next token.
nextToken
- The next token.public String getNextToken()
The next token.
public DescribeModelVersionsResult withNextToken(String nextToken)
The next token.
nextToken
- The next token.public String toString()
toString
in class Object
Object.toString()
public DescribeModelVersionsResult clone()