Class DeleteAssetModelCompositeModelRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest
-
- software.amazon.awssdk.services.iotsitewise.model.DeleteAssetModelCompositeModelRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteAssetModelCompositeModelRequest.Builder,DeleteAssetModelCompositeModelRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteAssetModelCompositeModelRequest extends IoTSiteWiseRequest implements ToCopyableBuilder<DeleteAssetModelCompositeModelRequest.Builder,DeleteAssetModelCompositeModelRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteAssetModelCompositeModelRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassetModelCompositeModelId()The ID of a composite model on this asset model.StringassetModelId()The ID of the asset model, in UUID format.static DeleteAssetModelCompositeModelRequest.Builderbuilder()StringclientToken()A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringifMatch()The expected current entity tag (ETag) for the asset model’s latest or active version (specified usingmatchForVersionType).StringifNoneMatch()Accepts * to reject the delete request if an active version (specified usingmatchForVersionTypeasACTIVE) already exists for the asset model.AssetModelVersionTypematchForVersionType()Specifies the asset model version type (LATESTorACTIVE) used in conjunction withIf-MatchorIf-None-Matchheaders to determine the target ETag for the delete operation.StringmatchForVersionTypeAsString()Specifies the asset model version type (LATESTorACTIVE) used in conjunction withIf-MatchorIf-None-Matchheaders to determine the target ETag for the delete operation.List<SdkField<?>>sdkFields()static Class<? extends DeleteAssetModelCompositeModelRequest.Builder>serializableBuilderClass()DeleteAssetModelCompositeModelRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
assetModelId
public final String assetModelId()
The ID of the asset model, in UUID format.
- Returns:
- The ID of the asset model, in UUID format.
-
assetModelCompositeModelId
public final String assetModelCompositeModelId()
The ID of a composite model on this asset model.
- Returns:
- The ID of a composite model on this asset model.
-
clientToken
public final 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.
- Returns:
- 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.
-
ifMatch
public final String ifMatch()
The expected current entity tag (ETag) for the asset model’s latest or active version (specified using
matchForVersionType). The delete request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.- Returns:
- The expected current entity tag (ETag) for the asset model’s latest or active version (specified using
matchForVersionType). The delete request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.
-
ifNoneMatch
public final String ifNoneMatch()
Accepts * to reject the delete request if an active version (specified using
matchForVersionTypeasACTIVE) already exists for the asset model.- Returns:
- Accepts * to reject the delete request if an active version (specified using
matchForVersionTypeasACTIVE) already exists for the asset model.
-
matchForVersionType
public final AssetModelVersionType matchForVersionType()
Specifies the asset model version type (
LATESTorACTIVE) used in conjunction withIf-MatchorIf-None-Matchheaders to determine the target ETag for the delete operation.If the service returns an enum value that is not available in the current SDK version,
matchForVersionTypewill returnAssetModelVersionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommatchForVersionTypeAsString().- Returns:
- Specifies the asset model version type (
LATESTorACTIVE) used in conjunction withIf-MatchorIf-None-Matchheaders to determine the target ETag for the delete operation. - See Also:
AssetModelVersionType
-
matchForVersionTypeAsString
public final String matchForVersionTypeAsString()
Specifies the asset model version type (
LATESTorACTIVE) used in conjunction withIf-MatchorIf-None-Matchheaders to determine the target ETag for the delete operation.If the service returns an enum value that is not available in the current SDK version,
matchForVersionTypewill returnAssetModelVersionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommatchForVersionTypeAsString().- Returns:
- Specifies the asset model version type (
LATESTorACTIVE) used in conjunction withIf-MatchorIf-None-Matchheaders to determine the target ETag for the delete operation. - See Also:
AssetModelVersionType
-
toBuilder
public DeleteAssetModelCompositeModelRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteAssetModelCompositeModelRequest.Builder,DeleteAssetModelCompositeModelRequest>- Specified by:
toBuilderin classIoTSiteWiseRequest
-
builder
public static DeleteAssetModelCompositeModelRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteAssetModelCompositeModelRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-