Interface ThingTypeDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ThingTypeDefinition.Builder,
,ThingTypeDefinition> SdkBuilder<ThingTypeDefinition.Builder,
,ThingTypeDefinition> SdkPojo
- Enclosing class:
ThingTypeDefinition
-
Method Summary
Modifier and TypeMethodDescriptionthingTypeArn
(String thingTypeArn) The thing type ARN.default ThingTypeDefinition.Builder
thingTypeMetadata
(Consumer<ThingTypeMetadata.Builder> thingTypeMetadata) The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.thingTypeMetadata
(ThingTypeMetadata thingTypeMetadata) The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.thingTypeName
(String thingTypeName) The name of the thing type.default ThingTypeDefinition.Builder
thingTypeProperties
(Consumer<ThingTypeProperties.Builder> thingTypeProperties) The ThingTypeProperties for the thing type.thingTypeProperties
(ThingTypeProperties thingTypeProperties) The ThingTypeProperties for the thing type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
thingTypeName
The name of the thing type.
- Parameters:
thingTypeName
- The name of the thing type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingTypeArn
The thing type ARN.
- Parameters:
thingTypeArn
- The thing type ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingTypeProperties
The ThingTypeProperties for the thing type.
- Parameters:
thingTypeProperties
- The ThingTypeProperties for the thing type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingTypeProperties
default ThingTypeDefinition.Builder thingTypeProperties(Consumer<ThingTypeProperties.Builder> thingTypeProperties) The ThingTypeProperties for the thing type.
This is a convenience method that creates an instance of theThingTypeProperties.Builder
avoiding the need to create one manually viaThingTypeProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothingTypeProperties(ThingTypeProperties)
.- Parameters:
thingTypeProperties
- a consumer that will call methods onThingTypeProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
thingTypeMetadata
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.
- Parameters:
thingTypeMetadata
- The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingTypeMetadata
default ThingTypeDefinition.Builder thingTypeMetadata(Consumer<ThingTypeMetadata.Builder> thingTypeMetadata) The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.
This is a convenience method that creates an instance of theThingTypeMetadata.Builder
avoiding the need to create one manually viaThingTypeMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothingTypeMetadata(ThingTypeMetadata)
.- Parameters:
thingTypeMetadata
- a consumer that will call methods onThingTypeMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-