Class DebugSendResponseInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.notificationhubs.fluent.models.DebugSendResponseInner
-
public final class DebugSendResponseInner extends com.azure.core.management.Resource
Description of a NotificationHub Resource.
-
-
Constructor Summary
Constructors Constructor Description DebugSendResponseInner()
-
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.Sku
sku()
Get the sku property: The sku of the created namespace.Float
success()
Get the success property: successful send.void
validate()
Validates the instance.DebugSendResponseInner
withFailure(Float failure)
Set the failure property: send failure.DebugSendResponseInner
withLocation(String location)
DebugSendResponseInner
withResults(Object results)
Set the results property: actual failure description.DebugSendResponseInner
withSku(Sku sku)
Set the sku property: The sku of the created namespace.DebugSendResponseInner
withSuccess(Float success)
Set the success property: successful send.DebugSendResponseInner
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
sku
public Sku sku()
Get the sku property: The sku of the created namespace.- Returns:
- the sku value.
-
withSku
public DebugSendResponseInner withSku(Sku sku)
Set the sku property: The sku of the created namespace.- Parameters:
sku
- the sku value to set.- Returns:
- the DebugSendResponseInner object itself.
-
withLocation
public DebugSendResponseInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public DebugSendResponseInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
success
public Float success()
Get the success property: successful send.- Returns:
- the success value.
-
withSuccess
public DebugSendResponseInner withSuccess(Float success)
Set the success property: successful send.- Parameters:
success
- the success value to set.- Returns:
- the DebugSendResponseInner object itself.
-
failure
public Float failure()
Get the failure property: send failure.- Returns:
- the failure value.
-
withFailure
public DebugSendResponseInner withFailure(Float failure)
Set the failure property: send failure.- Parameters:
failure
- the failure value to set.- Returns:
- the DebugSendResponseInner object itself.
-
results
public Object results()
Get the results property: actual failure description.- Returns:
- the results value.
-
withResults
public DebugSendResponseInner withResults(Object results)
Set the results property: actual failure description.- Parameters:
results
- the results value to set.- Returns:
- the DebugSendResponseInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-