Interface Worker.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Worker.Builder,Worker>,SdkBuilder<Worker.Builder,Worker>,SdkPojo
- Enclosing class:
- Worker
public static interface Worker.Builder extends SdkPojo, CopyableBuilder<Worker.Builder,Worker>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Worker.BuilderadditionalFixedProperties(String additionalFixedProperties)Sets the value of the AdditionalFixedProperties property for this object.Worker.BuilderadditionalTransientProperties(String additionalTransientProperties)Sets the value of the AdditionalTransientProperties property for this object.Worker.Builderarn(String arn)Sets the value of the Arn property for this object.Worker.BuildercreatedAt(Instant createdAt)Sets the value of the CreatedAt property for this object.Worker.Builderfleet(String fleet)Sets the value of the Fleet property for this object.Worker.Builderid(String id)Sets the value of the Id property for this object.Worker.Buildername(String name)Sets the value of the Name property for this object.default Worker.Builderorientation(Consumer<Orientation.Builder> orientation)Sets the value of the Orientation property for this object.Worker.Builderorientation(Orientation orientation)Sets the value of the Orientation property for this object.default Worker.Builderposition(Consumer<PositionCoordinates.Builder> position)Sets the value of the Position property for this object.Worker.Builderposition(PositionCoordinates position)Sets the value of the Position property for this object.Worker.Buildersite(String site)Sets the value of the Site property for this object.Worker.BuilderupdatedAt(Instant updatedAt)Sets the value of the UpdatedAt property for this object.default Worker.BuildervendorProperties(Consumer<VendorProperties.Builder> vendorProperties)Sets the value of the VendorProperties property for this object.Worker.BuildervendorProperties(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 Detail
-
arn
Worker.Builder arn(String 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
Worker.Builder id(String 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
Worker.Builder fleet(String 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
Worker.Builder createdAt(Instant 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
Worker.Builder updatedAt(Instant 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
Worker.Builder name(String 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
Worker.Builder site(String 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
Worker.Builder additionalTransientProperties(String 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
Worker.Builder additionalFixedProperties(String 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
Worker.Builder vendorProperties(VendorProperties 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
default Worker.Builder vendorProperties(Consumer<VendorProperties.Builder> vendorProperties)
Sets the value of the VendorProperties property for this object. This is a convenience method that creates an instance of theVendorProperties.Builderavoiding the need to create one manually viaVendorProperties.builder().When the
Consumercompletes,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:
vendorProperties(VendorProperties)
-
position
Worker.Builder position(PositionCoordinates 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
default Worker.Builder position(Consumer<PositionCoordinates.Builder> position)
Sets the value of the Position property for this object. This is a convenience method that creates an instance of thePositionCoordinates.Builderavoiding the need to create one manually viaPositionCoordinates.builder().When the
Consumercompletes,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:
position(PositionCoordinates)
-
orientation
Worker.Builder orientation(Orientation 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
default Worker.Builder orientation(Consumer<Orientation.Builder> orientation)
Sets the value of the Orientation property for this object. This is a convenience method that creates an instance of theOrientation.Builderavoiding the need to create one manually viaOrientation.builder().When the
Consumercompletes,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:
orientation(Orientation)
-
-