Class UpdateAgentReceiverTaskDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.stackmonitoring.model.MonitoredResourceTaskDetails
-
- com.oracle.bmc.stackmonitoring.model.UpdateAgentReceiverTaskDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public final class UpdateAgentReceiverTaskDetails extends MonitoredResourceTaskDetails
Request details for enabling/disabling the metric receiver on the management agent.
Note: Objects should always be created or deserialized using theUpdateAgentReceiverTaskDetails.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 theUpdateAgentReceiverTaskDetails.Builder
, which maintain a set of all explicitly set fields calledUpdateAgentReceiverTaskDetails.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
UpdateAgentReceiverTaskDetails.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.stackmonitoring.model.MonitoredResourceTaskDetails
MonitoredResourceTaskDetails.Type
-
-
Constructor Summary
Constructors Constructor Description UpdateAgentReceiverTaskDetails(String agentId, HandlerType handlerType, Boolean isEnable, AgentReceiverProperties receiverProperties)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateAgentReceiverTaskDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAgentId()
Management Agent Identifier OCID.HandlerType
getHandlerType()
Type of the handler.Boolean
getIsEnable()
True to enable the receiver and false to disable the receiver on the agent.AgentReceiverProperties
getReceiverProperties()
int
hashCode()
UpdateAgentReceiverTaskDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
UpdateAgentReceiverTaskDetails
@Deprecated public UpdateAgentReceiverTaskDetails(String agentId, HandlerType handlerType, Boolean isEnable, AgentReceiverProperties receiverProperties)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateAgentReceiverTaskDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateAgentReceiverTaskDetails.Builder toBuilder()
-
getHandlerType
public HandlerType getHandlerType()
Type of the handler.- Returns:
- the value
-
getIsEnable
public Boolean getIsEnable()
True to enable the receiver and false to disable the receiver on the agent.- Returns:
- the value
-
getReceiverProperties
public AgentReceiverProperties getReceiverProperties()
-
toString
public String toString()
- Overrides:
toString
in classMonitoredResourceTaskDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classMonitoredResourceTaskDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classMonitoredResourceTaskDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classMonitoredResourceTaskDetails
-
-