Interface ThingTypeDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ThingTypeDefinition.Builder,ThingTypeDefinition>,SdkBuilder<ThingTypeDefinition.Builder,ThingTypeDefinition>,SdkPojo
- Enclosing class:
- ThingTypeDefinition
public static interface ThingTypeDefinition.Builder extends SdkPojo, CopyableBuilder<ThingTypeDefinition.Builder,ThingTypeDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ThingTypeDefinition.BuilderthingTypeArn(String thingTypeArn)The thing type ARN.default ThingTypeDefinition.BuilderthingTypeMetadata(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.ThingTypeDefinition.BuilderthingTypeMetadata(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.ThingTypeDefinition.BuilderthingTypeName(String thingTypeName)The name of the thing type.default ThingTypeDefinition.BuilderthingTypeProperties(Consumer<ThingTypeProperties.Builder> thingTypeProperties)The ThingTypeProperties for the thing type.ThingTypeDefinition.BuilderthingTypeProperties(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 Detail
-
thingTypeName
ThingTypeDefinition.Builder thingTypeName(String 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
ThingTypeDefinition.Builder thingTypeArn(String 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
ThingTypeDefinition.Builder thingTypeProperties(ThingTypeProperties 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.Builderavoiding the need to create one manually viaThingTypeProperties.builder().When the
Consumercompletes,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:
thingTypeProperties(ThingTypeProperties)
-
thingTypeMetadata
ThingTypeDefinition.Builder 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.
- 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.Builderavoiding the need to create one manually viaThingTypeMetadata.builder().When the
Consumercompletes,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:
thingTypeMetadata(ThingTypeMetadata)
-
-