CreateSecurityAttributeDetails

class oci.security_attribute.models.CreateSecurityAttributeDetails(**kwargs)

Bases: object

Details of the security attribute to be created for a specific security attribute namespace.

Methods:

__init__(**kwargs)

Initializes a new CreateSecurityAttributeDetails object with values from keyword arguments.

Attributes:

description

[Required] Gets the description of this CreateSecurityAttributeDetails.

name

[Required] Gets the name of this CreateSecurityAttributeDetails.

validator

Gets the validator of this CreateSecurityAttributeDetails.

__init__(**kwargs)

Initializes a new CreateSecurityAttributeDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • name (str) – The value to assign to the name property of this CreateSecurityAttributeDetails.

  • description (str) – The value to assign to the description property of this CreateSecurityAttributeDetails.

  • validator (oci.security_attribute.models.BaseSecurityAttributeValidator) – The value to assign to the validator property of this CreateSecurityAttributeDetails.

property description

[Required] Gets the description of this CreateSecurityAttributeDetails. The description you assign to the security attribute during creation.

Returns

The description of this CreateSecurityAttributeDetails.

Return type

str

property name

[Required] Gets the name of this CreateSecurityAttributeDetails. The name you assign to the security attribute during creation. This is the security attribute key. The name must be unique within the namespace and cannot be changed.

Returns

The name of this CreateSecurityAttributeDetails.

Return type

str

property validator

Gets the validator of this CreateSecurityAttributeDetails.

Returns

The validator of this CreateSecurityAttributeDetails.

Return type

oci.security_attribute.models.BaseSecurityAttributeValidator