Class DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasetoolsruntime.model.DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec
-
- Direct Known Subclasses:
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault
@Generated(value="OracleSDKGenerator", comments="API Version: 20230222") public class DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe content of a Database Tools database API gateway config auto API spec sub resource defined within a pool.
Note: Objects should always be created or deserialized using theBuilder. 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 theBuilder, which maintain a set of all explicitly set fields calledBuilder#__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 classDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.DatabaseObjectTypeThe type of the database object.static classDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.Operationsstatic classDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.SecuritySchemes
-
Constructor Summary
Constructors Modifier Constructor Description protectedDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec(String key, String displayName, String databaseObjectName, DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.DatabaseObjectType databaseObjectType, String description, String alias, List<DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.Operations> operations, List<DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.SecuritySchemes> securitySchemes, String scope, List<String> roles, Date timeCreated, Date timeUpdated)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetAlias()Used as the URI path element for this object.StringgetDatabaseObjectName()The name of the database object.DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.DatabaseObjectTypegetDatabaseObjectType()The type of the database object.StringgetDescription()Description of the autoApiSpec.StringgetDisplayName()A user-friendly name.StringgetKey()A system generated string that uniquely identifies an auto API spec sub resource within a given pool.List<DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.Operations>getOperations()The operations to limit access to this resource.List<String>getRoles()The name of the database API gateway config roles protecting the resource.StringgetScope()The name of the database API gateway config privilege protecting the resource.List<DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.SecuritySchemes>getSecuritySchemes()The security schemes that can access this resource.DategetTimeCreated()The time the resource was created.DategetTimeUpdated()The time the resource was updated.inthashCode()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec
@Deprecated @ConstructorProperties({"key","displayName","databaseObjectName","databaseObjectType","description","alias","operations","securitySchemes","scope","roles","timeCreated","timeUpdated"}) protected DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec(String key, String displayName, String databaseObjectName, DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.DatabaseObjectType databaseObjectType, String description, String alias, List<DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.Operations> operations, List<DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.SecuritySchemes> securitySchemes, String scope, List<String> roles, Date timeCreated, Date timeUpdated)
Deprecated.
-
-
Method Detail
-
getKey
public String getKey()
A system generated string that uniquely identifies an auto API spec sub resource within a given pool.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
A user-friendly name.Does not have to be unique, and it\u2019s changeable. Avoid entering confidential information.
- Returns:
- the value
-
getDatabaseObjectName
public String getDatabaseObjectName()
The name of the database object.- Returns:
- the value
-
getDatabaseObjectType
public DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.DatabaseObjectType getDatabaseObjectType()
The type of the database object.- Returns:
- the value
-
getDescription
public String getDescription()
Description of the autoApiSpec.- Returns:
- the value
-
getAlias
public String getAlias()
Used as the URI path element for this object.When not specified the objectName lowercase is the default value.
- Returns:
- the value
-
getOperations
public List<DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.Operations> getOperations()
The operations to limit access to this resource.If not specified then the default is [“READ”,“WRITE”].
- Returns:
- the value
-
getSecuritySchemes
public List<DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.SecuritySchemes> getSecuritySchemes()
The security schemes that can access this resource.If not specified then the resource is public.
- Returns:
- the value
-
getScope
public String getScope()
The name of the database API gateway config privilege protecting the resource.Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
- Returns:
- the value
-
getRoles
public List<String> getRoles()
The name of the database API gateway config roles protecting the resource.Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The time the resource was created.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The time the resource was updated.An RFC3339 formatted datetime string.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-