Class ReplaceDataPolicySchema.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.ReplaceDataPolicySchema.Builder
-
- Enclosing class:
- ReplaceDataPolicySchema
public static class ReplaceDataPolicySchema.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplaceDataPolicySchema.Builder
addRules(Rule rules)
Adds an rules to rules.ReplaceDataPolicySchema
build()
Builds a ReplaceDataPolicySchema.ReplaceDataPolicySchema.Builder
catalogName(java.lang.String catalogName)
Set the catalogName.ReplaceDataPolicySchema.Builder
dataArtifact(java.lang.String dataArtifact)
Set the dataArtifact.ReplaceDataPolicySchema.Builder
description(java.lang.String description)
Set the description.ReplaceDataPolicySchema.Builder
rules(java.util.List<Rule> rules)
Set the rules.ReplaceDataPolicySchema.Builder
status(java.lang.String status)
Set the status.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String catalogName, java.lang.String dataArtifact, java.util.List<Rule> rules)
Instantiates a new builder with required properties.- Parameters:
catalogName
- the catalogNamedataArtifact
- the dataArtifactrules
- the rules
-
-
Method Detail
-
build
public ReplaceDataPolicySchema build()
Builds a ReplaceDataPolicySchema.- Returns:
- the new ReplaceDataPolicySchema instance
-
addRules
public ReplaceDataPolicySchema.Builder addRules(Rule rules)
Adds an rules to rules.- Parameters:
rules
- the new rules- Returns:
- the ReplaceDataPolicySchema builder
-
catalogName
public ReplaceDataPolicySchema.Builder catalogName(java.lang.String catalogName)
Set the catalogName.- Parameters:
catalogName
- the catalogName- Returns:
- the ReplaceDataPolicySchema builder
-
dataArtifact
public ReplaceDataPolicySchema.Builder dataArtifact(java.lang.String dataArtifact)
Set the dataArtifact.- Parameters:
dataArtifact
- the dataArtifact- Returns:
- the ReplaceDataPolicySchema builder
-
description
public ReplaceDataPolicySchema.Builder description(java.lang.String description)
Set the description.- Parameters:
description
- the description- Returns:
- the ReplaceDataPolicySchema builder
-
rules
public ReplaceDataPolicySchema.Builder rules(java.util.List<Rule> rules)
Set the rules. Existing rules will be replaced.- Parameters:
rules
- the rules- Returns:
- the ReplaceDataPolicySchema builder
-
status
public ReplaceDataPolicySchema.Builder status(java.lang.String status)
Set the status.- Parameters:
status
- the status- Returns:
- the ReplaceDataPolicySchema builder
-
-