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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetSceneResponse.Builderarn(String arn)The ARN of the scene.GetSceneResponse.Buildercapabilities(String... capabilities)A list of capabilities that the scene uses to render.GetSceneResponse.Buildercapabilities(Collection<String> capabilities)A list of capabilities that the scene uses to render.GetSceneResponse.BuildercontentLocation(String contentLocation)The relative path that specifies the location of the content definition file.GetSceneResponse.BuildercreationDateTime(Instant creationDateTime)The date and time when the scene was created.GetSceneResponse.Builderdescription(String description)The description of the scene.default GetSceneResponse.Buildererror(Consumer<SceneError.Builder> error)The SceneResponse error.GetSceneResponse.Buildererror(SceneError error)The SceneResponse error.GetSceneResponse.BuildergeneratedSceneMetadata(Map<String,String> generatedSceneMetadata)The generated scene metadata.GetSceneResponse.BuildersceneId(String sceneId)The ID of the scene.GetSceneResponse.BuildersceneMetadata(Map<String,String> sceneMetadata)The response metadata.GetSceneResponse.BuilderupdateDateTime(Instant updateDateTime)The date and time when the scene was last updated.GetSceneResponse.BuilderworkspaceId(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
workspaceId
GetSceneResponse.Builder workspaceId(String 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
GetSceneResponse.Builder sceneId(String 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
GetSceneResponse.Builder contentLocation(String 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
GetSceneResponse.Builder arn(String 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
GetSceneResponse.Builder creationDateTime(Instant 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
GetSceneResponse.Builder updateDateTime(Instant 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
GetSceneResponse.Builder description(String 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
GetSceneResponse.Builder capabilities(Collection<String> 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
GetSceneResponse.Builder capabilities(String... 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
GetSceneResponse.Builder sceneMetadata(Map<String,String> 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
GetSceneResponse.Builder generatedSceneMetadata(Map<String,String> 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
GetSceneResponse.Builder error(SceneError 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
default GetSceneResponse.Builder error(Consumer<SceneError.Builder> error)
The SceneResponse error.
This is a convenience method that creates an instance of theSceneError.Builderavoiding the need to create one manually viaSceneError.builder().When the
Consumercompletes,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:
error(SceneError)
-
-