Class ReloadOfferingOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.ReloadOfferingOptions.Builder
-
- Enclosing class:
- ReloadOfferingOptions
public static class ReloadOfferingOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReloadOfferingOptions.BuilderaddTags(java.lang.String tags)Adds an tags to tags.ReloadOfferingOptions.BuilderaddTargetKinds(java.lang.String targetKinds)Adds an targetKinds to targetKinds.ReloadOfferingOptionsbuild()Builds a ReloadOfferingOptions.ReloadOfferingOptions.BuildercatalogIdentifier(java.lang.String catalogIdentifier)Set the catalogIdentifier.ReloadOfferingOptions.Buildercontent(byte[] content)Set the content.ReloadOfferingOptions.BuilderofferingId(java.lang.String offeringId)Set the offeringId.ReloadOfferingOptions.BuilderrepoType(java.lang.String repoType)Set the repoType.ReloadOfferingOptions.Buildertags(java.util.List<java.lang.String> tags)Set the tags.ReloadOfferingOptions.BuildertargetKinds(java.util.List<java.lang.String> targetKinds)Set the targetKinds.ReloadOfferingOptions.BuildertargetVersion(java.lang.String targetVersion)Set the targetVersion.ReloadOfferingOptions.Builderzipurl(java.lang.String zipurl)Set the zipurl.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String catalogIdentifier, java.lang.String offeringId, java.lang.String targetVersion)Instantiates a new builder with required properties.- Parameters:
catalogIdentifier- the catalogIdentifierofferingId- the offeringIdtargetVersion- the targetVersion
-
-
Method Detail
-
build
public ReloadOfferingOptions build()
Builds a ReloadOfferingOptions.- Returns:
- the new ReloadOfferingOptions instance
-
addTags
public ReloadOfferingOptions.Builder addTags(java.lang.String tags)
Adds an tags to tags.- Parameters:
tags- the new tags- Returns:
- the ReloadOfferingOptions builder
-
addTargetKinds
public ReloadOfferingOptions.Builder addTargetKinds(java.lang.String targetKinds)
Adds an targetKinds to targetKinds.- Parameters:
targetKinds- the new targetKinds- Returns:
- the ReloadOfferingOptions builder
-
catalogIdentifier
public ReloadOfferingOptions.Builder catalogIdentifier(java.lang.String catalogIdentifier)
Set the catalogIdentifier.- Parameters:
catalogIdentifier- the catalogIdentifier- Returns:
- the ReloadOfferingOptions builder
-
offeringId
public ReloadOfferingOptions.Builder offeringId(java.lang.String offeringId)
Set the offeringId.- Parameters:
offeringId- the offeringId- Returns:
- the ReloadOfferingOptions builder
-
targetVersion
public ReloadOfferingOptions.Builder targetVersion(java.lang.String targetVersion)
Set the targetVersion.- Parameters:
targetVersion- the targetVersion- Returns:
- the ReloadOfferingOptions builder
-
tags
public ReloadOfferingOptions.Builder tags(java.util.List<java.lang.String> tags)
Set the tags. Existing tags will be replaced.- Parameters:
tags- the tags- Returns:
- the ReloadOfferingOptions builder
-
targetKinds
public ReloadOfferingOptions.Builder targetKinds(java.util.List<java.lang.String> targetKinds)
Set the targetKinds. Existing targetKinds will be replaced.- Parameters:
targetKinds- the targetKinds- Returns:
- the ReloadOfferingOptions builder
-
content
public ReloadOfferingOptions.Builder content(byte[] content)
Set the content.- Parameters:
content- the content- Returns:
- the ReloadOfferingOptions builder
-
zipurl
public ReloadOfferingOptions.Builder zipurl(java.lang.String zipurl)
Set the zipurl.- Parameters:
zipurl- the zipurl- Returns:
- the ReloadOfferingOptions builder
-
repoType
public ReloadOfferingOptions.Builder repoType(java.lang.String repoType)
Set the repoType.- Parameters:
repoType- the repoType- Returns:
- the ReloadOfferingOptions builder
-
-