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.Buildercapabilities(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.BuilderdeviceInfo(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaDeviceInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaParticipantCapabilities.builder().When the
Consumercompletes,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:
-