@Generated(value="software.amazon.awssdk:codegen") public final class GetComponentTypeResponse extends IoTTwinMakerResponse implements ToCopyableBuilder<GetComponentTypeResponse.Builder,GetComponentTypeResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetComponentTypeResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the component type.
|
static GetComponentTypeResponse.Builder |
builder() |
String |
componentTypeId()
The ID of the component type.
|
String |
componentTypeName()
The component type name.
|
Instant |
creationDateTime()
The date and time when the component type was created.
|
String |
description()
The description of the component type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
extendsFrom()
The name of the parent component type that this component type extends.
|
Map<String,FunctionResponse> |
functions()
An object that maps strings to the functions in the component type.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExtendsFrom()
For responses, this returns true if the service returned a value for the ExtendsFrom property.
|
boolean |
hasFunctions()
For responses, this returns true if the service returned a value for the Functions property.
|
int |
hashCode() |
boolean |
hasPropertyDefinitions()
For responses, this returns true if the service returned a value for the PropertyDefinitions property.
|
boolean |
hasPropertyGroups()
For responses, this returns true if the service returned a value for the PropertyGroups property.
|
Boolean |
isAbstract()
A Boolean value that specifies whether the component type is abstract.
|
Boolean |
isSchemaInitialized()
A Boolean value that specifies whether the component type has a schema initializer and that the schema
initializer has run.
|
Boolean |
isSingleton()
A Boolean value that specifies whether an entity can have more than one component of this type.
|
Map<String,PropertyDefinitionResponse> |
propertyDefinitions()
An object that maps strings to the property definitions in the component type.
|
Map<String,PropertyGroupResponse> |
propertyGroups()
The maximum number of results to return at one time.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetComponentTypeResponse.Builder> |
serializableBuilderClass() |
Status |
status()
The current status of the component type.
|
String |
syncSource()
The syncSource of the SyncJob, if this entity was created by a SyncJob.
|
GetComponentTypeResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updateDateTime()
The date and time when the component was last updated.
|
String |
workspaceId()
The ID of the workspace that contains the component type.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String workspaceId()
The ID of the workspace that contains the component type.
public final Boolean isSingleton()
A Boolean value that specifies whether an entity can have more than one component of this type.
public final String componentTypeId()
The ID of the component type.
public final String description()
The description of the component type.
public final boolean hasPropertyDefinitions()
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,PropertyDefinitionResponse> propertyDefinitions()
An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.
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 hasPropertyDefinitions() method.
public final boolean hasExtendsFrom()
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> extendsFrom()
The name of the parent component type that this component type extends.
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 hasExtendsFrom() method.
public final boolean hasFunctions()
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,FunctionResponse> functions()
An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.
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 hasFunctions() method.
public final Instant creationDateTime()
The date and time when the component type was created.
public final Instant updateDateTime()
The date and time when the component was last updated.
public final String arn()
The ARN of the component type.
public final Boolean isAbstract()
A Boolean value that specifies whether the component type is abstract.
public final Boolean isSchemaInitialized()
A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run.
public final Status status()
The current status of the component type.
public final boolean hasPropertyGroups()
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,PropertyGroupResponse> propertyGroups()
The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
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 hasPropertyGroups() method.
Valid Range: Minimum value of 1. Maximum value of 250.
public final String syncSource()
The syncSource of the SyncJob, if this entity was created by a SyncJob.
public final String componentTypeName()
The component type name.
public GetComponentTypeResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetComponentTypeResponse.Builder,GetComponentTypeResponse>toBuilder in class AwsResponsepublic static GetComponentTypeResponse.Builder builder()
public static Class<? extends GetComponentTypeResponse.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.