public static class SecurityAttributeNamespaceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SecurityAttributeNamespaceSummary |
build() |
SecurityAttributeNamespaceSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the security attribute namespace.
|
SecurityAttributeNamespaceSummary.Builder |
copy(SecurityAttributeNamespaceSummary model) |
SecurityAttributeNamespaceSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
SecurityAttributeNamespaceSummary.Builder |
description(String description)
A description you create for the security attribute namespace to help you identify it.
|
SecurityAttributeNamespaceSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
SecurityAttributeNamespaceSummary.Builder |
id(String id)
The OCID of the security attribute namespace.
|
SecurityAttributeNamespaceSummary.Builder |
isRetired(Boolean isRetired)
Indicates whether the security attribute namespace is retired.
|
SecurityAttributeNamespaceSummary.Builder |
lifecycleState(SecurityAttributeNamespace.LifecycleState lifecycleState)
The security attribute namespace’s current state.
|
SecurityAttributeNamespaceSummary.Builder |
mode(List<String> mode)
Indicates possible modes the security attributes in the namespace can be set to.
|
SecurityAttributeNamespaceSummary.Builder |
name(String name)
The name of the security attribute namespace.
|
SecurityAttributeNamespaceSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
SecurityAttributeNamespaceSummary.Builder |
timeCreated(Date timeCreated)
Date and time the security attribute namespace was created, in the format defined by
RFC3339.
|
public SecurityAttributeNamespaceSummary.Builder id(String id)
The OCID of the security attribute namespace.
id
- the value to setpublic SecurityAttributeNamespaceSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the security attribute namespace.
compartmentId
- the value to setpublic 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.
name
- the value to setpublic SecurityAttributeNamespaceSummary.Builder description(String description)
A description you create for the security attribute namespace to help you identify it.
description
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic SecurityAttributeNamespaceSummary.Builder isRetired(Boolean isRetired)
Indicates whether the security attribute namespace is retired.
isRetired
- the value to setpublic 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.
mode
- the value to setpublic 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.
lifecycleState
- the value to setpublic 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
timeCreated
- the value to setpublic SecurityAttributeNamespaceSummary build()
public SecurityAttributeNamespaceSummary.Builder copy(SecurityAttributeNamespaceSummary model)
Copyright © 2016–2024. All rights reserved.