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