Class SecurityAttributeNamespaceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.securityattribute.model.SecurityAttributeNamespaceSummary.Builder
-
- Enclosing class:
- SecurityAttributeNamespaceSummary
public static class SecurityAttributeNamespaceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityAttributeNamespaceSummarybuild()SecurityAttributeNamespaceSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the security attribute namespace.SecurityAttributeNamespaceSummary.Buildercopy(SecurityAttributeNamespaceSummary model)SecurityAttributeNamespaceSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SecurityAttributeNamespaceSummary.Builderdescription(String description)A description you create for the security attribute namespace to help you identify it.SecurityAttributeNamespaceSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.SecurityAttributeNamespaceSummary.Builderid(String id)The OCID of the security attribute namespace.SecurityAttributeNamespaceSummary.BuilderisRetired(Boolean isRetired)Indicates whether the security attribute namespace is retired.SecurityAttributeNamespaceSummary.BuilderlifecycleState(SecurityAttributeNamespace.LifecycleState lifecycleState)The security attribute namespace’s current state.SecurityAttributeNamespaceSummary.Buildermode(List<String> mode)Indicates possible modes the security attributes in the namespace can be set to.SecurityAttributeNamespaceSummary.Buildername(String name)The name of the security attribute namespace.SecurityAttributeNamespaceSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SecurityAttributeNamespaceSummary.BuildertimeCreated(Date timeCreated)Date and time the security attribute namespace was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public SecurityAttributeNamespaceSummary.Builder id(String id)
The OCID of the security attribute namespace.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public SecurityAttributeNamespaceSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the security attribute namespace.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
name
public SecurityAttributeNamespaceSummary.Builder name(String name)
The name of the security attribute namespace.It must be unique across all security attribute namespaces in the tenancy and cannot be changed.
- Parameters:
name- the value to set- Returns:
- this builder
-
description
public SecurityAttributeNamespaceSummary.Builder description(String description)
A description you create for the security attribute namespace to help you identify it.- Parameters:
description- the value to set- Returns:
- this builder
-
freeformTags
public SecurityAttributeNamespaceSummary.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 SecurityAttributeNamespaceSummary.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 SecurityAttributeNamespaceSummary.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
-
isRetired
public SecurityAttributeNamespaceSummary.Builder isRetired(Boolean isRetired)
Indicates whether the security attribute namespace is retired.- Parameters:
isRetired- the value to set- Returns:
- this builder
-
mode
public SecurityAttributeNamespaceSummary.Builder mode(List<String> mode)
Indicates possible modes the security attributes in the namespace can be set to.This is not accepted from the user. Currently the supported values are enforce and audit.
- Parameters:
mode- the value to set- Returns:
- this builder
-
lifecycleState
public SecurityAttributeNamespaceSummary.Builder lifecycleState(SecurityAttributeNamespace.LifecycleState lifecycleState)
The security attribute namespace’s current state.After creating a security attribute namespace, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute namespace, make sure its lifecycleState is INACTIVE.
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public SecurityAttributeNamespaceSummary.Builder timeCreated(Date timeCreated)
Date and time the security attribute namespace was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
build
public SecurityAttributeNamespaceSummary build()
-
copy
public SecurityAttributeNamespaceSummary.Builder copy(SecurityAttributeNamespaceSummary model)
-
-