@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) |
List<AssetModelCompositeModelDefinition> |
getAssetModelCompositeModels()
The composite models that are part of this asset model.
|
String |
getAssetModelDescription()
A description for the asset model.
|
String |
getAssetModelExternalId()
An external ID to assign to the asset model.
|
List<AssetModelHierarchyDefinition> |
getAssetModelHierarchies()
The hierarchy definitions of the asset model.
|
String |
getAssetModelId()
The ID to assign to the asset model, if desired.
|
String |
getAssetModelName()
A unique name for the asset model.
|
List<AssetModelPropertyDefinition> |
getAssetModelProperties()
The property definitions of the asset model.
|
String |
getAssetModelType()
The type of 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 |
setAssetModelCompositeModels(Collection<AssetModelCompositeModelDefinition> assetModelCompositeModels)
The composite models that are part of this asset model.
|
void |
setAssetModelDescription(String assetModelDescription)
A description for the asset model.
|
void |
setAssetModelExternalId(String assetModelExternalId)
An external ID to assign to the asset model.
|
void |
setAssetModelHierarchies(Collection<AssetModelHierarchyDefinition> assetModelHierarchies)
The hierarchy definitions of the asset model.
|
void |
setAssetModelId(String assetModelId)
The ID to assign to the asset model, if desired.
|
void |
setAssetModelName(String assetModelName)
A unique name for the asset model.
|
void |
setAssetModelProperties(Collection<AssetModelPropertyDefinition> assetModelProperties)
The property definitions of the asset model.
|
void |
setAssetModelType(String assetModelType)
The type of 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 |
withAssetModelCompositeModels(AssetModelCompositeModelDefinition... assetModelCompositeModels)
The composite models that are part of this asset model.
|
CreateAssetModelRequest |
withAssetModelCompositeModels(Collection<AssetModelCompositeModelDefinition> assetModelCompositeModels)
The composite models that are part of this asset model.
|
CreateAssetModelRequest |
withAssetModelDescription(String assetModelDescription)
A description for the asset model.
|
CreateAssetModelRequest |
withAssetModelExternalId(String assetModelExternalId)
An external ID to assign to 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 |
withAssetModelId(String assetModelId)
The ID to assign to the asset model, if desired.
|
CreateAssetModelRequest |
withAssetModelName(String assetModelName)
A unique 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 |
withAssetModelType(AssetModelType assetModelType)
The type of asset model.
|
CreateAssetModelRequest |
withAssetModelType(String assetModelType)
The type of 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 name for the asset model.
assetModelName
- A unique name for the asset model.public String getAssetModelName()
A unique name for the asset model.
public CreateAssetModelRequest withAssetModelName(String assetModelName)
A unique name for the asset model.
assetModelName
- A unique 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 IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the 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 IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
assetModelProperties
- The property definitions of the asset model. For more information, see Asset
properties in the IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
public CreateAssetModelRequest withAssetModelProperties(AssetModelPropertyDefinition... assetModelProperties)
The property definitions of the asset model. For more information, see Asset properties in the IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the 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 IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the 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 IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
assetModelProperties
- The property definitions of the asset model. For more information, see Asset
properties in the IoT SiteWise User Guide.
You can specify up to 200 properties per asset model. For more information, see Quotas in the 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 IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the 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 IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the 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 IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the 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 IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the 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 IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the 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 IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the 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 IoT SiteWise User Guide.
You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the IoT SiteWise User Guide.
public List<AssetModelCompositeModelDefinition> getAssetModelCompositeModels()
The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.
When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see Creating custom composite models (Components) in the IoT SiteWise User Guide.
When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see Creating custom composite models (Components) in the IoT SiteWise User Guide.
public void setAssetModelCompositeModels(Collection<AssetModelCompositeModelDefinition> assetModelCompositeModels)
The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.
When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see Creating custom composite models (Components) in the IoT SiteWise User Guide.
assetModelCompositeModels
- The composite models that are part of this asset model. It groups properties (such as attributes,
measurements, transforms, and metrics) and child composite models that model parts of your industrial
equipment. Each composite model has a type that defines the properties that the composite model supports.
Use composite models to define alarms on this asset model. When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see Creating custom composite models (Components) in the IoT SiteWise User Guide.
public CreateAssetModelRequest withAssetModelCompositeModels(AssetModelCompositeModelDefinition... assetModelCompositeModels)
The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.
When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see Creating custom composite models (Components) in the IoT SiteWise User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setAssetModelCompositeModels(java.util.Collection)
or
withAssetModelCompositeModels(java.util.Collection)
if you want to override the existing values.
assetModelCompositeModels
- The composite models that are part of this asset model. It groups properties (such as attributes,
measurements, transforms, and metrics) and child composite models that model parts of your industrial
equipment. Each composite model has a type that defines the properties that the composite model supports.
Use composite models to define alarms on this asset model. When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see Creating custom composite models (Components) in the IoT SiteWise User Guide.
public CreateAssetModelRequest withAssetModelCompositeModels(Collection<AssetModelCompositeModelDefinition> assetModelCompositeModels)
The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.
When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see Creating custom composite models (Components) in the IoT SiteWise User Guide.
assetModelCompositeModels
- The composite models that are part of this asset model. It groups properties (such as attributes,
measurements, transforms, and metrics) and child composite models that model parts of your industrial
equipment. Each composite model has a type that defines the properties that the composite model supports.
Use composite models to define alarms on this asset model. When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see Creating custom composite models (Components) in the 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 IoT SiteWise resources in the 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 IoT SiteWise resources in the IoT SiteWise User Guide.
tags
- A list of key-value pairs that contain metadata for the asset model. For more information, see Tagging your IoT
SiteWise resources in the 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 IoT SiteWise resources in the IoT SiteWise User Guide.
tags
- A list of key-value pairs that contain metadata for the asset model. For more information, see Tagging your IoT
SiteWise resources in the IoT SiteWise User Guide.public CreateAssetModelRequest addTagsEntry(String key, String value)
public CreateAssetModelRequest clearTagsEntries()
public void setAssetModelId(String assetModelId)
The ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
assetModelId
- The ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you,
so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify
it here in UUID format. If you specify your own ID, it must be globally unique.public String getAssetModelId()
The ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
public CreateAssetModelRequest withAssetModelId(String assetModelId)
The ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
assetModelId
- The ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you,
so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify
it here in UUID format. If you specify your own ID, it must be globally unique.public void setAssetModelExternalId(String assetModelExternalId)
An external ID to assign to the asset model. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
assetModelExternalId
- An external ID to assign to the asset model. The external ID must be unique within your Amazon Web
Services account. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String getAssetModelExternalId()
An external ID to assign to the asset model. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
public CreateAssetModelRequest withAssetModelExternalId(String assetModelExternalId)
An external ID to assign to the asset model. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
assetModelExternalId
- An external ID to assign to the asset model. The external ID must be unique within your Amazon Web
Services account. For more information, see Using
external IDs in the IoT SiteWise User Guide.public void setAssetModelType(String assetModelType)
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
- 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 getAssetModelType()
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 CreateAssetModelRequest withAssetModelType(String assetModelType)
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
- 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 CreateAssetModelRequest withAssetModelType(AssetModelType assetModelType)
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
- 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 CreateAssetModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()