Interface Customer.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Customer.Builder,
,Customer> SdkBuilder<Customer.Builder,
,Customer> SdkPojo
- Enclosing class:
Customer
@Mutable
@NotThreadSafe
public static interface Customer.Builder
extends SdkPojo, CopyableBuilder<Customer.Builder,Customer>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Customer.Builder
capabilities
(Consumer<ParticipantCapabilities.Builder> capabilities) Sets the value of the Capabilities property for this object.capabilities
(ParticipantCapabilities capabilities) Sets the value of the Capabilities property for this object.default Customer.Builder
deviceInfo
(Consumer<DeviceInfo.Builder> deviceInfo) Information regarding Customer’s device.deviceInfo
(DeviceInfo deviceInfo) Information regarding Customer’s device.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, sdkFieldNameToField, sdkFields
-
Method Details
-
deviceInfo
Information regarding Customer’s device.
- Parameters:
deviceInfo
- Information regarding Customer’s device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceInfo
Information regarding Customer’s device.
This is a convenience method that creates an instance of theDeviceInfo.Builder
avoiding the need to create one manually viaDeviceInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceInfo(DeviceInfo)
.- Parameters:
deviceInfo
- a consumer that will call methods onDeviceInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capabilities
Sets the value of the Capabilities property for this object.- Parameters:
capabilities
- The new value for the Capabilities property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
Sets the value of the Capabilities property for this object. This is a convenience method that creates an instance of theParticipantCapabilities.Builder
avoiding the need to create one manually viaParticipantCapabilities.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapabilities(ParticipantCapabilities)
.- Parameters:
capabilities
- a consumer that will call methods onParticipantCapabilities.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-