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 Details

    • 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

      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

      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

      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

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

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

      Parameters:
      status - a consumer that will call methods on Status.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

      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 compositeComponentTypes of the componentType. CompositeComponentType is referenced by componentTypeId.

      Parameters:
      compositeComponentTypes - This is an object that maps strings to compositeComponentTypes of the componentType. CompositeComponentType is referenced by componentTypeId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.