Class HsmClusterAuditLoggingInfo.Builder
- java.lang.Object
-
- com.oracle.bmc.keymanagement.model.HsmClusterAuditLoggingInfo.Builder
-
- Enclosing class:
- HsmClusterAuditLoggingInfo
public static class HsmClusterAuditLoggingInfo.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HsmClusterAuditLoggingInfo.BuilderauditLogLifecycleState(HsmClusterAuditLoggingInfo.AuditLogLifecycleState auditLogLifecycleState)The current lifecycle state of the audit logs.HsmClusterAuditLoggingInfo.BuilderbucketName(String bucketName)Audit logs bucket name.HsmClusterAuditLoggingInfobuild()HsmClusterAuditLoggingInfo.BuildercompartmentId(String compartmentId)Compartment of the bucket.HsmClusterAuditLoggingInfo.Buildercopy(HsmClusterAuditLoggingInfo model)HsmClusterAuditLoggingInfo.BuilderdynamicGroupName(String dynamicGroupName)Name of dynamic group used for audit log upload.HsmClusterAuditLoggingInfo.BuilderisEnabled(Boolean isEnabled)Whether audit logging is enabled.HsmClusterAuditLoggingInfo.Buildernamespace(String namespace)Bucket namespace.
-
-
-
Method Detail
-
isEnabled
public HsmClusterAuditLoggingInfo.Builder isEnabled(Boolean isEnabled)
Whether audit logging is enabled.- Parameters:
isEnabled- the value to set- Returns:
- this builder
-
bucketName
public HsmClusterAuditLoggingInfo.Builder bucketName(String bucketName)
Audit logs bucket name.- Parameters:
bucketName- the value to set- Returns:
- this builder
-
namespace
public HsmClusterAuditLoggingInfo.Builder namespace(String namespace)
Bucket namespace.- Parameters:
namespace- the value to set- Returns:
- this builder
-
compartmentId
public HsmClusterAuditLoggingInfo.Builder compartmentId(String compartmentId)
Compartment of the bucket.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
dynamicGroupName
public HsmClusterAuditLoggingInfo.Builder dynamicGroupName(String dynamicGroupName)
Name of dynamic group used for audit log upload.- Parameters:
dynamicGroupName- the value to set- Returns:
- this builder
-
auditLogLifecycleState
public HsmClusterAuditLoggingInfo.Builder auditLogLifecycleState(HsmClusterAuditLoggingInfo.AuditLogLifecycleState auditLogLifecycleState)
The current lifecycle state of the audit logs.- Parameters:
auditLogLifecycleState- the value to set- Returns:
- this builder
-
build
public HsmClusterAuditLoggingInfo build()
-
copy
public HsmClusterAuditLoggingInfo.Builder copy(HsmClusterAuditLoggingInfo model)
-
-