@Generated(value="software.amazon.awssdk:codegen") public final class CreateAssetResponse extends IoTSiteWiseResponse implements ToCopyableBuilder<CreateAssetResponse.Builder,CreateAssetResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateAssetResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assetArn()
The ARN of the asset,
which has the following format.
|
String |
assetId()
The ID of the asset.
|
AssetStatus |
assetStatus()
The status of the asset, which contains a state (
CREATING after successfully calling this operation)
and any error message. |
static CreateAssetResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateAssetResponse.Builder> |
serializableBuilderClass() |
CreateAssetResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String assetId()
The ID of the asset. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise APIs.
public final String assetArn()
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 final AssetStatus assetStatus()
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 CreateAssetResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateAssetResponse.Builder,CreateAssetResponse>toBuilder in class AwsResponsepublic static CreateAssetResponse.Builder builder()
public static Class<? extends CreateAssetResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.