Interface ServiceOperationEntity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceOperationEntity.Builder,,ServiceOperationEntity> SdkBuilder<ServiceOperationEntity.Builder,,ServiceOperationEntity> SdkPojo
- Enclosing class:
ServiceOperationEntity
@Mutable
@NotThreadSafe
public static interface ServiceOperationEntity.Builder
extends SdkPojo, CopyableBuilder<ServiceOperationEntity.Builder,ServiceOperationEntity>
-
Method Summary
Modifier and TypeMethodDescriptionmetricType(String metricType) The type of metric associated with this service operation.The name of the operation.default ServiceOperationEntity.Builderservice(Consumer<ServiceEntity.Builder> service) The service entity that contains this operation.service(ServiceEntity service) The service entity that contains this operation.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
-
service
The service entity that contains this operation.
- Parameters:
service- The service entity that contains this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
The service entity that contains this operation.
This is a convenience method that creates an instance of theServiceEntity.Builderavoiding the need to create one manually viaServiceEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toservice(ServiceEntity).- Parameters:
service- a consumer that will call methods onServiceEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operation
The name of the operation.
- Parameters:
operation- The name of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricType
The type of metric associated with this service operation.
- Parameters:
metricType- The type of metric associated with this service operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-