Class GetOfferingUpdatesOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.GetOfferingUpdatesOptions.Builder
-
- Enclosing class:
- GetOfferingUpdatesOptions
public static class GetOfferingUpdatesOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetOfferingUpdatesOptions.BuilderaddNamespaces(java.lang.String namespaces)Adds an namespaces to namespaces.GetOfferingUpdatesOptions.BuilderallNamespaces(java.lang.Boolean allNamespaces)Set the allNamespaces.GetOfferingUpdatesOptionsbuild()Builds a GetOfferingUpdatesOptions.GetOfferingUpdatesOptions.BuildercatalogIdentifier(java.lang.String catalogIdentifier)Set the catalogIdentifier.GetOfferingUpdatesOptions.Builderchannel(java.lang.String channel)Set the channel.GetOfferingUpdatesOptions.BuilderclusterId(java.lang.String clusterId)Set the clusterId.GetOfferingUpdatesOptions.Builderkind(java.lang.String kind)Set the kind.GetOfferingUpdatesOptions.Buildernamespace(java.lang.String namespace)Set the namespace.GetOfferingUpdatesOptions.Buildernamespaces(java.util.List<java.lang.String> namespaces)Set the namespaces.GetOfferingUpdatesOptions.BuilderofferingId(java.lang.String offeringId)Set the offeringId.GetOfferingUpdatesOptions.Builderregion(java.lang.String region)Set the region.GetOfferingUpdatesOptions.BuilderresourceGroupId(java.lang.String resourceGroupId)Set the resourceGroupId.GetOfferingUpdatesOptions.Buildersha(java.lang.String sha)Set the sha.GetOfferingUpdatesOptions.Buildertarget(java.lang.String target)Set the target.GetOfferingUpdatesOptions.Builderversion(java.lang.String version)Set the version.GetOfferingUpdatesOptions.BuilderxAuthRefreshToken(java.lang.String xAuthRefreshToken)Set the xAuthRefreshToken.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String catalogIdentifier, java.lang.String offeringId, java.lang.String kind, java.lang.String xAuthRefreshToken)Instantiates a new builder with required properties.- Parameters:
catalogIdentifier- the catalogIdentifierofferingId- the offeringIdkind- the kindxAuthRefreshToken- the xAuthRefreshToken
-
-
Method Detail
-
build
public GetOfferingUpdatesOptions build()
Builds a GetOfferingUpdatesOptions.- Returns:
- the new GetOfferingUpdatesOptions instance
-
addNamespaces
public GetOfferingUpdatesOptions.Builder addNamespaces(java.lang.String namespaces)
Adds an namespaces to namespaces.- Parameters:
namespaces- the new namespaces- Returns:
- the GetOfferingUpdatesOptions builder
-
catalogIdentifier
public GetOfferingUpdatesOptions.Builder catalogIdentifier(java.lang.String catalogIdentifier)
Set the catalogIdentifier.- Parameters:
catalogIdentifier- the catalogIdentifier- Returns:
- the GetOfferingUpdatesOptions builder
-
offeringId
public GetOfferingUpdatesOptions.Builder offeringId(java.lang.String offeringId)
Set the offeringId.- Parameters:
offeringId- the offeringId- Returns:
- the GetOfferingUpdatesOptions builder
-
kind
public GetOfferingUpdatesOptions.Builder kind(java.lang.String kind)
Set the kind.- Parameters:
kind- the kind- Returns:
- the GetOfferingUpdatesOptions builder
-
xAuthRefreshToken
public GetOfferingUpdatesOptions.Builder xAuthRefreshToken(java.lang.String xAuthRefreshToken)
Set the xAuthRefreshToken.- Parameters:
xAuthRefreshToken- the xAuthRefreshToken- Returns:
- the GetOfferingUpdatesOptions builder
-
target
public GetOfferingUpdatesOptions.Builder target(java.lang.String target)
Set the target.- Parameters:
target- the target- Returns:
- the GetOfferingUpdatesOptions builder
-
version
public GetOfferingUpdatesOptions.Builder version(java.lang.String version)
Set the version.- Parameters:
version- the version- Returns:
- the GetOfferingUpdatesOptions builder
-
clusterId
public GetOfferingUpdatesOptions.Builder clusterId(java.lang.String clusterId)
Set the clusterId.- Parameters:
clusterId- the clusterId- Returns:
- the GetOfferingUpdatesOptions builder
-
region
public GetOfferingUpdatesOptions.Builder region(java.lang.String region)
Set the region.- Parameters:
region- the region- Returns:
- the GetOfferingUpdatesOptions builder
-
resourceGroupId
public GetOfferingUpdatesOptions.Builder resourceGroupId(java.lang.String resourceGroupId)
Set the resourceGroupId.- Parameters:
resourceGroupId- the resourceGroupId- Returns:
- the GetOfferingUpdatesOptions builder
-
namespace
public GetOfferingUpdatesOptions.Builder namespace(java.lang.String namespace)
Set the namespace.- Parameters:
namespace- the namespace- Returns:
- the GetOfferingUpdatesOptions builder
-
sha
public GetOfferingUpdatesOptions.Builder sha(java.lang.String sha)
Set the sha.- Parameters:
sha- the sha- Returns:
- the GetOfferingUpdatesOptions builder
-
channel
public GetOfferingUpdatesOptions.Builder channel(java.lang.String channel)
Set the channel.- Parameters:
channel- the channel- Returns:
- the GetOfferingUpdatesOptions builder
-
namespaces
public GetOfferingUpdatesOptions.Builder namespaces(java.util.List<java.lang.String> namespaces)
Set the namespaces. Existing namespaces will be replaced.- Parameters:
namespaces- the namespaces- Returns:
- the GetOfferingUpdatesOptions builder
-
allNamespaces
public GetOfferingUpdatesOptions.Builder allNamespaces(java.lang.Boolean allNamespaces)
Set the allNamespaces.- Parameters:
allNamespaces- the allNamespaces- Returns:
- the GetOfferingUpdatesOptions builder
-
-