Interface AnomalousService.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnomalousService.Builder,
,AnomalousService> SdkBuilder<AnomalousService.Builder,
,AnomalousService> SdkPojo
- Enclosing class:
AnomalousService
public static interface AnomalousService.Builder
extends SdkPojo, CopyableBuilder<AnomalousService.Builder,AnomalousService>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AnomalousService.Builder
serviceId
(Consumer<ServiceId.Builder> serviceId) Sets the value of the ServiceId property for this object.Sets the value of the ServiceId 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 Details
-
serviceId
Sets the value of the ServiceId property for this object.- Parameters:
serviceId
- The new value for the ServiceId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceId
Sets the value of the ServiceId property for this object. This is a convenience method that creates an instance of theServiceId.Builder
avoiding the need to create one manually viaServiceId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceId(ServiceId)
.- Parameters:
serviceId
- a consumer that will call methods onServiceId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-