@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAssetModelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateAssetModelResult() |
Modifier and Type | Method and Description |
---|---|
CreateAssetModelResult |
clone() |
boolean |
equals(Object obj) |
String |
getAssetModelArn()
The ARN of the asset
model, which has the following format.
|
String |
getAssetModelId()
The ID of the asset model, in UUID format.
|
AssetModelStatus |
getAssetModelStatus()
The status of the asset model, which contains a state (
CREATING after successfully calling this
operation) and any error message. |
int |
hashCode() |
void |
setAssetModelArn(String assetModelArn)
The ARN of the asset
model, which has the following format.
|
void |
setAssetModelId(String assetModelId)
The ID of the asset model, in UUID format.
|
void |
setAssetModelStatus(AssetModelStatus assetModelStatus)
The status of the asset model, which contains a state (
CREATING after successfully calling this
operation) and any error message. |
String |
toString()
Returns a string representation of this object.
|
CreateAssetModelResult |
withAssetModelArn(String assetModelArn)
The ARN of the asset
model, which has the following format.
|
CreateAssetModelResult |
withAssetModelId(String assetModelId)
The ID of the asset model, in UUID format.
|
CreateAssetModelResult |
withAssetModelStatus(AssetModelStatus assetModelStatus)
The status of the asset model, which contains a state (
CREATING after successfully calling this
operation) and any error message. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAssetModelId(String assetModelId)
The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.
assetModelId
- The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API
operations.public String getAssetModelId()
The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.
public CreateAssetModelResult withAssetModelId(String assetModelId)
The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.
assetModelId
- The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API
operations.public void setAssetModelArn(String assetModelArn)
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
assetModelArn
- The ARN of the
asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
public String getAssetModelArn()
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
public CreateAssetModelResult withAssetModelArn(String assetModelArn)
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
assetModelArn
- The ARN of the
asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
public void setAssetModelStatus(AssetModelStatus assetModelStatus)
The status of the asset model, which contains a state (CREATING
after successfully calling this
operation) and any error message.
assetModelStatus
- The status of the asset model, which contains a state (CREATING
after successfully calling
this operation) and any error message.public AssetModelStatus getAssetModelStatus()
The status of the asset model, which contains a state (CREATING
after successfully calling this
operation) and any error message.
CREATING
after successfully calling
this operation) and any error message.public CreateAssetModelResult withAssetModelStatus(AssetModelStatus assetModelStatus)
The status of the asset model, which contains a state (CREATING
after successfully calling this
operation) and any error message.
assetModelStatus
- The status of the asset model, which contains a state (CREATING
after successfully calling
this operation) and any error message.public String toString()
toString
in class Object
Object.toString()
public CreateAssetModelResult clone()