Class CreateDraftContractTermsDocumentOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.dpx_services.dpx.v1.model.CreateDraftContractTermsDocumentOptions.Builder
-
- Enclosing class:
- CreateDraftContractTermsDocumentOptions
public static class CreateDraftContractTermsDocumentOptions.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(java.lang.String dataProductId, java.lang.String draftId, java.lang.String contractTermsId, java.lang.String type, java.lang.String name, java.lang.String id)
Instantiates a new builder with required properties.
-
Method Summary
-
-
-
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 type, java.lang.String name, java.lang.String id)
Instantiates a new builder with required properties.- Parameters:
dataProductId
- the dataProductIddraftId
- the draftIdcontractTermsId
- the contractTermsIdtype
- the typename
- the nameid
- the id
-
-
Method Detail
-
build
public CreateDraftContractTermsDocumentOptions build()
Builds a CreateDraftContractTermsDocumentOptions.- Returns:
- the new CreateDraftContractTermsDocumentOptions instance
-
dataProductId
public CreateDraftContractTermsDocumentOptions.Builder dataProductId(java.lang.String dataProductId)
Set the dataProductId.- Parameters:
dataProductId
- the dataProductId- Returns:
- the CreateDraftContractTermsDocumentOptions builder
-
draftId
public CreateDraftContractTermsDocumentOptions.Builder draftId(java.lang.String draftId)
Set the draftId.- Parameters:
draftId
- the draftId- Returns:
- the CreateDraftContractTermsDocumentOptions builder
-
contractTermsId
public CreateDraftContractTermsDocumentOptions.Builder contractTermsId(java.lang.String contractTermsId)
Set the contractTermsId.- Parameters:
contractTermsId
- the contractTermsId- Returns:
- the CreateDraftContractTermsDocumentOptions builder
-
type
public CreateDraftContractTermsDocumentOptions.Builder type(java.lang.String type)
Set the type.- Parameters:
type
- the type- Returns:
- the CreateDraftContractTermsDocumentOptions builder
-
name
public CreateDraftContractTermsDocumentOptions.Builder name(java.lang.String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateDraftContractTermsDocumentOptions builder
-
id
public CreateDraftContractTermsDocumentOptions.Builder id(java.lang.String id)
Set the id.- Parameters:
id
- the id- Returns:
- the CreateDraftContractTermsDocumentOptions builder
-
url
public CreateDraftContractTermsDocumentOptions.Builder url(java.lang.String url)
Set the url.- Parameters:
url
- the url- Returns:
- the CreateDraftContractTermsDocumentOptions builder
-
attachment
public CreateDraftContractTermsDocumentOptions.Builder attachment(ContractTermsDocumentAttachment attachment)
Set the attachment.- Parameters:
attachment
- the attachment- Returns:
- the CreateDraftContractTermsDocumentOptions builder
-
uploadUrl
public CreateDraftContractTermsDocumentOptions.Builder uploadUrl(java.lang.String uploadUrl)
Set the uploadUrl.- Parameters:
uploadUrl
- the uploadUrl- Returns:
- the CreateDraftContractTermsDocumentOptions builder
-
contractTermsDocument
public CreateDraftContractTermsDocumentOptions.Builder contractTermsDocument(ContractTermsDocument contractTermsDocument)
Set the contractTermsDocument.- Parameters:
contractTermsDocument
- the contractTermsDocument- Returns:
- the CreateDraftContractTermsDocumentOptions builder
-
-