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