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 Details

    • 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

      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

      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 the SceneError.Builder avoiding the need to create one manually via SceneError.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to error(SceneError).

      Parameters:
      error - a consumer that will call methods on SceneError.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: