ValidateSubscriptionTransferEligibilityError Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. ValidateSubscriptionTransferEligibilityError
- com.
public final class ValidateSubscriptionTransferEligibilityError
Error details of the transfer eligibility validation.
Constructor | Description |
---|---|
Validate |
Creates an instance of Validate |
Modifier and Type | Method and Description |
---|---|
Subscription |
code()
Get the code property: Error code for the product transfer validation. |
String |
details()
Get the details property: Detailed error message explaining the error. |
String |
message()
Get the message property: The error message. |
void |
validate()
Validates the instance. |
Validate |
with Set the code property: Error code for the product transfer validation. |
Validate |
with Set the details property: Detailed error message explaining the error. |
Validate |
with Set the message property: The error message. |
Methods inherited from java.lang.Object
ValidateSubscriptionTransferEligibilityError
public ValidateSubscriptionTransferEligibilityError()
Creates an instance of ValidateSubscriptionTransferEligibilityError class.
code
public SubscriptionTransferValidationErrorCode code()
Get the code property: Error code for the product transfer validation.
Returns:
details
public String details()
Get the details property: Detailed error message explaining the error.
Returns:
message
public String message()
Get the message property: The error message.
Returns:
validate
public void validate()
Validates the instance.
withCode
public ValidateSubscriptionTransferEligibilityError withCode(SubscriptionTransferValidationErrorCode code)
Set the code property: Error code for the product transfer validation.
Parameters:
Returns:
withDetails
public ValidateSubscriptionTransferEligibilityError withDetails(String details)
Set the details property: Detailed error message explaining the error.
Parameters:
Returns:
withMessage
public ValidateSubscriptionTransferEligibilityError withMessage(String message)
Set the message property: The error message.
Parameters:
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: