Package com.oracle.bmc.events.model
Class CreateNotificationServiceActionDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.events.model.ActionDetails
-
- com.oracle.bmc.events.model.CreateNotificationServiceActionDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class CreateNotificationServiceActionDetails extends ActionDetails
Create an action that delivers to an Oracle Notification Service topic.
Note: Objects should always be created or deserialized using theCreateNotificationServiceActionDetails.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 theCreateNotificationServiceActionDetails.Builder
, which maintain a set of all explicitly set fields calledCreateNotificationServiceActionDetails.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
CreateNotificationServiceActionDetails.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.events.model.ActionDetails
ActionDetails.ActionType
-
-
Constructor Summary
Constructors Constructor Description CreateNotificationServiceActionDetails(Boolean isEnabled, String description, String topicId)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateNotificationServiceActionDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getTopicId()
The OCID of the topic to which messages are delivered.int
hashCode()
CreateNotificationServiceActionDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.events.model.ActionDetails
getDescription, getIsEnabled
-
-
-
-
Constructor Detail
-
CreateNotificationServiceActionDetails
@Deprecated public CreateNotificationServiceActionDetails(Boolean isEnabled, String description, String topicId)
Deprecated.
-
-
Method Detail
-
builder
public static CreateNotificationServiceActionDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateNotificationServiceActionDetails.Builder toBuilder()
-
getTopicId
public String getTopicId()
The OCID of the topic to which messages are delivered.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classActionDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classActionDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classActionDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classActionDetails
-
-