Class SecurityAttributeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.securityattribute.model.SecurityAttributeSummary.Builder
-
- Enclosing class:
- SecurityAttributeSummary
public static class SecurityAttributeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
compartmentId
public SecurityAttributeSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the security attribute.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
securityAttributeNamespaceId
public SecurityAttributeSummary.Builder securityAttributeNamespaceId(String securityAttributeNamespaceId)
The OCID of the namespace that contains the security attribute.- Parameters:
securityAttributeNamespaceId
- the value to set- Returns:
- this builder
-
securityAttributeNamespaceName
public SecurityAttributeSummary.Builder securityAttributeNamespaceName(String securityAttributeNamespaceName)
The name of the security attribute namespace that contains the security attribute.- Parameters:
securityAttributeNamespaceName
- the value to set- Returns:
- this builder
-
id
public SecurityAttributeSummary.Builder id(String id)
The OCID of the security attribute.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public 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.
- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public SecurityAttributeSummary.Builder description(String description)
The description you assign to the security attribute.- Parameters:
description
- the value to set- Returns:
- this builder
-
type
public SecurityAttributeSummary.Builder type(String type)
The data type of the security attribute.- Parameters:
type
- the value to set- Returns:
- this builder
-
isRetired
public SecurityAttributeSummary.Builder isRetired(Boolean isRetired)
Whether the security attribute is retired.- Parameters:
isRetired
- the value to set- Returns:
- this builder
-
lifecycleState
public 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.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
build
public SecurityAttributeSummary build()
-
copy
public SecurityAttributeSummary.Builder copy(SecurityAttributeSummary model)
-
-