@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, in UUID format.
|
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, in UUID format.
|
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, in UUID format.
|
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, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise API operations.
assetId
- The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be
used with other IoT SiteWise API operations.public String getAssetId()
The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise API operations.
public CreateAssetResult withAssetId(String assetId)
The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise API operations.
assetId
- The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be
used with other IoT SiteWise API operations.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()