ValidateSubscriptionTransferEligibilityError Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.models.ValidateSubscriptionTransferEligibilityError

public final class ValidateSubscriptionTransferEligibilityError

Error details of the transfer eligibility validation.

Constructor Summary

Constructor Description
ValidateSubscriptionTransferEligibilityError()

Creates an instance of ValidateSubscriptionTransferEligibilityError class.

Method Summary

Modifier and Type Method and Description
SubscriptionTransferValidationErrorCode 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.

ValidateSubscriptionTransferEligibilityError withCode(SubscriptionTransferValidationErrorCode code)

Set the code property: Error code for the product transfer validation.

ValidateSubscriptionTransferEligibilityError withDetails(String details)

Set the details property: Detailed error message explaining the error.

ValidateSubscriptionTransferEligibilityError withMessage(String message)

Set the message property: The error message.

Methods inherited from java.lang.Object

Constructor Details

ValidateSubscriptionTransferEligibilityError

public ValidateSubscriptionTransferEligibilityError()

Creates an instance of ValidateSubscriptionTransferEligibilityError class.

Method Details

code

public SubscriptionTransferValidationErrorCode code()

Get the code property: Error code for the product transfer validation.

Returns:

the code value.

details

public String details()

Get the details property: Detailed error message explaining the error.

Returns:

the details value.

message

public String message()

Get the message property: The error message.

Returns:

the message value.

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:

code - the code value to set.

Returns:

the ValidateSubscriptionTransferEligibilityError object itself.

withDetails

public ValidateSubscriptionTransferEligibilityError withDetails(String details)

Set the details property: Detailed error message explaining the error.

Parameters:

details - the details value to set.

Returns:

the ValidateSubscriptionTransferEligibilityError object itself.

withMessage

public ValidateSubscriptionTransferEligibilityError withMessage(String message)

Set the message property: The error message.

Parameters:

message - the message value to set.

Returns:

the ValidateSubscriptionTransferEligibilityError object itself.

Applies to

Azure SDK for Java

Preview