Class SoftwareSourceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagement.model.SoftwareSourceSummary.Builder
-
- Enclosing class:
- SoftwareSourceSummary
public static class SoftwareSourceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoftwareSourceSummary
build()
SoftwareSourceSummary.Builder
compartmentId(String compartmentId)
OCID for the CompartmentSoftwareSourceSummary.Builder
copy(SoftwareSourceSummary model)
SoftwareSourceSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.SoftwareSourceSummary.Builder
description(String description)
Information specified by the user about the software sourceSoftwareSourceSummary.Builder
displayName(String displayName)
User friendly name for the software sourceSoftwareSourceSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.SoftwareSourceSummary.Builder
id(String id)
OCID for the Software SourceSoftwareSourceSummary.Builder
lifecycleState(LifecycleStates lifecycleState)
The current state of the software source.SoftwareSourceSummary.Builder
packages(Integer packages)
Number of packagesSoftwareSourceSummary.Builder
parentId(String parentId)
OCID for the parent software source, if there is oneSoftwareSourceSummary.Builder
parentName(String parentName)
Display name the parent software source, if there is oneSoftwareSourceSummary.Builder
repoType(String repoType)
Type of the Software SourceSoftwareSourceSummary.Builder
status(SoftwareSourceSummary.Status status)
status of the software source.
-
-
-
Method Detail
-
id
public SoftwareSourceSummary.Builder id(String id)
OCID for the Software Source- Parameters:
id
- the value to set- Returns:
- this builder
-
description
public SoftwareSourceSummary.Builder description(String description)
Information specified by the user about the software source- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public SoftwareSourceSummary.Builder compartmentId(String compartmentId)
OCID for the Compartment- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public SoftwareSourceSummary.Builder displayName(String displayName)
User friendly name for the software source- Parameters:
displayName
- the value to set- Returns:
- this builder
-
repoType
public SoftwareSourceSummary.Builder repoType(String repoType)
Type of the Software Source- Parameters:
repoType
- the value to set- Returns:
- this builder
-
status
public SoftwareSourceSummary.Builder status(SoftwareSourceSummary.Status status)
status of the software source.- Parameters:
status
- the value to set- Returns:
- this builder
-
packages
public SoftwareSourceSummary.Builder packages(Integer packages)
Number of packages- Parameters:
packages
- the value to set- Returns:
- this builder
-
lifecycleState
public SoftwareSourceSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the software source.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
parentId
public SoftwareSourceSummary.Builder parentId(String parentId)
OCID for the parent software source, if there is one- Parameters:
parentId
- the value to set- Returns:
- this builder
-
parentName
public SoftwareSourceSummary.Builder parentName(String parentName)
Display name the parent software source, if there is one- Parameters:
parentName
- the value to set- Returns:
- this builder
-
freeformTags
public SoftwareSourceSummary.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
-
definedTags
public SoftwareSourceSummary.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
-
build
public SoftwareSourceSummary build()
-
copy
public SoftwareSourceSummary.Builder copy(SoftwareSourceSummary model)
-
-