public final class PurchasePlan extends Object
Constructor and Description |
---|
PurchasePlan() |
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name property: The plan ID.
|
String |
product()
Get the product property: Specifies the product of the image from the marketplace.
|
String |
publisher()
Get the publisher property: The publisher ID.
|
void |
validate()
Validates the instance.
|
PurchasePlan |
withName(String name)
Set the name property: The plan ID.
|
PurchasePlan |
withProduct(String product)
Set the product property: Specifies the product of the image from the marketplace.
|
PurchasePlan |
withPublisher(String publisher)
Set the publisher property: The publisher ID.
|
public String publisher()
public PurchasePlan withPublisher(String publisher)
publisher
- the publisher value to set.public String name()
public PurchasePlan withName(String name)
name
- the name value to set.public String product()
public PurchasePlan withProduct(String product)
product
- the product value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.