Class MigrationNameAvailabilityResourceInner

java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.MigrationNameAvailabilityResourceInner

public final class MigrationNameAvailabilityResourceInner extends Object
Represents a migration name's availability.
  • Constructor Details

    • MigrationNameAvailabilityResourceInner

      public MigrationNameAvailabilityResourceInner()
      Creates an instance of MigrationNameAvailabilityResourceInner class.
  • Method Details

    • name

      public String name()
      Get the name property: The resource name to verify.
      Returns:
      the name value.
    • withName

      Set the name property: The resource name to verify.
      Parameters:
      name - the name value to set.
      Returns:
      the MigrationNameAvailabilityResourceInner object itself.
    • type

      public String type()
      Get the type property: The type of the resource.
      Returns:
      the type value.
    • withType

      Set the type property: The type of the resource.
      Parameters:
      type - the type value to set.
      Returns:
      the MigrationNameAvailabilityResourceInner object itself.
    • nameAvailable

      public Boolean nameAvailable()
      Get the nameAvailable property: Indicates whether the resource name is available.
      Returns:
      the nameAvailable value.
    • reason

      Get the reason property: Migration name availability reason.
      Returns:
      the reason value.
    • message

      public String message()
      Get the message property: Migration name availability message.
      Returns:
      the message value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.