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