Interface CreateWorkerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateWorkerRequest.Builder,
,CreateWorkerRequest> IotRoboRunnerRequest.Builder
,SdkBuilder<CreateWorkerRequest.Builder,
,CreateWorkerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateWorkerRequest
public static interface CreateWorkerRequest.Builder
extends IotRoboRunnerRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkerRequest.Builder,CreateWorkerRequest>
-
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.clientToken
(String clientToken) Sets the value of the ClientToken property for this object.Sets the value of the Fleet property for this object.Sets the value of the Name property for this object.default CreateWorkerRequest.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.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateWorkerRequest.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.default CreateWorkerRequest.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.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotroborunner.model.IotRoboRunnerRequest.Builder
build
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
-
clientToken
Sets the value of the ClientToken property for this object.- Parameters:
clientToken
- The new value for the ClientToken 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.
-
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.
-
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
default CreateWorkerRequest.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.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:
-
overrideConfiguration
CreateWorkerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateWorkerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-