com.azure.resourcemanager.elastic.models.MarketplaceSaaSInfoMarketplaceSubscription Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.elastic.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Marketplace Subscription. */
@Fluent
public final class MarketplaceSaaSInfoMarketplaceSubscription {
/*
* Marketplace Subscription Id. This is a GUID-formatted string.
*/
@JsonProperty(value = "id")
private String id;
/** Creates an instance of MarketplaceSaaSInfoMarketplaceSubscription class. */
public MarketplaceSaaSInfoMarketplaceSubscription() {
}
/**
* Get the id property: Marketplace Subscription Id. This is a GUID-formatted string.
*
* @return the id value.
*/
public String id() {
return this.id;
}
/**
* Set the id property: Marketplace Subscription Id. This is a GUID-formatted string.
*
* @param id the id value to set.
* @return the MarketplaceSaaSInfoMarketplaceSubscription object itself.
*/
public MarketplaceSaaSInfoMarketplaceSubscription withId(String id) {
this.id = id;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}