Package com.oracle.bmc.logging.model
Class OciService
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.logging.model.Source
-
- com.oracle.bmc.logging.model.OciService
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200531") public final class OciService extends Source
OCI service logging configuration.
Note: Objects should always be created or deserialized using theOciService.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 theOciService.Builder
, which maintain a set of all explicitly set fields calledOciService.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
OciService.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.logging.model.Source
Source.SourceType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OciService.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCategory()
Log object category.Map<String,String>
getParameters()
Log category parameters are stored here.String
getResource()
The unique identifier of the resource emitting the log.String
getService()
Service generating log.int
hashCode()
OciService.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Method Detail
-
builder
public static OciService.Builder builder()
Create a new builder.
-
toBuilder
public OciService.Builder toBuilder()
-
getService
public String getService()
Service generating log.- Returns:
- the value
-
getResource
public String getResource()
The unique identifier of the resource emitting the log.- Returns:
- the value
-
getCategory
public String getCategory()
Log object category.- Returns:
- the value
-
getParameters
public Map<String,String> getParameters()
Log category parameters are stored here.- Returns:
- the value
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-