Class CreateSecurityAttributeNamespaceDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.securityattribute.model.CreateSecurityAttributeNamespaceDetails.Builder
-
- Enclosing class:
- CreateSecurityAttributeNamespaceDetails
public static class CreateSecurityAttributeNamespaceDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSecurityAttributeNamespaceDetailsbuild()CreateSecurityAttributeNamespaceDetails.BuildercompartmentId(String compartmentId)The OCID of the tenancy containing the security attribute namespace.CreateSecurityAttributeNamespaceDetails.Buildercopy(CreateSecurityAttributeNamespaceDetails model)CreateSecurityAttributeNamespaceDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateSecurityAttributeNamespaceDetails.Builderdescription(String description)The description you assign to the security attribute namespace during creation.CreateSecurityAttributeNamespaceDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateSecurityAttributeNamespaceDetails.Buildername(String name)The name you assign to the security attribute namespace during creation.
-
-
-
Method Detail
-
compartmentId
public CreateSecurityAttributeNamespaceDetails.Builder compartmentId(String compartmentId)
The OCID of the tenancy containing the security attribute namespace.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
name
public CreateSecurityAttributeNamespaceDetails.Builder name(String name)
The name you assign to the security attribute namespace during creation.The name must be unique across all namespaces in the tenancy and cannot be changed.
- Parameters:
name- the value to set- Returns:
- this builder
-
description
public CreateSecurityAttributeNamespaceDetails.Builder description(String description)
The description you assign to the security attribute namespace during creation.- Parameters:
description- the value to set- Returns:
- this builder
-
freeformTags
public CreateSecurityAttributeNamespaceDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public CreateSecurityAttributeNamespaceDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public CreateSecurityAttributeNamespaceDetails build()
-
copy
public CreateSecurityAttributeNamespaceDetails.Builder copy(CreateSecurityAttributeNamespaceDetails model)
-
-