Share via


NameAvailabilityInner Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmosdbforpostgresql.fluent.models.NameAvailabilityInner

public final class NameAvailabilityInner

Represents cluster name availability.

Constructor Summary

Constructor Description
NameAvailabilityInner()

Creates an instance of NameAvailabilityInner class.

Method Summary

Modifier and Type Method and Description
String message()

Get the message property: Error message.

String name()

Get the name property: Name of the cluster.

Boolean nameAvailable()

Get the nameAvailable property: Indicates whether the cluster name is available.

String type()

Get the type property: Type of the cluster.

void validate()

Validates the instance.

NameAvailabilityInner withMessage(String message)

Set the message property: Error message.

NameAvailabilityInner withName(String name)

Set the name property: Name of the cluster.

NameAvailabilityInner withNameAvailable(Boolean nameAvailable)

Set the nameAvailable property: Indicates whether the cluster name is available.

NameAvailabilityInner withType(String type)

Set the type property: Type of the cluster.

Methods inherited from java.lang.Object

Constructor Details

NameAvailabilityInner

public NameAvailabilityInner()

Creates an instance of NameAvailabilityInner class.

Method Details

message

public String message()

Get the message property: Error message.

Returns:

the message value.

name

public String name()

Get the name property: Name of the cluster.

Returns:

the name value.

nameAvailable

public Boolean nameAvailable()

Get the nameAvailable property: Indicates whether the cluster name is available.

Returns:

the nameAvailable value.

type

public String type()

Get the type property: Type of the cluster.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withMessage

public NameAvailabilityInner withMessage(String message)

Set the message property: Error message.

Parameters:

message - the message value to set.

Returns:

the NameAvailabilityInner object itself.

withName

public NameAvailabilityInner withName(String name)

Set the name property: Name of the cluster.

Parameters:

name - the name value to set.

Returns:

the NameAvailabilityInner object itself.

withNameAvailable

public NameAvailabilityInner withNameAvailable(Boolean nameAvailable)

Set the nameAvailable property: Indicates whether the cluster name is available.

Parameters:

nameAvailable - the nameAvailable value to set.

Returns:

the NameAvailabilityInner object itself.

withType

public NameAvailabilityInner withType(String type)

Set the type property: Type of the cluster.

Parameters:

type - the type value to set.

Returns:

the NameAvailabilityInner object itself.

Applies to