@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAssetModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAssetModelRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAssetModelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssetModelDescription()
A description for the asset model.
|
List<AssetModelHierarchy> |
getAssetModelHierarchies()
The updated hierarchy definitions of the asset model.
|
String |
getAssetModelId()
The ID of the asset model to update.
|
String |
getAssetModelName()
A unique, friendly name for the asset model.
|
List<AssetModelProperty> |
getAssetModelProperties()
The updated property definitions of the asset model.
|
String |
getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
int |
hashCode() |
void |
setAssetModelDescription(String assetModelDescription)
A description for the asset model.
|
void |
setAssetModelHierarchies(Collection<AssetModelHierarchy> assetModelHierarchies)
The updated hierarchy definitions of the asset model.
|
void |
setAssetModelId(String assetModelId)
The ID of the asset model to update.
|
void |
setAssetModelName(String assetModelName)
A unique, friendly name for the asset model.
|
void |
setAssetModelProperties(Collection<AssetModelProperty> assetModelProperties)
The updated property definitions of the asset model.
|
void |
setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAssetModelRequest |
withAssetModelDescription(String assetModelDescription)
A description for the asset model.
|
UpdateAssetModelRequest |
withAssetModelHierarchies(AssetModelHierarchy... assetModelHierarchies)
The updated hierarchy definitions of the asset model.
|
UpdateAssetModelRequest |
withAssetModelHierarchies(Collection<AssetModelHierarchy> assetModelHierarchies)
The updated hierarchy definitions of the asset model.
|
UpdateAssetModelRequest |
withAssetModelId(String assetModelId)
The ID of the asset model to update.
|
UpdateAssetModelRequest |
withAssetModelName(String assetModelName)
A unique, friendly name for the asset model.
|
UpdateAssetModelRequest |
withAssetModelProperties(AssetModelProperty... assetModelProperties)
The updated property definitions of the asset model.
|
UpdateAssetModelRequest |
withAssetModelProperties(Collection<AssetModelProperty> assetModelProperties)
The updated property definitions of the asset model.
|
UpdateAssetModelRequest |
withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
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 setAssetModelId(String assetModelId)
The ID of the asset model to update.
assetModelId
- The ID of the asset model to update.public String getAssetModelId()
The ID of the asset model to update.
public UpdateAssetModelRequest withAssetModelId(String assetModelId)
The ID of the asset model to update.
assetModelId
- The ID of the asset model to update.public void setAssetModelName(String assetModelName)
A unique, friendly name for the asset model.
assetModelName
- A unique, friendly name for the asset model.public String getAssetModelName()
A unique, friendly name for the asset model.
public UpdateAssetModelRequest withAssetModelName(String assetModelName)
A unique, friendly name for the asset model.
assetModelName
- A unique, friendly name for the asset model.public void setAssetModelDescription(String assetModelDescription)
A description for the asset model.
assetModelDescription
- A description for the asset model.public String getAssetModelDescription()
A description for the asset model.
public UpdateAssetModelRequest withAssetModelDescription(String assetModelDescription)
A description for the asset model.
assetModelDescription
- A description for the asset model.public List<AssetModelProperty> getAssetModelProperties()
The updated property definitions of the asset model. For more information, see Asset Properties in the AWS IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
public void setAssetModelProperties(Collection<AssetModelProperty> assetModelProperties)
The updated property definitions of the asset model. For more information, see Asset Properties in the AWS IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
assetModelProperties
- The updated property definitions of the asset model. For more information, see Asset
Properties in the AWS IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
public UpdateAssetModelRequest withAssetModelProperties(AssetModelProperty... assetModelProperties)
The updated property definitions of the asset model. For more information, see Asset Properties in the AWS IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setAssetModelProperties(java.util.Collection)
or withAssetModelProperties(java.util.Collection)
if you want to override the existing values.
assetModelProperties
- The updated property definitions of the asset model. For more information, see Asset
Properties in the AWS IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
public UpdateAssetModelRequest withAssetModelProperties(Collection<AssetModelProperty> assetModelProperties)
The updated property definitions of the asset model. For more information, see Asset Properties in the AWS IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
assetModelProperties
- The updated property definitions of the asset model. For more information, see Asset
Properties in the AWS IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
public List<AssetModelHierarchy> getAssetModelHierarchies()
The updated hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see Asset Hierarchies in the AWS IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
public void setAssetModelHierarchies(Collection<AssetModelHierarchy> assetModelHierarchies)
The updated hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see Asset Hierarchies in the AWS IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
assetModelHierarchies
- The updated hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets
can be children of any other assets created from this asset model. For more information, see Asset
Hierarchies in the AWS IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
public UpdateAssetModelRequest withAssetModelHierarchies(AssetModelHierarchy... assetModelHierarchies)
The updated hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see Asset Hierarchies in the AWS IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setAssetModelHierarchies(java.util.Collection)
or
withAssetModelHierarchies(java.util.Collection)
if you want to override the existing values.
assetModelHierarchies
- The updated hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets
can be children of any other assets created from this asset model. For more information, see Asset
Hierarchies in the AWS IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
public UpdateAssetModelRequest withAssetModelHierarchies(Collection<AssetModelHierarchy> assetModelHierarchies)
The updated hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see Asset Hierarchies in the AWS IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
assetModelHierarchies
- The updated hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets
can be children of any other assets created from this asset model. For more information, see Asset
Hierarchies in the AWS IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide.
public void setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public String getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
public UpdateAssetModelRequest withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public String toString()
toString
in class Object
Object.toString()
public UpdateAssetModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.