@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssetModelsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAssetModelsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAssetModelsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAssetModelTypes()
The type of asset model.
|
Integer |
getMaxResults()
The maximum number of results to return for each paginated request.
|
String |
getNextToken()
The token to be used for the next set of paginated results.
|
int |
hashCode() |
void |
setAssetModelTypes(Collection<String> assetModelTypes)
The type of asset model.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
|
void |
setNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
String |
toString()
Returns a string representation of this object.
|
ListAssetModelsRequest |
withAssetModelTypes(AssetModelType... assetModelTypes)
The type of asset model.
|
ListAssetModelsRequest |
withAssetModelTypes(Collection<String> assetModelTypes)
The type of asset model.
|
ListAssetModelsRequest |
withAssetModelTypes(String... assetModelTypes)
The type of asset model.
|
ListAssetModelsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
|
ListAssetModelsRequest |
withNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNextToken(String nextToken)
The token to be used for the next set of paginated results.
nextToken
- The token to be used for the next set of paginated results.public String getNextToken()
The token to be used for the next set of paginated results.
public ListAssetModelsRequest withNextToken(String nextToken)
The token to be used for the next set of paginated results.
nextToken
- The token to be used for the next set of paginated results.public void setMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
Default: 50
maxResults
- The maximum number of results to return for each paginated request.
Default: 50
public Integer getMaxResults()
The maximum number of results to return for each paginated request.
Default: 50
Default: 50
public ListAssetModelsRequest withMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
Default: 50
maxResults
- The maximum number of results to return for each paginated request.
Default: 50
public List<String> getAssetModelTypes()
The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
AssetModelType
public void setAssetModelTypes(Collection<String> assetModelTypes)
The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
assetModelTypes
- The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
AssetModelType
public ListAssetModelsRequest withAssetModelTypes(String... assetModelTypes)
The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
NOTE: This method appends the values to the existing list (if any). Use
setAssetModelTypes(java.util.Collection)
or withAssetModelTypes(java.util.Collection)
if you
want to override the existing values.
assetModelTypes
- The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
AssetModelType
public ListAssetModelsRequest withAssetModelTypes(Collection<String> assetModelTypes)
The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
assetModelTypes
- The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
AssetModelType
public ListAssetModelsRequest withAssetModelTypes(AssetModelType... assetModelTypes)
The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
assetModelTypes
- The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
AssetModelType
public String toString()
toString
in class Object
Object.toString()
public ListAssetModelsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()