Package com.oracle.bmc.datasafe.model
Class BulkCreateUnifiedAuditPolicyDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datasafe.model.BulkCreateUnifiedAuditPolicyDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class BulkCreateUnifiedAuditPolicyDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe details required to bulk create unified audit policies.
 Note: Objects should always be created or deserialized using theBulkCreateUnifiedAuditPolicyDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theBulkCreateUnifiedAuditPolicyDetails.Builder, which maintain a set of all explicitly set fields calledBulkCreateUnifiedAuditPolicyDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classBulkCreateUnifiedAuditPolicyDetails.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BulkCreateUnifiedAuditPolicyDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The OCID of the compartment in which to create the unified audit policy.List<String>getPolicyNames()The list of unified audit policy names to be imported.StringgetSecurityPolicyId()The OCID of the security policy corresponding to the unified audit policy.BooleangetShouldPreserveCasing()Indicates whether the casing of the policy names provided in the request payload should be preserved during creation.StringgetTargetId()The OCID of the target database.List<String>getUnifiedAuditPolicyDefinitionIds()The list of unified audit policy definition ocids.inthashCode()BulkCreateUnifiedAuditPolicyDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
BulkCreateUnifiedAuditPolicyDetails@Deprecated @ConstructorProperties({"securityPolicyId","targetId","unifiedAuditPolicyDefinitionIds","policyNames","compartmentId","shouldPreserveCasing"}) public BulkCreateUnifiedAuditPolicyDetails(String securityPolicyId, String targetId, List<String> unifiedAuditPolicyDefinitionIds, List<String> policyNames, String compartmentId, Boolean shouldPreserveCasing) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static BulkCreateUnifiedAuditPolicyDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic BulkCreateUnifiedAuditPolicyDetails.Builder toBuilder() 
 - 
getSecurityPolicyIdpublic String getSecurityPolicyId() The OCID of the security policy corresponding to the unified audit policy.- Returns:
- the value
 
 - 
getTargetIdpublic String getTargetId() The OCID of the target database.- Returns:
- the value
 
 - 
getUnifiedAuditPolicyDefinitionIdspublic List<String> getUnifiedAuditPolicyDefinitionIds() The list of unified audit policy definition ocids.If unified audit policy definition ids are provided, the imported audit policy will be associated to the specified unified audit policy definition based on the policy name. Else, for every audit policy that gets imported, a new unified audit policy definition will be created. - Returns:
- the value
 
 - 
getPolicyNamespublic List<String> getPolicyNames() The list of unified audit policy names to be imported.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment in which to create the unified audit policy.- Returns:
- the value
 
 - 
getShouldPreserveCasingpublic Boolean getShouldPreserveCasing() Indicates whether the casing of the policy names provided in the request payload should be preserved during creation.By default all policy names will be converted to upper case. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-