Class DebugSendResult
- java.lang.Object
-
- com.azure.resourcemanager.notificationhubs.fluent.models.DebugSendResult
-
public final class DebugSendResult extends Object
The DebugSendResult model.
-
-
Constructor Summary
Constructors Constructor Description DebugSendResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Float
failure()
Get the failure property: send failure.Object
results()
Get the results property: actual failure description.Float
success()
Get the success property: successful send.void
validate()
Validates the instance.DebugSendResult
withFailure(Float failure)
Set the failure property: send failure.DebugSendResult
withResults(Object results)
Set the results property: actual failure description.DebugSendResult
withSuccess(Float success)
Set the success property: successful send.
-
-
-
Method Detail
-
success
public Float success()
Get the success property: successful send.- Returns:
- the success value.
-
withSuccess
public DebugSendResult withSuccess(Float success)
Set the success property: successful send.- Parameters:
success
- the success value to set.- Returns:
- the DebugSendResult object itself.
-
failure
public Float failure()
Get the failure property: send failure.- Returns:
- the failure value.
-
withFailure
public DebugSendResult withFailure(Float failure)
Set the failure property: send failure.- Parameters:
failure
- the failure value to set.- Returns:
- the DebugSendResult object itself.
-
results
public Object results()
Get the results property: actual failure description.- Returns:
- the results value.
-
withResults
public DebugSendResult withResults(Object results)
Set the results property: actual failure description.- Parameters:
results
- the results value to set.- Returns:
- the DebugSendResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-