Class MigrationNameAvailabilityResourceInner
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.MigrationNameAvailabilityResourceInner
Represents a migration name's availability.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MigrationNameAvailabilityResourceInner class. -
Method Summary
Modifier and TypeMethodDescriptionmessage()Get the message property: Migration name availability message.name()Get the name property: The resource name to verify.Get the nameAvailable property: Indicates whether the resource name is available.reason()Get the reason property: Migration name availability reason.type()Get the type property: The type of the resource.voidvalidate()Validates the instance.Set the name property: The resource name to verify.Set the type property: The type of the resource.
-
Constructor Details
-
MigrationNameAvailabilityResourceInner
public MigrationNameAvailabilityResourceInner()Creates an instance of MigrationNameAvailabilityResourceInner class.
-
-
Method Details
-
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
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
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
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.
-