@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAssetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateAssetResult() |
Modifier and Type | Method and Description |
---|---|
CreateAssetResult |
clone() |
boolean |
equals(Object obj) |
String |
getAssetArn()
The ARN of the asset,
which has the following format.
|
String |
getAssetId()
The ID of the asset.
|
AssetStatus |
getAssetStatus()
The status of the asset, which contains a state (
CREATING after successfully calling this operation)
and any error message. |
int |
hashCode() |
void |
setAssetArn(String assetArn)
The ARN of the asset,
which has the following format.
|
void |
setAssetId(String assetId)
The ID of the asset.
|
void |
setAssetStatus(AssetStatus assetStatus)
The status of the asset, which contains a state (
CREATING after successfully calling this operation)
and any error message. |
String |
toString()
Returns a string representation of this object.
|
CreateAssetResult |
withAssetArn(String assetArn)
The ARN of the asset,
which has the following format.
|
CreateAssetResult |
withAssetId(String assetId)
The ID of the asset.
|
CreateAssetResult |
withAssetStatus(AssetStatus assetStatus)
The status of the asset, which contains a state (
CREATING after successfully calling this operation)
and any error message. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAssetId(String assetId)
The ID of the asset. This ID uniquely identifies the asset within AWS IoT SiteWise and can be used with other AWS IoT SiteWise APIs.
assetId
- The ID of the asset. This ID uniquely identifies the asset within AWS IoT SiteWise and can be used with
other AWS IoT SiteWise APIs.public String getAssetId()
The ID of the asset. This ID uniquely identifies the asset within AWS IoT SiteWise and can be used with other AWS IoT SiteWise APIs.
public CreateAssetResult withAssetId(String assetId)
The ID of the asset. This ID uniquely identifies the asset within AWS IoT SiteWise and can be used with other AWS IoT SiteWise APIs.
assetId
- The ID of the asset. This ID uniquely identifies the asset within AWS IoT SiteWise and can be used with
other AWS IoT SiteWise APIs.public void setAssetArn(String assetArn)
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
assetArn
- The ARN of the
asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
public String getAssetArn()
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
public CreateAssetResult withAssetArn(String assetArn)
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
assetArn
- The ARN of the
asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
public void setAssetStatus(AssetStatus assetStatus)
The status of the asset, which contains a state (CREATING
after successfully calling this operation)
and any error message.
assetStatus
- The status of the asset, which contains a state (CREATING
after successfully calling this
operation) and any error message.public AssetStatus getAssetStatus()
The status of the asset, 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 CreateAssetResult withAssetStatus(AssetStatus assetStatus)
The status of the asset, which contains a state (CREATING
after successfully calling this operation)
and any error message.
assetStatus
- The status of the asset, which contains a state (CREATING
after successfully calling this
operation) and any error message.public String toString()
toString
in class Object
Object.toString()
public CreateAssetResult clone()