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 MonitoredResourceTaskDetailsRequest 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 classUpdateAgentReceiverTaskDetails.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.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAgentId()Management Agent Identifier OCID.HandlerTypegetHandlerType()Type of the handler.BooleangetIsEnable()True to enable the receiver and false to disable the receiver on the agent.AgentReceiverPropertiesgetReceiverProperties()inthashCode()UpdateAgentReceiverTaskDetails.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin classMonitoredResourceTaskDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classMonitoredResourceTaskDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classMonitoredResourceTaskDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classMonitoredResourceTaskDetails
-
-