Interface Customer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Customer.Builder,Customer>,SdkBuilder<Customer.Builder,Customer>,SdkPojo
- Enclosing class:
- Customer
public static interface Customer.Builder extends SdkPojo, CopyableBuilder<Customer.Builder,Customer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Customer.Buildercapabilities(Consumer<ParticipantCapabilities.Builder> capabilities)Sets the value of the Capabilities property for this object.Customer.Buildercapabilities(ParticipantCapabilities capabilities)Sets the value of the Capabilities property for this object.default Customer.BuilderdeviceInfo(Consumer<DeviceInfo.Builder> deviceInfo)Information regarding Customer’s device.Customer.BuilderdeviceInfo(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, sdkFields
-
-
-
-
Method Detail
-
deviceInfo
Customer.Builder deviceInfo(DeviceInfo 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
default Customer.Builder deviceInfo(Consumer<DeviceInfo.Builder> 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:
deviceInfo(DeviceInfo)
-
capabilities
Customer.Builder capabilities(ParticipantCapabilities 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
default Customer.Builder capabilities(Consumer<ParticipantCapabilities.Builder> 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:
capabilities(ParticipantCapabilities)
-
-