Class CreateContractTemplateOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.dph_services.dph.v1.model.CreateContractTemplateOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateContractTemplateOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createContractTemplate options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateContractTemplateOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerReferencecontainer()Gets the container.java.lang.StringcontainerId()Gets the containerId.java.lang.StringcontractTemplateName()Gets the contractTemplateName.ContractTermscontractTerms()Gets the contractTerms.ErrorMessageerror()Gets the error.java.lang.Stringid()Gets the id.java.lang.Stringname()Gets the name.CreateContractTemplateOptions.BuildernewBuilder()New builder.
-
-
-
Method Detail
-
newBuilder
public CreateContractTemplateOptions.Builder newBuilder()
New builder.- Returns:
- a CreateContractTemplateOptions builder
-
container
public ContainerReference container()
Gets the container. Container reference.- Returns:
- the container
-
id
public java.lang.String id()
Gets the id. The identifier of the data product contract template.- Returns:
- the id
-
name
public java.lang.String name()
Gets the name. The name of the contract template.- Returns:
- the name
-
error
public ErrorMessage error()
Gets the error. Contains the code and details.- Returns:
- the error
-
contractTerms
public ContractTerms contractTerms()
Gets the contractTerms. Defines the complete structure of a contract terms.- Returns:
- the contractTerms
-
containerId
public java.lang.String containerId()
Gets the containerId. Container ID of the data product catalog. If not supplied, the data product catalog is looked up by using the uid of the default data product catalog.- Returns:
- the containerId
-
contractTemplateName
public java.lang.String contractTemplateName()
Gets the contractTemplateName. Name of the data product contract template. If not supplied, the data product templates within the catalog will returned.- Returns:
- the contractTemplateName
-
-