@Generated(value="software.amazon.awssdk:codegen") public final class GetSceneResponse extends IoTTwinMakerResponse implements ToCopyableBuilder<GetSceneResponse.Builder,GetSceneResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetSceneResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the scene.
|
static GetSceneResponse.Builder |
builder() |
List<String> |
capabilities()
A list of capabilities that the scene uses to render.
|
String |
contentLocation()
The relative path that specifies the location of the content definition file.
|
Instant |
creationDateTime()
The date and time when the scene was created.
|
String |
description()
The description of the scene.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
SceneError |
error()
The SceneResponse error.
|
Map<String,String> |
generatedSceneMetadata()
The generated scene metadata.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCapabilities()
For responses, this returns true if the service returned a value for the Capabilities property.
|
boolean |
hasGeneratedSceneMetadata()
For responses, this returns true if the service returned a value for the GeneratedSceneMetadata property.
|
int |
hashCode() |
boolean |
hasSceneMetadata()
For responses, this returns true if the service returned a value for the SceneMetadata property.
|
String |
sceneId()
The ID of the scene.
|
Map<String,String> |
sceneMetadata()
The response metadata.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetSceneResponse.Builder> |
serializableBuilderClass() |
GetSceneResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updateDateTime()
The date and time when the scene was last updated.
|
String |
workspaceId()
The ID of the workspace that contains the scene.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String workspaceId()
The ID of the workspace that contains the scene.
public final String sceneId()
The ID of the scene.
public final String contentLocation()
The relative path that specifies the location of the content definition file.
public final String arn()
The ARN of the scene.
public final Instant creationDateTime()
The date and time when the scene was created.
public final Instant updateDateTime()
The date and time when the scene was last updated.
public final String description()
The description of the scene.
public final boolean hasCapabilities()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> capabilities()
A list of capabilities that the scene uses to render.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCapabilities() method.
public final boolean hasSceneMetadata()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> sceneMetadata()
The response metadata.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSceneMetadata() method.
public final boolean hasGeneratedSceneMetadata()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final Map<String,String> generatedSceneMetadata()
The generated scene metadata.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasGeneratedSceneMetadata() method.
public final SceneError error()
The SceneResponse error.
public GetSceneResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetSceneResponse.Builder,GetSceneResponse>toBuilder in class AwsResponsepublic static GetSceneResponse.Builder builder()
public static Class<? extends GetSceneResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.