Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.monitor; import com.fasterxml.jackson.annotation.JsonProperty;
Describes a receiver that should be resubscribed.
/** * Describes a receiver that should be resubscribed. */
public class EnableRequest {
The name of the receiver to resubscribe.
/** * The name of the receiver to resubscribe. */
@JsonProperty(value = "receiverName", required = true) private String receiverName;
Get the name of the receiver to resubscribe.
Returns:the receiverName value
/** * Get the name of the receiver to resubscribe. * * @return the receiverName value */
public String receiverName() { return this.receiverName; }
Set the name of the receiver to resubscribe.
Params:
  • receiverName – the receiverName value to set
Returns:the EnableRequest object itself.
/** * Set the name of the receiver to resubscribe. * * @param receiverName the receiverName value to set * @return the EnableRequest object itself. */
public EnableRequest withReceiverName(String receiverName) { this.receiverName = receiverName; return this; } }