Interface Worker.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Worker.Builder,
,Worker> SdkBuilder<Worker.Builder,
,Worker> SdkPojo
- Enclosing class:
Worker
-
Method Summary
Modifier and TypeMethodDescriptionadditionalFixedProperties
(String additionalFixedProperties) Sets the value of the AdditionalFixedProperties property for this object.additionalTransientProperties
(String additionalTransientProperties) Sets the value of the AdditionalTransientProperties property for this object.Sets the value of the Arn property for this object.Sets the value of the CreatedAt property for this object.Sets the value of the Fleet property for this object.Sets the value of the Id property for this object.Sets the value of the Name property for this object.default Worker.Builder
orientation
(Consumer<Orientation.Builder> orientation) Sets the value of the Orientation property for this object.orientation
(Orientation orientation) Sets the value of the Orientation property for this object.default Worker.Builder
position
(Consumer<PositionCoordinates.Builder> position) Sets the value of the Position property for this object.position
(PositionCoordinates position) Sets the value of the Position property for this object.Sets the value of the Site property for this object.Sets the value of the UpdatedAt property for this object.default Worker.Builder
vendorProperties
(Consumer<VendorProperties.Builder> vendorProperties) Sets the value of the VendorProperties property for this object.vendorProperties
(VendorProperties vendorProperties) Sets the value of the VendorProperties property for this object.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
-
arn
Sets the value of the Arn property for this object.- Parameters:
arn
- The new value for the Arn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
Sets the value of the Id property for this object.- Parameters:
id
- The new value for the Id property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleet
Sets the value of the Fleet property for this object.- Parameters:
fleet
- The new value for the Fleet property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Sets the value of the CreatedAt property for this object.- Parameters:
createdAt
- The new value for the CreatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
Sets the value of the UpdatedAt property for this object.- Parameters:
updatedAt
- The new value for the UpdatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Sets the value of the Name property for this object.- Parameters:
name
- The new value for the Name property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
site
Sets the value of the Site property for this object.- Parameters:
site
- The new value for the Site property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalTransientProperties
Sets the value of the AdditionalTransientProperties property for this object.- Parameters:
additionalTransientProperties
- The new value for the AdditionalTransientProperties property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalFixedProperties
Sets the value of the AdditionalFixedProperties property for this object.- Parameters:
additionalFixedProperties
- The new value for the AdditionalFixedProperties property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vendorProperties
Sets the value of the VendorProperties property for this object.- Parameters:
vendorProperties
- The new value for the VendorProperties property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vendorProperties
Sets the value of the VendorProperties property for this object. This is a convenience method that creates an instance of theVendorProperties.Builder
avoiding the need to create one manually viaVendorProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovendorProperties(VendorProperties)
.- Parameters:
vendorProperties
- a consumer that will call methods onVendorProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
position
Sets the value of the Position property for this object.- Parameters:
position
- The new value for the Position property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
Sets the value of the Position property for this object. This is a convenience method that creates an instance of thePositionCoordinates.Builder
avoiding the need to create one manually viaPositionCoordinates.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toposition(PositionCoordinates)
.- Parameters:
position
- a consumer that will call methods onPositionCoordinates.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
orientation
Sets the value of the Orientation property for this object.- Parameters:
orientation
- The new value for the Orientation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orientation
Sets the value of the Orientation property for this object. This is a convenience method that creates an instance of theOrientation.Builder
avoiding the need to create one manually viaOrientation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorientation(Orientation)
.- Parameters:
orientation
- a consumer that will call methods onOrientation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-