Class ContractTest.Builder
- java.lang.Object
-
- com.ibm.cloud.dph_services.dph.v1.model.ContractTest.Builder
-
- Enclosing class:
- ContractTest
public static class ContractTest.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContractTest.BuilderaddTestSummary(ContractTestSummary testSummary)Adds a new element to testSummary.ContractTestbuild()Builds a ContractTest.ContractTest.BuilderdataContractId(java.lang.String dataContractId)Set the dataContractId.ContractTest.BuilderlastTestedTime(java.util.Date lastTestedTime)Set the lastTestedTime.ContractTest.Buildermessage(java.lang.String message)Set the message.ContractTest.BuilderprojectId(java.lang.String projectId)Set the projectId.ContractTest.Builderstatus(java.lang.String status)Set the status.ContractTest.BuildertestRunId(java.lang.String testRunId)Set the testRunId.ContractTest.BuildertestSummary(java.util.List<ContractTestSummary> testSummary)Set the testSummary.
-
-
-
Method Detail
-
build
public ContractTest build()
Builds a ContractTest.- Returns:
- the new ContractTest instance
-
addTestSummary
public ContractTest.Builder addTestSummary(ContractTestSummary testSummary)
Adds a new element to testSummary.- Parameters:
testSummary- the new element to be added- Returns:
- the ContractTest builder
-
status
public ContractTest.Builder status(java.lang.String status)
Set the status.- Parameters:
status- the status- Returns:
- the ContractTest builder
-
lastTestedTime
public ContractTest.Builder lastTestedTime(java.util.Date lastTestedTime)
Set the lastTestedTime.- Parameters:
lastTestedTime- the lastTestedTime- Returns:
- the ContractTest builder
-
dataContractId
public ContractTest.Builder dataContractId(java.lang.String dataContractId)
Set the dataContractId.- Parameters:
dataContractId- the dataContractId- Returns:
- the ContractTest builder
-
projectId
public ContractTest.Builder projectId(java.lang.String projectId)
Set the projectId.- Parameters:
projectId- the projectId- Returns:
- the ContractTest builder
-
message
public ContractTest.Builder message(java.lang.String message)
Set the message.- Parameters:
message- the message- Returns:
- the ContractTest builder
-
testRunId
public ContractTest.Builder testRunId(java.lang.String testRunId)
Set the testRunId.- Parameters:
testRunId- the testRunId- Returns:
- the ContractTest builder
-
testSummary
public ContractTest.Builder testSummary(java.util.List<ContractTestSummary> testSummary)
Set the testSummary. Existing testSummary will be replaced.- Parameters:
testSummary- the testSummary- Returns:
- the ContractTest builder
-
-