Class DeprecateOfferingOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.DeprecateOfferingOptions.Builder
-
- Enclosing class:
- DeprecateOfferingOptions
public static class DeprecateOfferingOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeprecateOfferingOptionsbuild()Builds a DeprecateOfferingOptions.DeprecateOfferingOptions.BuildercatalogIdentifier(java.lang.String catalogIdentifier)Set the catalogIdentifier.DeprecateOfferingOptions.BuilderdaysUntilDeprecate(long daysUntilDeprecate)Set the daysUntilDeprecate.DeprecateOfferingOptions.Builderdescription(java.lang.String description)Set the description.DeprecateOfferingOptions.BuilderofferingId(java.lang.String offeringId)Set the offeringId.DeprecateOfferingOptions.Buildersetting(java.lang.String setting)Set the setting.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String catalogIdentifier, java.lang.String offeringId, java.lang.String setting)Instantiates a new builder with required properties.- Parameters:
catalogIdentifier- the catalogIdentifierofferingId- the offeringIdsetting- the setting
-
-
Method Detail
-
build
public DeprecateOfferingOptions build()
Builds a DeprecateOfferingOptions.- Returns:
- the new DeprecateOfferingOptions instance
-
catalogIdentifier
public DeprecateOfferingOptions.Builder catalogIdentifier(java.lang.String catalogIdentifier)
Set the catalogIdentifier.- Parameters:
catalogIdentifier- the catalogIdentifier- Returns:
- the DeprecateOfferingOptions builder
-
offeringId
public DeprecateOfferingOptions.Builder offeringId(java.lang.String offeringId)
Set the offeringId.- Parameters:
offeringId- the offeringId- Returns:
- the DeprecateOfferingOptions builder
-
setting
public DeprecateOfferingOptions.Builder setting(java.lang.String setting)
Set the setting.- Parameters:
setting- the setting- Returns:
- the DeprecateOfferingOptions builder
-
description
public DeprecateOfferingOptions.Builder description(java.lang.String description)
Set the description.- Parameters:
description- the description- Returns:
- the DeprecateOfferingOptions builder
-
daysUntilDeprecate
public DeprecateOfferingOptions.Builder daysUntilDeprecate(long daysUntilDeprecate)
Set the daysUntilDeprecate.- Parameters:
daysUntilDeprecate- the daysUntilDeprecate- Returns:
- the DeprecateOfferingOptions builder
-
-