Interface CreateEntityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateEntityRequest.Builder,
,CreateEntityRequest> IoTTwinMakerRequest.Builder
,SdkBuilder<CreateEntityRequest.Builder,
,CreateEntityRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateEntityRequest
@Mutable
@NotThreadSafe
public static interface CreateEntityRequest.Builder
extends IoTTwinMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateEntityRequest.Builder,CreateEntityRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncomponents
(Map<String, ComponentRequest> components) An object that maps strings to the components in the entity.compositeComponents
(Map<String, CompositeComponentRequest> compositeComponents) This is an object that maps strings tocompositeComponent
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.parentEntityId
(String parentEntityId) The ID of the entity's parent entity.Metadata that you can use to manage the 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, sdkFieldNameToField, 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.
-
components
An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.
- Parameters:
components
- An object that maps strings to the components in the entity. 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.
-
compositeComponents
CreateEntityRequest.Builder compositeComponents(Map<String, CompositeComponentRequest> compositeComponents) This is an object that maps strings to
compositeComponent
updates in the request. Each key of the map represents thecomponentPath
of thecompositeComponent
.- Parameters:
compositeComponents
- This is an object that maps strings tocompositeComponent
updates in the request. Each key of the map represents thecomponentPath
of thecompositeComponent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentEntityId
The ID of the entity's parent entity.
- Parameters:
parentEntityId
- The ID of the entity's parent entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that you can use to manage the entity.
- Parameters:
tags
- Metadata that you can use to manage the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateEntityRequest.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
CreateEntityRequest.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.
-