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.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.Builder
parentEntityUpdate
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iottwinmaker.model.IoTTwinMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.
-
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.Builder
avoiding the need to create one manually viaParentEntityUpdateRequest.builder()
.When the
Consumer
completes,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.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
UpdateEntityRequest.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.
-