Interface GetComponentTypeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetComponentTypeResponse.Builder,GetComponentTypeResponse>,IoTTwinMakerResponse.Builder,SdkBuilder<GetComponentTypeResponse.Builder,GetComponentTypeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetComponentTypeResponse
public static interface GetComponentTypeResponse.Builder extends IoTTwinMakerResponse.Builder, SdkPojo, CopyableBuilder<GetComponentTypeResponse.Builder,GetComponentTypeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetComponentTypeResponse.Builderarn(String arn)The ARN of the component type.GetComponentTypeResponse.BuildercomponentTypeId(String componentTypeId)The ID of the component type.GetComponentTypeResponse.BuildercomponentTypeName(String componentTypeName)The component type name.GetComponentTypeResponse.BuildercompositeComponentTypes(Map<String,CompositeComponentTypeResponse> compositeComponentTypes)This is an object that maps strings tocompositeComponentTypesof thecomponentType.GetComponentTypeResponse.BuildercreationDateTime(Instant creationDateTime)The date and time when the component type was created.GetComponentTypeResponse.Builderdescription(String description)The description of the component type.GetComponentTypeResponse.BuilderextendsFrom(String... extendsFrom)The name of the parent component type that this component type extends.GetComponentTypeResponse.BuilderextendsFrom(Collection<String> extendsFrom)The name of the parent component type that this component type extends.GetComponentTypeResponse.Builderfunctions(Map<String,FunctionResponse> functions)An object that maps strings to the functions in the component type.GetComponentTypeResponse.BuilderisAbstract(Boolean isAbstract)A Boolean value that specifies whether the component type is abstract.GetComponentTypeResponse.BuilderisSchemaInitialized(Boolean isSchemaInitialized)A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run.GetComponentTypeResponse.BuilderisSingleton(Boolean isSingleton)A Boolean value that specifies whether an entity can have more than one component of this type.GetComponentTypeResponse.BuilderpropertyDefinitions(Map<String,PropertyDefinitionResponse> propertyDefinitions)An object that maps strings to the property definitions in the component type.GetComponentTypeResponse.BuilderpropertyGroups(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.GetComponentTypeResponse.Builderstatus(Status status)The current status of the component type.GetComponentTypeResponse.BuildersyncSource(String syncSource)The syncSource of the SyncJob, if this entity was created by a SyncJob.GetComponentTypeResponse.BuilderupdateDateTime(Instant updateDateTime)The date and time when the component was last updated.GetComponentTypeResponse.BuilderworkspaceId(String workspaceId)The ID of the workspace that contains the component type.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
workspaceId
GetComponentTypeResponse.Builder workspaceId(String 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
GetComponentTypeResponse.Builder isSingleton(Boolean 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
GetComponentTypeResponse.Builder componentTypeId(String 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
GetComponentTypeResponse.Builder description(String 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
GetComponentTypeResponse.Builder extendsFrom(Collection<String> 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
GetComponentTypeResponse.Builder extendsFrom(String... 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
GetComponentTypeResponse.Builder functions(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.
- 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
GetComponentTypeResponse.Builder creationDateTime(Instant 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
GetComponentTypeResponse.Builder updateDateTime(Instant 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
GetComponentTypeResponse.Builder arn(String 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
GetComponentTypeResponse.Builder isAbstract(Boolean 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
GetComponentTypeResponse.Builder isSchemaInitialized(Boolean 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
GetComponentTypeResponse.Builder status(Status 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
default GetComponentTypeResponse.Builder status(Consumer<Status.Builder> 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:
status(Status)
-
propertyGroups
GetComponentTypeResponse.Builder propertyGroups(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.
- 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
GetComponentTypeResponse.Builder syncSource(String 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
GetComponentTypeResponse.Builder componentTypeName(String 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.
-
-