Class QuotaTemplate
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.governancerulescontrolplane.model.Template
-
- com.oracle.bmc.governancerulescontrolplane.model.QuotaTemplate
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220504") public final class QuotaTemplate extends Template
Quota template for governance rule.
Note: Objects should always be created or deserialized using theQuotaTemplate.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 theQuotaTemplate.Builder
, which maintain a set of all explicitly set fields calledQuotaTemplate.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 Summary
Nested Classes Modifier and Type Class Description static class
QuotaTemplate.Builder
-
Constructor Summary
Constructors Constructor Description QuotaTemplate(String displayName, String description, List<String> statements)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuotaTemplate.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getDescription()
Description of the quota resource.String
getDisplayName()
Display name of the quota resource.List<String>
getStatements()
List of quota statements.int
hashCode()
QuotaTemplate.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
QuotaTemplate
@Deprecated public QuotaTemplate(String displayName, String description, List<String> statements)
Deprecated.
-
-
Method Detail
-
builder
public static QuotaTemplate.Builder builder()
Create a new builder.
-
toBuilder
public QuotaTemplate.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
Display name of the quota resource.- Returns:
- the value
-
getDescription
public String getDescription()
Description of the quota resource.- Returns:
- the value
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-