Class DeleteDraftContractTermsDocumentOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.dph_services.dph.v1.model.DeleteDraftContractTermsDocumentOptions.Builder
-
- Enclosing class:
- DeleteDraftContractTermsDocumentOptions
public static class DeleteDraftContractTermsDocumentOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteDraftContractTermsDocumentOptions
build()
Builds a DeleteDraftContractTermsDocumentOptions.DeleteDraftContractTermsDocumentOptions.Builder
contractTermsId(java.lang.String contractTermsId)
Set the contractTermsId.DeleteDraftContractTermsDocumentOptions.Builder
dataProductId(java.lang.String dataProductId)
Set the dataProductId.DeleteDraftContractTermsDocumentOptions.Builder
documentId(java.lang.String documentId)
Set the documentId.DeleteDraftContractTermsDocumentOptions.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 DeleteDraftContractTermsDocumentOptions build()
Builds a DeleteDraftContractTermsDocumentOptions.- Returns:
- the new DeleteDraftContractTermsDocumentOptions instance
-
dataProductId
public DeleteDraftContractTermsDocumentOptions.Builder dataProductId(java.lang.String dataProductId)
Set the dataProductId.- Parameters:
dataProductId
- the dataProductId- Returns:
- the DeleteDraftContractTermsDocumentOptions builder
-
draftId
public DeleteDraftContractTermsDocumentOptions.Builder draftId(java.lang.String draftId)
Set the draftId.- Parameters:
draftId
- the draftId- Returns:
- the DeleteDraftContractTermsDocumentOptions builder
-
contractTermsId
public DeleteDraftContractTermsDocumentOptions.Builder contractTermsId(java.lang.String contractTermsId)
Set the contractTermsId.- Parameters:
contractTermsId
- the contractTermsId- Returns:
- the DeleteDraftContractTermsDocumentOptions builder
-
documentId
public DeleteDraftContractTermsDocumentOptions.Builder documentId(java.lang.String documentId)
Set the documentId.- Parameters:
documentId
- the documentId- Returns:
- the DeleteDraftContractTermsDocumentOptions builder
-
-