public static class SecurityAttributeSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SecurityAttributeSummary |
build() |
SecurityAttributeSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the security attribute.
|
SecurityAttributeSummary.Builder |
copy(SecurityAttributeSummary model) |
SecurityAttributeSummary.Builder |
description(String description)
The description you assign to the security attribute.
|
SecurityAttributeSummary.Builder |
id(String id)
The OCID of the security attribute.
|
SecurityAttributeSummary.Builder |
isRetired(Boolean isRetired)
Whether the security attribute is retired.
|
SecurityAttributeSummary.Builder |
lifecycleState(SecurityAttribute.LifecycleState lifecycleState)
The security attribute’s current state.
|
SecurityAttributeSummary.Builder |
name(String name)
The name assigned to the security attribute during creation.
|
SecurityAttributeSummary.Builder |
securityAttributeNamespaceId(String securityAttributeNamespaceId)
The OCID of the namespace that contains the security attribute.
|
SecurityAttributeSummary.Builder |
securityAttributeNamespaceName(String securityAttributeNamespaceName)
The name of the security attribute namespace that contains the security attribute.
|
SecurityAttributeSummary.Builder |
timeCreated(Date timeCreated)
Date and time the security attribute was created, in the format defined by RFC3339.
|
SecurityAttributeSummary.Builder |
type(String type)
The data type of the security attribute.
|
public SecurityAttributeSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the security attribute.
compartmentId
- the value to setpublic SecurityAttributeSummary.Builder securityAttributeNamespaceId(String securityAttributeNamespaceId)
The OCID of the namespace that contains the security attribute.
securityAttributeNamespaceId
- the value to setpublic SecurityAttributeSummary.Builder securityAttributeNamespaceName(String securityAttributeNamespaceName)
The name of the security attribute namespace that contains the security attribute.
securityAttributeNamespaceName
- the value to setpublic SecurityAttributeSummary.Builder id(String id)
The OCID of the security attribute.
id
- the value to setpublic SecurityAttributeSummary.Builder name(String name)
The name assigned to the security attribute during creation. This is the security attribute. The name must be unique within the security attribute namespace and cannot be changed.
name
- the value to setpublic SecurityAttributeSummary.Builder description(String description)
The description you assign to the security attribute.
description
- the value to setpublic SecurityAttributeSummary.Builder type(String type)
The data type of the security attribute.
type
- the value to setpublic SecurityAttributeSummary.Builder isRetired(Boolean isRetired)
Whether the security attribute is retired. See Managing Security Attributes.
isRetired
- the value to setpublic SecurityAttributeSummary.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 security attribute’s lifecycleState
changes from DELETING to DELETED.
lifecycleState
- the value to setpublic SecurityAttributeSummary.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 SecurityAttributeSummary build()
public SecurityAttributeSummary.Builder copy(SecurityAttributeSummary model)
Copyright © 2016–2024. All rights reserved.