Class SecurityAttribute.Builder
- java.lang.Object
- 
- com.oracle.bmc.securityattribute.model.SecurityAttribute.Builder
 
- 
- Enclosing class:
- SecurityAttribute
 
 public static class SecurityAttribute.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityAttributebuild()SecurityAttribute.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the security attribute definition.SecurityAttribute.Buildercopy(SecurityAttribute model)SecurityAttribute.Builderdescription(String description)The description of the security attribute.SecurityAttribute.Builderid(String id)The OCID of the security attribute definition.SecurityAttribute.BuilderisRetired(Boolean isRetired)Indicates whether the security attribute is retired.SecurityAttribute.BuilderlifecycleState(SecurityAttribute.LifecycleState lifecycleState)The security attribute’s current state.SecurityAttribute.Buildername(String name)The name assigned to the security attribute during creation.SecurityAttribute.BuildersecurityAttributeNamespaceId(String securityAttributeNamespaceId)The OCID of the security attribute namespace that contains the security attribute definition.SecurityAttribute.BuildersecurityAttributeNamespaceName(String securityAttributeNamespaceName)The name of the security attribute namespace that contains the security attribute.SecurityAttribute.BuildertimeCreated(Date timeCreated)Date and time the security attribute was created, in the format defined by RFC3339.SecurityAttribute.Buildertype(String type)The data type of the security attribute.SecurityAttribute.Buildervalidator(BaseSecurityAttributeValidator validator)
 
- 
- 
- 
Method Detail- 
compartmentIdpublic SecurityAttribute.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the security attribute definition.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
securityAttributeNamespaceIdpublic SecurityAttribute.Builder securityAttributeNamespaceId(String securityAttributeNamespaceId) The OCID of the security attribute namespace that contains the security attribute definition.- Parameters:
- securityAttributeNamespaceId- the value to set
- Returns:
- this builder
 
 - 
securityAttributeNamespaceNamepublic SecurityAttribute.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
 
 - 
idpublic SecurityAttribute.Builder id(String id) The OCID of the security attribute definition.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
namepublic 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. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic SecurityAttribute.Builder description(String description) The description of the security attribute.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
typepublic SecurityAttribute.Builder type(String type) The data type of the security attribute.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
isRetiredpublic SecurityAttribute.Builder isRetired(Boolean isRetired) Indicates whether the security attribute is retired.- Parameters:
- isRetired- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic 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. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
validatorpublic SecurityAttribute.Builder validator(BaseSecurityAttributeValidator validator) 
 - 
buildpublic SecurityAttribute build() 
 - 
copypublic SecurityAttribute.Builder copy(SecurityAttribute model) 
 
- 
 
-