public static class SecurityAttribute.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SecurityAttribute |
build() |
SecurityAttribute.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the security attribute definition.
|
SecurityAttribute.Builder |
copy(SecurityAttribute model) |
SecurityAttribute.Builder |
description(String description)
The description of the security attribute.
|
SecurityAttribute.Builder |
id(String id)
The OCID of the security attribute definition.
|
SecurityAttribute.Builder |
isRetired(Boolean isRetired)
Indicates whether the security attribute is retired.
|
SecurityAttribute.Builder |
lifecycleState(SecurityAttribute.LifecycleState lifecycleState)
The security attribute’s current state.
|
SecurityAttribute.Builder |
name(String name)
The name assigned to the security attribute during creation.
|
SecurityAttribute.Builder |
securityAttributeNamespaceId(String securityAttributeNamespaceId)
The OCID of the security attribute namespace that contains the security attribute
definition.
|
SecurityAttribute.Builder |
securityAttributeNamespaceName(String securityAttributeNamespaceName)
The name of the security attribute namespace that contains the security attribute.
|
SecurityAttribute.Builder |
timeCreated(Date timeCreated)
Date and time the security attribute was created, in the format defined by RFC3339.
|
SecurityAttribute.Builder |
type(String type)
The data type of the security attribute.
|
SecurityAttribute.Builder |
validator(BaseSecurityAttributeValidator validator) |
public SecurityAttribute.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the security attribute definition.
compartmentId
- the value to setpublic SecurityAttribute.Builder securityAttributeNamespaceId(String securityAttributeNamespaceId)
The OCID of the security attribute namespace that contains the security attribute definition.
securityAttributeNamespaceId
- the value to setpublic SecurityAttribute.Builder securityAttributeNamespaceName(String securityAttributeNamespaceName)
The name of the security attribute namespace that contains the security attribute.
securityAttributeNamespaceName
- the value to setpublic SecurityAttribute.Builder id(String id)
The OCID of the security attribute definition.
id
- the value to setpublic SecurityAttribute.Builder name(String name)
The name assigned to the security attribute during creation. This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.
name
- the value to setpublic SecurityAttribute.Builder description(String description)
The description of the security attribute.
description
- the value to setpublic SecurityAttribute.Builder type(String type)
The data type of the security attribute.
type
- the value to setpublic SecurityAttribute.Builder isRetired(Boolean isRetired)
Indicates whether the security attribute is retired. See Managing Security Attribute Namespaces.
isRetired
- the value to setpublic SecurityAttribute.Builder lifecycleState(SecurityAttribute.LifecycleState lifecycleState)
The security attribute’s current state. After creating a security attribute, make sure
its lifecycleState
is ACTIVE before using it. After retiring a security
attribute, make sure its lifecycleState
is INACTIVE before using it. If you
delete a security attribute, you cannot delete another security attribute until the
deleted tag’s lifecycleState
changes from DELETING to DELETED.
lifecycleState
- the value to setpublic SecurityAttribute.Builder timeCreated(Date timeCreated)
Date and time the security attribute was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic SecurityAttribute.Builder validator(BaseSecurityAttributeValidator validator)
public SecurityAttribute build()
public SecurityAttribute.Builder copy(SecurityAttribute model)
Copyright © 2016–2024. All rights reserved.