Class PutOfferingInstanceOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.PutOfferingInstanceOptions.Builder
-
- Enclosing class:
- PutOfferingInstanceOptions
public static class PutOfferingInstanceOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutOfferingInstanceOptions.BuilderaddClusterNamespaces(java.lang.String clusterNamespaces)Adds an clusterNamespaces to clusterNamespaces.PutOfferingInstanceOptionsbuild()Builds a PutOfferingInstanceOptions.PutOfferingInstanceOptions.BuildercatalogId(java.lang.String catalogId)Set the catalogId.PutOfferingInstanceOptions.Builderchannel(java.lang.String channel)Set the channel.PutOfferingInstanceOptions.BuilderclusterAllNamespaces(java.lang.Boolean clusterAllNamespaces)Set the clusterAllNamespaces.PutOfferingInstanceOptions.BuilderclusterId(java.lang.String clusterId)Set the clusterId.PutOfferingInstanceOptions.BuilderclusterNamespaces(java.util.List<java.lang.String> clusterNamespaces)Set the clusterNamespaces.PutOfferingInstanceOptions.BuilderclusterRegion(java.lang.String clusterRegion)Set the clusterRegion.PutOfferingInstanceOptions.Buildercrn(java.lang.String crn)Set the crn.PutOfferingInstanceOptions.Builderid(java.lang.String id)Set the id.PutOfferingInstanceOptions.BuilderinstallPlan(java.lang.String installPlan)Set the installPlan.PutOfferingInstanceOptions.BuilderinstanceIdentifier(java.lang.String instanceIdentifier)Set the instanceIdentifier.PutOfferingInstanceOptions.BuilderkindFormat(java.lang.String kindFormat)Set the kindFormat.PutOfferingInstanceOptions.Builderlabel(java.lang.String label)Set the label.PutOfferingInstanceOptions.BuilderlastOperation(OfferingInstanceLastOperation lastOperation)Set the lastOperation.PutOfferingInstanceOptions.Buildermetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)Set the metadata.PutOfferingInstanceOptions.BuilderofferingId(java.lang.String offeringId)Set the offeringId.PutOfferingInstanceOptions.BuilderofferingInstance(OfferingInstance offeringInstance)Set the offeringInstance.PutOfferingInstanceOptions.BuilderresourceGroupId(java.lang.String resourceGroupId)Set the resourceGroupId.PutOfferingInstanceOptions.Builderrev(java.lang.String rev)Set the rev.PutOfferingInstanceOptions.BuilderschematicsWorkspaceId(java.lang.String schematicsWorkspaceId)Set the schematicsWorkspaceId.PutOfferingInstanceOptions.Builderurl(java.lang.String url)Set the url.PutOfferingInstanceOptions.Builderversion(java.lang.String version)Set the version.PutOfferingInstanceOptions.BuilderxAuthRefreshToken(java.lang.String xAuthRefreshToken)Set the xAuthRefreshToken.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String instanceIdentifier, java.lang.String xAuthRefreshToken)Instantiates a new builder with required properties.- Parameters:
instanceIdentifier- the instanceIdentifierxAuthRefreshToken- the xAuthRefreshToken
-
-
Method Detail
-
build
public PutOfferingInstanceOptions build()
Builds a PutOfferingInstanceOptions.- Returns:
- the new PutOfferingInstanceOptions instance
-
addClusterNamespaces
public PutOfferingInstanceOptions.Builder addClusterNamespaces(java.lang.String clusterNamespaces)
Adds an clusterNamespaces to clusterNamespaces.- Parameters:
clusterNamespaces- the new clusterNamespaces- Returns:
- the PutOfferingInstanceOptions builder
-
instanceIdentifier
public PutOfferingInstanceOptions.Builder instanceIdentifier(java.lang.String instanceIdentifier)
Set the instanceIdentifier.- Parameters:
instanceIdentifier- the instanceIdentifier- Returns:
- the PutOfferingInstanceOptions builder
-
xAuthRefreshToken
public PutOfferingInstanceOptions.Builder xAuthRefreshToken(java.lang.String xAuthRefreshToken)
Set the xAuthRefreshToken.- Parameters:
xAuthRefreshToken- the xAuthRefreshToken- Returns:
- the PutOfferingInstanceOptions builder
-
id
public PutOfferingInstanceOptions.Builder id(java.lang.String id)
Set the id.- Parameters:
id- the id- Returns:
- the PutOfferingInstanceOptions builder
-
rev
public PutOfferingInstanceOptions.Builder rev(java.lang.String rev)
Set the rev.- Parameters:
rev- the rev- Returns:
- the PutOfferingInstanceOptions builder
-
url
public PutOfferingInstanceOptions.Builder url(java.lang.String url)
Set the url.- Parameters:
url- the url- Returns:
- the PutOfferingInstanceOptions builder
-
crn
public PutOfferingInstanceOptions.Builder crn(java.lang.String crn)
Set the crn.- Parameters:
crn- the crn- Returns:
- the PutOfferingInstanceOptions builder
-
label
public PutOfferingInstanceOptions.Builder label(java.lang.String label)
Set the label.- Parameters:
label- the label- Returns:
- the PutOfferingInstanceOptions builder
-
catalogId
public PutOfferingInstanceOptions.Builder catalogId(java.lang.String catalogId)
Set the catalogId.- Parameters:
catalogId- the catalogId- Returns:
- the PutOfferingInstanceOptions builder
-
offeringId
public PutOfferingInstanceOptions.Builder offeringId(java.lang.String offeringId)
Set the offeringId.- Parameters:
offeringId- the offeringId- Returns:
- the PutOfferingInstanceOptions builder
-
kindFormat
public PutOfferingInstanceOptions.Builder kindFormat(java.lang.String kindFormat)
Set the kindFormat.- Parameters:
kindFormat- the kindFormat- Returns:
- the PutOfferingInstanceOptions builder
-
version
public PutOfferingInstanceOptions.Builder version(java.lang.String version)
Set the version.- Parameters:
version- the version- Returns:
- the PutOfferingInstanceOptions builder
-
clusterId
public PutOfferingInstanceOptions.Builder clusterId(java.lang.String clusterId)
Set the clusterId.- Parameters:
clusterId- the clusterId- Returns:
- the PutOfferingInstanceOptions builder
-
clusterRegion
public PutOfferingInstanceOptions.Builder clusterRegion(java.lang.String clusterRegion)
Set the clusterRegion.- Parameters:
clusterRegion- the clusterRegion- Returns:
- the PutOfferingInstanceOptions builder
-
clusterNamespaces
public PutOfferingInstanceOptions.Builder clusterNamespaces(java.util.List<java.lang.String> clusterNamespaces)
Set the clusterNamespaces. Existing clusterNamespaces will be replaced.- Parameters:
clusterNamespaces- the clusterNamespaces- Returns:
- the PutOfferingInstanceOptions builder
-
clusterAllNamespaces
public PutOfferingInstanceOptions.Builder clusterAllNamespaces(java.lang.Boolean clusterAllNamespaces)
Set the clusterAllNamespaces.- Parameters:
clusterAllNamespaces- the clusterAllNamespaces- Returns:
- the PutOfferingInstanceOptions builder
-
schematicsWorkspaceId
public PutOfferingInstanceOptions.Builder schematicsWorkspaceId(java.lang.String schematicsWorkspaceId)
Set the schematicsWorkspaceId.- Parameters:
schematicsWorkspaceId- the schematicsWorkspaceId- Returns:
- the PutOfferingInstanceOptions builder
-
resourceGroupId
public PutOfferingInstanceOptions.Builder resourceGroupId(java.lang.String resourceGroupId)
Set the resourceGroupId.- Parameters:
resourceGroupId- the resourceGroupId- Returns:
- the PutOfferingInstanceOptions builder
-
installPlan
public PutOfferingInstanceOptions.Builder installPlan(java.lang.String installPlan)
Set the installPlan.- Parameters:
installPlan- the installPlan- Returns:
- the PutOfferingInstanceOptions builder
-
channel
public PutOfferingInstanceOptions.Builder channel(java.lang.String channel)
Set the channel.- Parameters:
channel- the channel- Returns:
- the PutOfferingInstanceOptions builder
-
metadata
public PutOfferingInstanceOptions.Builder metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
Set the metadata.- Parameters:
metadata- the metadata- Returns:
- the PutOfferingInstanceOptions builder
-
lastOperation
public PutOfferingInstanceOptions.Builder lastOperation(OfferingInstanceLastOperation lastOperation)
Set the lastOperation.- Parameters:
lastOperation- the lastOperation- Returns:
- the PutOfferingInstanceOptions builder
-
offeringInstance
public PutOfferingInstanceOptions.Builder offeringInstance(OfferingInstance offeringInstance)
Set the offeringInstance.- Parameters:
offeringInstance- the offeringInstance- Returns:
- the PutOfferingInstanceOptions builder
-
-