Interface GetComponentTypeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetComponentTypeResponse.Builder,,GetComponentTypeResponse> IoTTwinMakerResponse.Builder,SdkBuilder<GetComponentTypeResponse.Builder,,GetComponentTypeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetComponentTypeResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the component type.componentTypeId(String componentTypeId) The ID of the component type.componentTypeName(String componentTypeName) The component type name.compositeComponentTypes(Map<String, CompositeComponentTypeResponse> compositeComponentTypes) This is an object that maps strings tocompositeComponentTypesof thecomponentType.creationDateTime(Instant creationDateTime) The date and time when the component type was created.description(String description) The description of the component type.extendsFrom(String... extendsFrom) The name of the parent component type that this component type extends.extendsFrom(Collection<String> extendsFrom) The name of the parent component type that this component type extends.functions(Map<String, FunctionResponse> functions) An object that maps strings to the functions in the component type.isAbstract(Boolean isAbstract) A Boolean value that specifies whether the component type is abstract.isSchemaInitialized(Boolean isSchemaInitialized) A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run.isSingleton(Boolean isSingleton) A Boolean value that specifies whether an entity can have more than one component of this type.propertyDefinitions(Map<String, PropertyDefinitionResponse> propertyDefinitions) An object that maps strings to the property definitions in the component type.propertyGroups(Map<String, PropertyGroupResponse> propertyGroups) The maximum number of results to return at one time.default GetComponentTypeResponse.Builderstatus(Consumer<Status.Builder> status) The current status of the component type.The current status of the component type.syncSource(String syncSource) The syncSource of the SyncJob, if this entity was created by a SyncJob.updateDateTime(Instant updateDateTime) The date and time when the component was last updated.workspaceId(String workspaceId) The ID of the workspace that contains the component type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iottwinmaker.model.IoTTwinMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
workspaceId
The ID of the workspace that contains the component type.
- Parameters:
workspaceId- The ID of the workspace that contains the component type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isSingleton
A Boolean value that specifies whether an entity can have more than one component of this type.
- Parameters:
isSingleton- A Boolean value that specifies whether an entity can have more than one component of this type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentTypeId
The ID of the component type.
- Parameters:
componentTypeId- The ID of the component type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the component type.
- Parameters:
description- The description of the component type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyDefinitions
GetComponentTypeResponse.Builder propertyDefinitions(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extendsFrom
The name of the parent component type that this component type extends.
- Parameters:
extendsFrom- The name of the parent component type that this component type extends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extendsFrom
The name of the parent component type that this component type extends.
- Parameters:
extendsFrom- The name of the parent component type that this component type extends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functions
An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.
- Parameters:
functions- An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
The date and time when the component type was created.
- Parameters:
creationDateTime- The date and time when the component type was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateDateTime
The date and time when the component was last updated.
- Parameters:
updateDateTime- The date and time when the component was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the component type.
- Parameters:
arn- The ARN of the component type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAbstract
A Boolean value that specifies whether the component type is abstract.
- Parameters:
isAbstract- A Boolean value that specifies whether the component type is abstract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isSchemaInitialized
A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run.
- Parameters:
isSchemaInitialized- A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the component type.
- Parameters:
status- The current status of the component type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the component type.
This is a convenience method that creates an instance of theStatus.Builderavoiding the need to create one manually viaStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(Status).- Parameters:
status- a consumer that will call methods onStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncSource
The syncSource of the SyncJob, if this entity was created by a SyncJob.
- Parameters:
syncSource- The syncSource of the SyncJob, if this entity was created by a SyncJob.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentTypeName
The component type name.
- Parameters:
componentTypeName- The component type name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compositeComponentTypes
GetComponentTypeResponse.Builder compositeComponentTypes(Map<String, CompositeComponentTypeResponse> compositeComponentTypes) This is an object that maps strings to
compositeComponentTypesof thecomponentType.CompositeComponentTypeis referenced bycomponentTypeId.- Parameters:
compositeComponentTypes- This is an object that maps strings tocompositeComponentTypesof thecomponentType.CompositeComponentTypeis referenced bycomponentTypeId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-