Class PrivateApplication.Builder
- java.lang.Object
-
- com.oracle.bmc.servicecatalog.model.PrivateApplication.Builder
-
- Enclosing class:
- PrivateApplication
public static class PrivateApplication.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateApplication
build()
PrivateApplication.Builder
compartmentId(String compartmentId)
The OCID of the compartment where the private application resides.PrivateApplication.Builder
copy(PrivateApplication model)
PrivateApplication.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.PrivateApplication.Builder
displayName(String displayName)
The name of the private application.PrivateApplication.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.PrivateApplication.Builder
id(String id)
The unique identifier for the private application in Marketplace.PrivateApplication.Builder
lifecycleState(PrivateApplication.LifecycleState lifecycleState)
The lifecycle state of the private application.PrivateApplication.Builder
logo(UploadData logo)
PrivateApplication.Builder
longDescription(String longDescription)
A long description of the private application.PrivateApplication.Builder
packageType(PackageTypeEnum packageType)
Type of packages within this private application.PrivateApplication.Builder
shortDescription(String shortDescription)
A short description of the private application.PrivateApplication.Builder
timeCreated(Date timeCreated)
The date and time the private application was created, expressed in RFC 3339 timestamp format.PrivateApplication.Builder
timeUpdated(Date timeUpdated)
The date and time the private application was last modified, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
lifecycleState
public PrivateApplication.Builder lifecycleState(PrivateApplication.LifecycleState lifecycleState)
The lifecycle state of the private application.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
compartmentId
public PrivateApplication.Builder compartmentId(String compartmentId)
The OCID of the compartment where the private application resides.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
id
public PrivateApplication.Builder id(String id)
The unique identifier for the private application in Marketplace.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public PrivateApplication.Builder displayName(String displayName)
The name of the private application.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
shortDescription
public PrivateApplication.Builder shortDescription(String shortDescription)
A short description of the private application.- Parameters:
shortDescription
- the value to set- Returns:
- this builder
-
longDescription
public PrivateApplication.Builder longDescription(String longDescription)
A long description of the private application.- Parameters:
longDescription
- the value to set- Returns:
- this builder
-
logo
public PrivateApplication.Builder logo(UploadData logo)
-
packageType
public PrivateApplication.Builder packageType(PackageTypeEnum packageType)
Type of packages within this private application.- Parameters:
packageType
- the value to set- Returns:
- this builder
-
timeCreated
public PrivateApplication.Builder timeCreated(Date timeCreated)
The date and time the private application was created, expressed in RFC 3339 timestamp format.Example: 2021-05-26T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public PrivateApplication.Builder timeUpdated(Date timeUpdated)
The date and time the private application was last modified, expressed in RFC 3339 timestamp format.Example: 2021-12-10T05:10:29.721Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
definedTags
public PrivateApplication.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
freeformTags
public PrivateApplication.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
build
public PrivateApplication build()
-
copy
public PrivateApplication.Builder copy(PrivateApplication model)
-
-