Class ObjectMetadataSet.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.global_catalog.v1.model.ObjectMetadataSet.Builder
-
- Enclosing class:
- ObjectMetadataSet
public static class ObjectMetadataSet.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ObjectMetadataSet.BuilderaddCompliance(java.lang.String compliance)Adds a new element to compliance.ObjectMetadataSet.Builderalias(AliasMetaData alias)Set the alias.ObjectMetadataSetbuild()Builds a ObjectMetadataSet.ObjectMetadataSet.Buildercallbacks(Callbacks callbacks)Set the callbacks.ObjectMetadataSet.Buildercompliance(java.util.List<java.lang.String> compliance)Set the compliance.ObjectMetadataSet.Builderdeployment(DeploymentBase deployment)Set the deployment.ObjectMetadataSet.BuilderoriginalName(java.lang.String originalName)Set the originalName.ObjectMetadataSet.Builderother(java.util.Map<java.lang.String,java.lang.Object> other)Set the other.ObjectMetadataSet.Builderplan(PlanMetaData plan)Set the plan.ObjectMetadataSet.Builderpricing(PricingSet pricing)Set the pricing.ObjectMetadataSet.BuilderrcCompatible(java.lang.Boolean rcCompatible)Set the rcCompatible.ObjectMetadataSet.Builderservice(CFMetaData service)Set the service.ObjectMetadataSet.Buildersla(SLAMetaData sla)Set the sla.ObjectMetadataSet.Buildertemplate(TemplateMetaData template)Set the template.ObjectMetadataSet.Builderui(UIMetaData ui)Set the ui.ObjectMetadataSet.Builderversion(java.lang.String version)Deprecated.this method is deprecated and may be removed in a future release
-
-
-
Method Detail
-
build
public ObjectMetadataSet build()
Builds a ObjectMetadataSet.- Returns:
- the new ObjectMetadataSet instance
-
addCompliance
public ObjectMetadataSet.Builder addCompliance(java.lang.String compliance)
Adds a new element to compliance.- Parameters:
compliance- the new element to be added- Returns:
- the ObjectMetadataSet builder
-
rcCompatible
public ObjectMetadataSet.Builder rcCompatible(java.lang.Boolean rcCompatible)
Set the rcCompatible.- Parameters:
rcCompatible- the rcCompatible- Returns:
- the ObjectMetadataSet builder
-
service
public ObjectMetadataSet.Builder service(CFMetaData service)
Set the service.- Parameters:
service- the service- Returns:
- the ObjectMetadataSet builder
-
plan
public ObjectMetadataSet.Builder plan(PlanMetaData plan)
Set the plan.- Parameters:
plan- the plan- Returns:
- the ObjectMetadataSet builder
-
alias
public ObjectMetadataSet.Builder alias(AliasMetaData alias)
Set the alias.- Parameters:
alias- the alias- Returns:
- the ObjectMetadataSet builder
-
template
public ObjectMetadataSet.Builder template(TemplateMetaData template)
Set the template.- Parameters:
template- the template- Returns:
- the ObjectMetadataSet builder
-
ui
public ObjectMetadataSet.Builder ui(UIMetaData ui)
Set the ui.- Parameters:
ui- the ui- Returns:
- the ObjectMetadataSet builder
-
compliance
public ObjectMetadataSet.Builder compliance(java.util.List<java.lang.String> compliance)
Set the compliance. Existing compliance will be replaced.- Parameters:
compliance- the compliance- Returns:
- the ObjectMetadataSet builder
-
sla
public ObjectMetadataSet.Builder sla(SLAMetaData sla)
Set the sla.- Parameters:
sla- the sla- Returns:
- the ObjectMetadataSet builder
-
callbacks
public ObjectMetadataSet.Builder callbacks(Callbacks callbacks)
Set the callbacks.- Parameters:
callbacks- the callbacks- Returns:
- the ObjectMetadataSet builder
-
originalName
public ObjectMetadataSet.Builder originalName(java.lang.String originalName)
Set the originalName.- Parameters:
originalName- the originalName- Returns:
- the ObjectMetadataSet builder
-
version
@Deprecated public ObjectMetadataSet.Builder version(java.lang.String version)
Deprecated.this method is deprecated and may be removed in a future releaseSet the version.- Parameters:
version- the version- Returns:
- the ObjectMetadataSet builder
-
other
public ObjectMetadataSet.Builder other(java.util.Map<java.lang.String,java.lang.Object> other)
Set the other.- Parameters:
other- the other- Returns:
- the ObjectMetadataSet builder
-
pricing
public ObjectMetadataSet.Builder pricing(PricingSet pricing)
Set the pricing.- Parameters:
pricing- the pricing- Returns:
- the ObjectMetadataSet builder
-
deployment
public ObjectMetadataSet.Builder deployment(DeploymentBase deployment)
Set the deployment.- Parameters:
deployment- the deployment- Returns:
- the ObjectMetadataSet builder
-
-