Package com.oracle.bmc.opsi.model
Class SqlText.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.SqlText.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlTextbuild()SqlText.Buildercopy(SqlText model)SqlText.BuilderexactMatchingSignature(String exactMatchingSignature)Exact matching signature Example: “18067345456756876713”SqlText.BuilderforceMatchingSignature(String forceMatchingSignature)Force matching signature Example: “18067345456756876713”SqlText.BuildersqlCommand(String sqlCommand)SQL command Example: “SELECT”SqlText.BuildersqlFullText(String sqlFullText)Full SQL Text Example: “SELECT username,profile,default_tablespace,temporary_tablespace FROM dba_users” Disclaimer: SQL text being uploaded explicitly via APIs is not masked.SqlText.BuildersqlIdentifier(String sqlIdentifier)Unique SQL_ID for a SQL Statement.SqlText.BuildertimeCollected(Date timeCollected)Collection timestamp Example: “2020-05-06T00:00:00.000Z”SqlText.Builderversion(Float version)Version Example: 1
-
-
-
Method Detail
-
version
public SqlText.Builder version(Float version)
Version Example: 1- Parameters:
version- the value to set- Returns:
- this builder
-
sqlIdentifier
public SqlText.Builder sqlIdentifier(String sqlIdentifier)
Unique SQL_ID for a SQL Statement.- Parameters:
sqlIdentifier- the value to set- Returns:
- this builder
-
timeCollected
public SqlText.Builder timeCollected(Date timeCollected)
Collection timestamp Example: “2020-05-06T00:00:00.000Z”- Parameters:
timeCollected- the value to set- Returns:
- this builder
-
sqlCommand
public SqlText.Builder sqlCommand(String sqlCommand)
SQL command Example: “SELECT”- Parameters:
sqlCommand- the value to set- Returns:
- this builder
-
exactMatchingSignature
public SqlText.Builder exactMatchingSignature(String exactMatchingSignature)
Exact matching signature Example: “18067345456756876713”- Parameters:
exactMatchingSignature- the value to set- Returns:
- this builder
-
forceMatchingSignature
public SqlText.Builder forceMatchingSignature(String forceMatchingSignature)
Force matching signature Example: “18067345456756876713”- Parameters:
forceMatchingSignature- the value to set- Returns:
- this builder
-
sqlFullText
public SqlText.Builder sqlFullText(String sqlFullText)
Full SQL Text Example: “SELECT username,profile,default_tablespace,temporary_tablespace FROM dba_users” Disclaimer: SQL text being uploaded explicitly via APIs is not masked.Any sensitive literals contained in the sqlFullText column should be masked prior to ingestion.
- Parameters:
sqlFullText- the value to set- Returns:
- this builder
-
build
public SqlText build()
-
copy
public SqlText.Builder copy(SqlText model)
-
-