Interface GetSceneResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSceneResponse.Builder,
,GetSceneResponse> IoTTwinMakerResponse.Builder
,SdkBuilder<GetSceneResponse.Builder,
,GetSceneResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSceneResponse
public static interface GetSceneResponse.Builder
extends IoTTwinMakerResponse.Builder, SdkPojo, CopyableBuilder<GetSceneResponse.Builder,GetSceneResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the scene.capabilities
(String... capabilities) A list of capabilities that the scene uses to render.capabilities
(Collection<String> capabilities) A list of capabilities that the scene uses to render.contentLocation
(String contentLocation) The relative path that specifies the location of the content definition file.creationDateTime
(Instant creationDateTime) The date and time when the scene was created.description
(String description) The description of the scene.default GetSceneResponse.Builder
error
(Consumer<SceneError.Builder> error) The SceneResponse error.error
(SceneError error) The SceneResponse error.generatedSceneMetadata
(Map<String, String> generatedSceneMetadata) The generated scene metadata.The ID of the scene.sceneMetadata
(Map<String, String> sceneMetadata) The response metadata.updateDateTime
(Instant updateDateTime) The date and time when the scene was last updated.workspaceId
(String workspaceId) The ID of the workspace that contains the scene.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iottwinmaker.model.IoTTwinMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
workspaceId
The ID of the workspace that contains the scene.
- Parameters:
workspaceId
- The ID of the workspace that contains the scene.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sceneId
The ID of the scene.
- Parameters:
sceneId
- The ID of the scene.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentLocation
The relative path that specifies the location of the content definition file.
- Parameters:
contentLocation
- The relative path that specifies the location of the content definition file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the scene.
- Parameters:
arn
- The ARN of the scene.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
The date and time when the scene was created.
- Parameters:
creationDateTime
- The date and time when the scene was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateDateTime
The date and time when the scene was last updated.
- Parameters:
updateDateTime
- The date and time when the scene was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the scene.
- Parameters:
description
- The description of the scene.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
A list of capabilities that the scene uses to render.
- Parameters:
capabilities
- A list of capabilities that the scene uses to render.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
A list of capabilities that the scene uses to render.
- Parameters:
capabilities
- A list of capabilities that the scene uses to render.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sceneMetadata
The response metadata.
- Parameters:
sceneMetadata
- The response metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generatedSceneMetadata
The generated scene metadata.
- Parameters:
generatedSceneMetadata
- The generated scene metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
The SceneResponse error.
- Parameters:
error
- The SceneResponse error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
The SceneResponse error.
This is a convenience method that creates an instance of theSceneError.Builder
avoiding the need to create one manually viaSceneError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(SceneError)
.- Parameters:
error
- a consumer that will call methods onSceneError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-