Class SrvcCancellationReasonText.SrvcCancellationReasonTextBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.servicecancellationreason.SrvcCancellationReasonText.SrvcCancellationReasonTextBuilder
- Enclosing class:
- SrvcCancellationReasonText
public static final class SrvcCancellationReasonText.SrvcCancellationReasonTextBuilder
extends Object
Helper class to allow for fluent creation of SrvcCancellationReasonText instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()(Key Field) Constraints: Not nullable, Maximum length: 2Navigation property _ServiceCancellationReason for SrvcCancellationReasonText to single ServiceCancellationReason.serviceContrCancellationReason(String serviceContrCancellationReason) (Key Field) Constraints: Not nullable, Maximum length: 4serviceContrCanclnReasonName(String serviceContrCanclnReasonName) Constraints: Not nullable, Maximum length: 40toString()
-
Method Details
-
serviceCancellationReason
@Nonnull public SrvcCancellationReasonText.SrvcCancellationReasonTextBuilder serviceCancellationReason(ServiceCancellationReason value) Navigation property _ServiceCancellationReason for SrvcCancellationReasonText to single ServiceCancellationReason.- Parameters:
value- The ServiceCancellationReason to build this SrvcCancellationReasonText with.- Returns:
- This Builder to allow for a fluent interface.
-
serviceContrCancellationReason
@Nonnull public SrvcCancellationReasonText.SrvcCancellationReasonTextBuilder serviceContrCancellationReason(@Nullable String serviceContrCancellationReason) (Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceContrCancellationReason
- Returns:
this.
-
language
@Nonnull public SrvcCancellationReasonText.SrvcCancellationReasonTextBuilder language(@Nullable String language) (Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
this.
-
serviceContrCanclnReasonName
@Nonnull public SrvcCancellationReasonText.SrvcCancellationReasonTextBuilder serviceContrCanclnReasonName(@Nullable String serviceContrCanclnReasonName) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ServiceContrCanclnReasonName
- Returns:
this.
-
build
-
toString
-