Interface PutAssetModelInterfaceRelationshipRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutAssetModelInterfaceRelationshipRequest.Builder,
,PutAssetModelInterfaceRelationshipRequest> IoTSiteWiseRequest.Builder
,SdkBuilder<PutAssetModelInterfaceRelationshipRequest.Builder,
,PutAssetModelInterfaceRelationshipRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutAssetModelInterfaceRelationshipRequest
-
Method Summary
Modifier and TypeMethodDescriptionassetModelId
(String assetModelId) The ID of the asset model.clientToken
(String clientToken) A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.interfaceAssetModelId
(String interfaceAssetModelId) The ID of the interface asset model.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.propertyMappingConfiguration
(Consumer<PropertyMappingConfiguration.Builder> propertyMappingConfiguration) The configuration for mapping properties from the interface asset model to the asset model where the interface is applied.propertyMappingConfiguration
(PropertyMappingConfiguration propertyMappingConfiguration) The configuration for mapping properties from the interface asset model to the asset model where the interface is applied.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
assetModelId
The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.
- Parameters:
assetModelId
- The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interfaceAssetModelId
PutAssetModelInterfaceRelationshipRequest.Builder interfaceAssetModelId(String interfaceAssetModelId) The ID of the interface asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.
- Parameters:
interfaceAssetModelId
- The ID of the interface asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyMappingConfiguration
PutAssetModelInterfaceRelationshipRequest.Builder propertyMappingConfiguration(PropertyMappingConfiguration propertyMappingConfiguration) The configuration for mapping properties from the interface asset model to the asset model where the interface is applied. This configuration controls how properties are matched and created during the interface application process.
- Parameters:
propertyMappingConfiguration
- The configuration for mapping properties from the interface asset model to the asset model where the interface is applied. This configuration controls how properties are matched and created during the interface application process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyMappingConfiguration
default PutAssetModelInterfaceRelationshipRequest.Builder propertyMappingConfiguration(Consumer<PropertyMappingConfiguration.Builder> propertyMappingConfiguration) The configuration for mapping properties from the interface asset model to the asset model where the interface is applied. This configuration controls how properties are matched and created during the interface application process.
This is a convenience method that creates an instance of thePropertyMappingConfiguration.Builder
avoiding the need to create one manually viaPropertyMappingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topropertyMappingConfiguration(PropertyMappingConfiguration)
.- Parameters:
propertyMappingConfiguration
- a consumer that will call methods onPropertyMappingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutAssetModelInterfaceRelationshipRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutAssetModelInterfaceRelationshipRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-