Class PropertySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.PropertySummary.Builder
-
- Enclosing class:
- PropertySummary
public static class PropertySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertySummarybuild()PropertySummary.BuildercompartmentId(String compartmentId)Compartment OCIDPropertySummary.Buildercopy(PropertySummary model)PropertySummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PropertySummary.BuilderdisplayName(String displayName)A user-friendly name.PropertySummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.PropertySummary.Builderid(String id)The OCID of the resource.PropertySummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.PropertySummary.BuilderlifecycleState(Property.LifecycleState lifecycleState)The current state of the Property.PropertySummary.BuilderresourceRegion(String resourceRegion)Associated regionPropertySummary.Builderscope(Scope scope)The scope of the property.PropertySummary.Builderselection(Selection selection)Text selection of the property.PropertySummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.PropertySummary.BuildertimeCreated(Date timeCreated)The time this resource was created.PropertySummary.BuildertimeUpdated(Date timeUpdated)The time this resource was last updated.PropertySummary.Buildertype(Property.Type type)The type of the property.PropertySummary.Buildervalues(List<String> values)Values of the property (must be a single value if selection = ‘SINGLE_CHOICE’).PropertySummary.BuildervalueType(ValueType valueType)Format of the value.
-
-
-
Method Detail
-
id
public PropertySummary.Builder id(String id)
The OCID of the resource.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public PropertySummary.Builder compartmentId(String compartmentId)
Compartment OCID- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public PropertySummary.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
- Parameters:
displayName- the value to set- Returns:
- this builder
-
timeCreated
public PropertySummary.Builder timeCreated(Date timeCreated)
The time this resource was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public PropertySummary.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
resourceRegion
public PropertySummary.Builder resourceRegion(String resourceRegion)
Associated region- Parameters:
resourceRegion- the value to set- Returns:
- this builder
-
lifecycleState
public PropertySummary.Builder lifecycleState(Property.LifecycleState lifecycleState)
The current state of the Property.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public PropertySummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
selection
public PropertySummary.Builder selection(Selection selection)
Text selection of the property.- Parameters:
selection- the value to set- Returns:
- this builder
-
valueType
public PropertySummary.Builder valueType(ValueType valueType)
Format of the value.- Parameters:
valueType- the value to set- Returns:
- this builder
-
values
public PropertySummary.Builder values(List<String> values)
Values of the property (must be a single value if selection = ‘SINGLE_CHOICE’).- Parameters:
values- the value to set- Returns:
- this builder
-
scope
public PropertySummary.Builder scope(Scope scope)
The scope of the property.- Parameters:
scope- the value to set- Returns:
- this builder
-
type
public PropertySummary.Builder type(Property.Type type)
The type of the property.- Parameters:
type- the value to set- Returns:
- this builder
-
freeformTags
public PropertySummary.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 PropertySummary.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
-
systemTags
public PropertySummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public PropertySummary build()
-
copy
public PropertySummary.Builder copy(PropertySummary model)
-
-