@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAssetModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAssetModelRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAssetModelRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAssetModelRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAssetModelRequest |
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<AssetModelHierarchyDefinition> |
getAssetModelHierarchies()
The hierarchy definitions of the asset model.
|
String |
getAssetModelName()
A unique, friendly name for the asset model.
|
List<AssetModelPropertyDefinition> |
getAssetModelProperties()
The property definitions of the asset model.
|
String |
getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
Map<String,String> |
getTags()
A list of key-value pairs that contain metadata for the asset model.
|
int |
hashCode() |
void |
setAssetModelDescription(String assetModelDescription)
A description for the asset model.
|
void |
setAssetModelHierarchies(Collection<AssetModelHierarchyDefinition> assetModelHierarchies)
The hierarchy definitions of the asset model.
|
void |
setAssetModelName(String assetModelName)
A unique, friendly name for the asset model.
|
void |
setAssetModelProperties(Collection<AssetModelPropertyDefinition> assetModelProperties)
The 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.
|
void |
setTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the asset model.
|
String |
toString()
Returns a string representation of this object.
|
CreateAssetModelRequest |
withAssetModelDescription(String assetModelDescription)
A description for the asset model.
|
CreateAssetModelRequest |
withAssetModelHierarchies(AssetModelHierarchyDefinition... assetModelHierarchies)
The hierarchy definitions of the asset model.
|
CreateAssetModelRequest |
withAssetModelHierarchies(Collection<AssetModelHierarchyDefinition> assetModelHierarchies)
The hierarchy definitions of the asset model.
|
CreateAssetModelRequest |
withAssetModelName(String assetModelName)
A unique, friendly name for the asset model.
|
CreateAssetModelRequest |
withAssetModelProperties(AssetModelPropertyDefinition... assetModelProperties)
The property definitions of the asset model.
|
CreateAssetModelRequest |
withAssetModelProperties(Collection<AssetModelPropertyDefinition> assetModelProperties)
The property definitions of the asset model.
|
CreateAssetModelRequest |
withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
CreateAssetModelRequest |
withTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the asset model.
|
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 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 CreateAssetModelRequest 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 CreateAssetModelRequest withAssetModelDescription(String assetModelDescription)
A description for the asset model.
assetModelDescription
- A description for the asset model.public List<AssetModelPropertyDefinition> getAssetModelProperties()
The 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<AssetModelPropertyDefinition> assetModelProperties)
The 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 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 CreateAssetModelRequest withAssetModelProperties(AssetModelPropertyDefinition... assetModelProperties)
The 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 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 CreateAssetModelRequest withAssetModelProperties(Collection<AssetModelPropertyDefinition> assetModelProperties)
The 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 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<AssetModelHierarchyDefinition> getAssetModelHierarchies()
The 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<AssetModelHierarchyDefinition> assetModelHierarchies)
The 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 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 CreateAssetModelRequest withAssetModelHierarchies(AssetModelHierarchyDefinition... assetModelHierarchies)
The 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 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 CreateAssetModelRequest withAssetModelHierarchies(Collection<AssetModelHierarchyDefinition> assetModelHierarchies)
The 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 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 CreateAssetModelRequest 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 Map<String,String> getTags()
A list of key-value pairs that contain metadata for the asset model. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.
public void setTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the asset model. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.
tags
- A list of key-value pairs that contain metadata for the asset model. For more information, see Tagging your AWS IoT
SiteWise resources in the AWS IoT SiteWise User Guide.public CreateAssetModelRequest withTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the asset model. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.
tags
- A list of key-value pairs that contain metadata for the asset model. For more information, see Tagging your AWS IoT
SiteWise resources in the AWS IoT SiteWise User Guide.public CreateAssetModelRequest addTagsEntry(String key, String value)
public CreateAssetModelRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateAssetModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()