Class ContractSchema.Builder
- java.lang.Object
-
- com.ibm.cloud.dph_services.dph.v1.model.ContractSchema.Builder
-
- Enclosing class:
- ContractSchema
public static class ContractSchema.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContractSchema.BuilderaddQuality(ContractQualityRule quality)Adds a new element to quality.ContractSchema.BuilderaddXProperties(ContractSchemaProperty xProperties)Adds a new element to xProperties.ContractSchema.BuilderassetId(java.lang.String assetId)Set the assetId.ContractSchemabuild()Builds a ContractSchema.ContractSchema.BuilderconnectionId(java.lang.String connectionId)Set the connectionId.ContractSchema.BuilderconnectionPath(java.lang.String connectionPath)Set the connectionPath.ContractSchema.Builderdescription(java.lang.String description)Set the description.ContractSchema.Buildername(java.lang.String name)Set the name.ContractSchema.BuilderphysicalType(java.lang.String physicalType)Set the physicalType.ContractSchema.Builderquality(java.util.List<ContractQualityRule> quality)Set the quality.ContractSchema.BuilderxProperties(java.util.List<ContractSchemaProperty> xProperties)Set the xProperties.
-
-
-
Method Detail
-
build
public ContractSchema build()
Builds a ContractSchema.- Returns:
- the new ContractSchema instance
-
addXProperties
public ContractSchema.Builder addXProperties(ContractSchemaProperty xProperties)
Adds a new element to xProperties.- Parameters:
xProperties- the new element to be added- Returns:
- the ContractSchema builder
-
addQuality
public ContractSchema.Builder addQuality(ContractQualityRule quality)
Adds a new element to quality.- Parameters:
quality- the new element to be added- Returns:
- the ContractSchema builder
-
assetId
public ContractSchema.Builder assetId(java.lang.String assetId)
Set the assetId.- Parameters:
assetId- the assetId- Returns:
- the ContractSchema builder
-
connectionId
public ContractSchema.Builder connectionId(java.lang.String connectionId)
Set the connectionId.- Parameters:
connectionId- the connectionId- Returns:
- the ContractSchema builder
-
name
public ContractSchema.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the ContractSchema builder
-
description
public ContractSchema.Builder description(java.lang.String description)
Set the description.- Parameters:
description- the description- Returns:
- the ContractSchema builder
-
connectionPath
public ContractSchema.Builder connectionPath(java.lang.String connectionPath)
Set the connectionPath.- Parameters:
connectionPath- the connectionPath- Returns:
- the ContractSchema builder
-
physicalType
public ContractSchema.Builder physicalType(java.lang.String physicalType)
Set the physicalType.- Parameters:
physicalType- the physicalType- Returns:
- the ContractSchema builder
-
xProperties
public ContractSchema.Builder xProperties(java.util.List<ContractSchemaProperty> xProperties)
Set the xProperties. Existing xProperties will be replaced.- Parameters:
xProperties- the xProperties- Returns:
- the ContractSchema builder
-
quality
public ContractSchema.Builder quality(java.util.List<ContractQualityRule> quality)
Set the quality. Existing quality will be replaced.- Parameters:
quality- the quality- Returns:
- the ContractSchema builder
-
-