Class CompleteDraftContractTermsDocumentOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.dph_services.dph.v1.model.CompleteDraftContractTermsDocumentOptions.Builder
-
- Enclosing class:
- CompleteDraftContractTermsDocumentOptions
public static class CompleteDraftContractTermsDocumentOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompleteDraftContractTermsDocumentOptions
build()
Builds a CompleteDraftContractTermsDocumentOptions.CompleteDraftContractTermsDocumentOptions.Builder
contractTermsId(java.lang.String contractTermsId)
Set the contractTermsId.CompleteDraftContractTermsDocumentOptions.Builder
dataProductId(java.lang.String dataProductId)
Set the dataProductId.CompleteDraftContractTermsDocumentOptions.Builder
documentId(java.lang.String documentId)
Set the documentId.CompleteDraftContractTermsDocumentOptions.Builder
draftId(java.lang.String draftId)
Set the draftId.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String dataProductId, java.lang.String draftId, java.lang.String contractTermsId, java.lang.String documentId)
Instantiates a new builder with required properties.- Parameters:
dataProductId
- the dataProductIddraftId
- the draftIdcontractTermsId
- the contractTermsIddocumentId
- the documentId
-
-
Method Detail
-
build
public CompleteDraftContractTermsDocumentOptions build()
Builds a CompleteDraftContractTermsDocumentOptions.- Returns:
- the new CompleteDraftContractTermsDocumentOptions instance
-
dataProductId
public CompleteDraftContractTermsDocumentOptions.Builder dataProductId(java.lang.String dataProductId)
Set the dataProductId.- Parameters:
dataProductId
- the dataProductId- Returns:
- the CompleteDraftContractTermsDocumentOptions builder
-
draftId
public CompleteDraftContractTermsDocumentOptions.Builder draftId(java.lang.String draftId)
Set the draftId.- Parameters:
draftId
- the draftId- Returns:
- the CompleteDraftContractTermsDocumentOptions builder
-
contractTermsId
public CompleteDraftContractTermsDocumentOptions.Builder contractTermsId(java.lang.String contractTermsId)
Set the contractTermsId.- Parameters:
contractTermsId
- the contractTermsId- Returns:
- the CompleteDraftContractTermsDocumentOptions builder
-
documentId
public CompleteDraftContractTermsDocumentOptions.Builder documentId(java.lang.String documentId)
Set the documentId.- Parameters:
documentId
- the documentId- Returns:
- the CompleteDraftContractTermsDocumentOptions builder
-
-