public final class ImagePurchasePlan extends Object
Constructor and Description |
---|
ImagePurchasePlan() |
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name property: The plan ID.
|
String |
product()
Get the product property: The product ID.
|
String |
publisher()
Get the publisher property: The publisher ID.
|
void |
validate()
Validates the instance.
|
ImagePurchasePlan |
withName(String name)
Set the name property: The plan ID.
|
ImagePurchasePlan |
withProduct(String product)
Set the product property: The product ID.
|
ImagePurchasePlan |
withPublisher(String publisher)
Set the publisher property: The publisher ID.
|
public String name()
public ImagePurchasePlan withName(String name)
name
- the name value to set.public String publisher()
public ImagePurchasePlan withPublisher(String publisher)
publisher
- the publisher value to set.public String product()
public ImagePurchasePlan 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.