public static class SecurityAttributeNamespace.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SecurityAttributeNamespace |
build() |
SecurityAttributeNamespace.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the namespace.
|
SecurityAttributeNamespace.Builder |
copy(SecurityAttributeNamespace model) |
SecurityAttributeNamespace.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
SecurityAttributeNamespace.Builder |
description(String description)
The description you assign to the security attribute namespace.
|
SecurityAttributeNamespace.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
SecurityAttributeNamespace.Builder |
id(String id)
The OCID of the security attribute namespace.
|
SecurityAttributeNamespace.Builder |
isRetired(Boolean isRetired)
Indicates whether the security attribute namespace is retired.
|
SecurityAttributeNamespace.Builder |
lifecycleState(SecurityAttributeNamespace.LifecycleState lifecycleState)
The security attribute namespace’s current state.
|
SecurityAttributeNamespace.Builder |
mode(List<String> mode)
Indicates possible modes the security attributes in this namespace can be set to.
|
SecurityAttributeNamespace.Builder |
name(String name)
The name of the namespace.
|
SecurityAttributeNamespace.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
SecurityAttributeNamespace.Builder |
timeCreated(Date timeCreated)
Date and time the security attribute namespace was created, in the format defined by
RFC3339.
|
public SecurityAttributeNamespace.Builder id(String id)
The OCID of the security attribute namespace.
id
- the value to setpublic SecurityAttributeNamespace.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the namespace.
compartmentId
- the value to setpublic SecurityAttributeNamespace.Builder name(String name)
The name of the namespace. It must be unique across all namespaces in the tenancy and cannot be changed.
name
- the value to setpublic SecurityAttributeNamespace.Builder description(String description)
The description you assign to the security attribute namespace.
description
- the value to setpublic SecurityAttributeNamespace.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"}
freeformTags
- the value to setpublic SecurityAttributeNamespace.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"}}
definedTags
- the value to setpublic SecurityAttributeNamespace.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"}}
systemTags
- the value to setpublic SecurityAttributeNamespace.Builder isRetired(Boolean isRetired)
Indicates whether the security attribute namespace is retired. See Managing Security Attribute Namespaces.
isRetired
- the value to setpublic SecurityAttributeNamespace.Builder mode(List<String> mode)
Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
mode
- the value to setpublic SecurityAttributeNamespace.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.
lifecycleState
- the value to setpublic SecurityAttributeNamespace.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
timeCreated
- the value to setpublic SecurityAttributeNamespace build()
public SecurityAttributeNamespace.Builder copy(SecurityAttributeNamespace model)
Copyright © 2016–2024. All rights reserved.