Package com.oracle.bmc.datasafe.model
Class AttributeSet.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.AttributeSet.Builder
-
- Enclosing class:
- AttributeSet
public static class AttributeSet.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeSet.Builder
attributeSetType(AttributeSet.AttributeSetType attributeSetType)
The type of attribute set.AttributeSet.Builder
attributeSetValues(List<String> attributeSetValues)
The list of values in an attribute setAttributeSet
build()
AttributeSet.Builder
compartmentId(String compartmentId)
The OCID of the compartment where the attribute set is stored.AttributeSet.Builder
copy(AttributeSet model)
AttributeSet.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.AttributeSet.Builder
description(String description)
Description of an attribute set.AttributeSet.Builder
displayName(String displayName)
The display name of an attribute set.AttributeSet.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.AttributeSet.Builder
id(String id)
The OCID of an attribute set.AttributeSet.Builder
inUse(AttributeSet.InUse inUse)
Indicates whether the attribute set is in use by other resource.AttributeSet.Builder
isUserDefined(Boolean isUserDefined)
A boolean flag indicating to list user defined or seeded attribute sets.AttributeSet.Builder
lifecycleState(AttributeSet.LifecycleState lifecycleState)
The current state of an attribute set.AttributeSet.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.AttributeSet.Builder
timeCreated(Date timeCreated)
The date and time an attribute set was created, in the format defined by RFC3339.AttributeSet.Builder
timeUpdated(Date timeUpdated)
The date and time an attribute set was updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public AttributeSet.Builder id(String id)
The OCID of an attribute set.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public AttributeSet.Builder compartmentId(String compartmentId)
The OCID of the compartment where the attribute set is stored.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public AttributeSet.Builder displayName(String displayName)
The display name of an attribute set.The name does not have to be unique, and is changeable.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public AttributeSet.Builder description(String description)
Description of an attribute set.- Parameters:
description
- the value to set- Returns:
- this builder
-
lifecycleState
public AttributeSet.Builder lifecycleState(AttributeSet.LifecycleState lifecycleState)
The current state of an attribute set.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public AttributeSet.Builder timeCreated(Date timeCreated)
The date and time an attribute set was created, in the format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public AttributeSet.Builder timeUpdated(Date timeUpdated)
The date and time an attribute set was updated, in the format defined by RFC3339.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
attributeSetType
public AttributeSet.Builder attributeSetType(AttributeSet.AttributeSetType attributeSetType)
The type of attribute set.- Parameters:
attributeSetType
- the value to set- Returns:
- this builder
-
attributeSetValues
public AttributeSet.Builder attributeSetValues(List<String> attributeSetValues)
The list of values in an attribute set- Parameters:
attributeSetValues
- the value to set- Returns:
- this builder
-
isUserDefined
public AttributeSet.Builder isUserDefined(Boolean isUserDefined)
A boolean flag indicating to list user defined or seeded attribute sets.- Parameters:
isUserDefined
- the value to set- Returns:
- this builder
-
inUse
public AttributeSet.Builder inUse(AttributeSet.InUse inUse)
Indicates whether the attribute set is in use by other resource.- Parameters:
inUse
- the value to set- Returns:
- this builder
-
freeformTags
public AttributeSet.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public AttributeSet.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public AttributeSet.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public AttributeSet build()
-
copy
public AttributeSet.Builder copy(AttributeSet model)
-
-