Interface UpdateEntityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateEntityRequest.Builder,,UpdateEntityRequest> IoTTwinMakerRequest.Builder,SdkBuilder<UpdateEntityRequest.Builder,,UpdateEntityRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateEntityRequest
public static interface UpdateEntityRequest.Builder
extends IoTTwinMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateEntityRequest.Builder,UpdateEntityRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncomponentUpdates(Map<String, ComponentUpdateRequest> componentUpdates) An object that maps strings to the component updates in the request.compositeComponentUpdates(Map<String, CompositeComponentUpdateRequest> compositeComponentUpdates) This is an object that maps strings tocompositeComponentupdates in the request.description(String description) The description of the entity.The ID of the entity.entityName(String entityName) The name of the entity.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateEntityRequest.BuilderparentEntityUpdate(Consumer<ParentEntityUpdateRequest.Builder> parentEntityUpdate) An object that describes the update request for a parent entity.parentEntityUpdate(ParentEntityUpdateRequest parentEntityUpdate) An object that describes the update request for a parent entity.workspaceId(String workspaceId) The ID of the workspace that contains the entity.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iottwinmaker.model.IoTTwinMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
workspaceId
The ID of the workspace that contains the entity.
- Parameters:
workspaceId- The ID of the workspace that contains the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityId
The ID of the entity.
- Parameters:
entityId- The ID of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityName
The name of the entity.
- Parameters:
entityName- The name of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the entity.
- Parameters:
description- The description of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentUpdates
An object that maps strings to the component updates in the request. Each string in the mapping must be unique to this object.
- Parameters:
componentUpdates- An object that maps strings to the component updates in the request. Each string in the mapping must be unique to this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compositeComponentUpdates
UpdateEntityRequest.Builder compositeComponentUpdates(Map<String, CompositeComponentUpdateRequest> compositeComponentUpdates) This is an object that maps strings to
compositeComponentupdates in the request. Each key of the map represents thecomponentPathof thecompositeComponent.- Parameters:
compositeComponentUpdates- This is an object that maps strings tocompositeComponentupdates in the request. Each key of the map represents thecomponentPathof thecompositeComponent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentEntityUpdate
An object that describes the update request for a parent entity.
- Parameters:
parentEntityUpdate- An object that describes the update request for a parent entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentEntityUpdate
default UpdateEntityRequest.Builder parentEntityUpdate(Consumer<ParentEntityUpdateRequest.Builder> parentEntityUpdate) An object that describes the update request for a parent entity.
This is a convenience method that creates an instance of theParentEntityUpdateRequest.Builderavoiding the need to create one manually viaParentEntityUpdateRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparentEntityUpdate(ParentEntityUpdateRequest).- Parameters:
parentEntityUpdate- a consumer that will call methods onParentEntityUpdateRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateEntityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateEntityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-