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.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContractSchema.Builder
addXProperties(ContractSchemaProperty xProperties)
Adds a new element to xProperties.ContractSchema
build()
Builds a ContractSchema.ContractSchema.Builder
description(java.lang.String description)
Set the description.ContractSchema.Builder
name(java.lang.String name)
Set the name.ContractSchema.Builder
physicalType(java.lang.String physicalType)
Set the physicalType.ContractSchema.Builder
xProperties(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
-
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
-
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
-
-