public final class SqlPoolInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
SqlPoolInner() |
Modifier and Type | Method and Description |
---|---|
String |
collation()
Get the collation property: Collation mode.
|
String |
createMode()
Get the createMode property: What is this?.
|
OffsetDateTime |
creationDate()
Get the creationDate property: Date the SQL pool was created.
|
Long |
maxSizeBytes()
Get the maxSizeBytes property: Maximum size in bytes.
|
String |
provisioningState()
Get the provisioningState property: Resource state.
|
String |
recoverableDatabaseId()
Get the recoverableDatabaseId property: Backup database to restore from.
|
OffsetDateTime |
restorePointInTime()
Get the restorePointInTime property: Snapshot time to restore.
|
Sku |
sku()
Get the sku property: Sku SQL pool SKU.
|
OffsetDateTime |
sourceDatabaseDeletionDate()
Get the sourceDatabaseDeletionDate property: Specifies the time that the sql pool was deleted.
|
String |
sourceDatabaseId()
Get the sourceDatabaseId property: Source database to create from.
|
String |
status()
Get the status property: Resource status.
|
StorageAccountType |
storageAccountType()
Get the storageAccountType property: The storage account type used to store backups for this sql pool.
|
void |
validate()
Validates the instance.
|
SqlPoolInner |
withCollation(String collation)
Set the collation property: Collation mode.
|
SqlPoolInner |
withCreateMode(String createMode)
Set the createMode property: What is this?.
|
SqlPoolInner |
withCreationDate(OffsetDateTime creationDate)
Set the creationDate property: Date the SQL pool was created.
|
SqlPoolInner |
withLocation(String location) |
SqlPoolInner |
withMaxSizeBytes(Long maxSizeBytes)
Set the maxSizeBytes property: Maximum size in bytes.
|
SqlPoolInner |
withProvisioningState(String provisioningState)
Set the provisioningState property: Resource state.
|
SqlPoolInner |
withRecoverableDatabaseId(String recoverableDatabaseId)
Set the recoverableDatabaseId property: Backup database to restore from.
|
SqlPoolInner |
withRestorePointInTime(OffsetDateTime restorePointInTime)
Set the restorePointInTime property: Snapshot time to restore.
|
SqlPoolInner |
withSku(Sku sku)
Set the sku property: Sku SQL pool SKU.
|
SqlPoolInner |
withSourceDatabaseDeletionDate(OffsetDateTime sourceDatabaseDeletionDate)
Set the sourceDatabaseDeletionDate property: Specifies the time that the sql pool was deleted.
|
SqlPoolInner |
withSourceDatabaseId(String sourceDatabaseId)
Set the sourceDatabaseId property: Source database to create from.
|
SqlPoolInner |
withStatus(String status)
Set the status property: Resource status.
|
SqlPoolInner |
withStorageAccountType(StorageAccountType storageAccountType)
Set the storageAccountType property: The storage account type used to store backups for this sql pool.
|
SqlPoolInner |
withTags(Map<String,String> tags) |
public Sku sku()
public SqlPoolInner withSku(Sku sku)
sku
- the sku value to set.public SqlPoolInner withLocation(String location)
withLocation
in class com.azure.core.management.Resource
public SqlPoolInner withTags(Map<String,String> tags)
withTags
in class com.azure.core.management.Resource
public Long maxSizeBytes()
public SqlPoolInner withMaxSizeBytes(Long maxSizeBytes)
maxSizeBytes
- the maxSizeBytes value to set.public String collation()
public SqlPoolInner withCollation(String collation)
collation
- the collation value to set.public String sourceDatabaseId()
public SqlPoolInner withSourceDatabaseId(String sourceDatabaseId)
sourceDatabaseId
- the sourceDatabaseId value to set.public String recoverableDatabaseId()
public SqlPoolInner withRecoverableDatabaseId(String recoverableDatabaseId)
recoverableDatabaseId
- the recoverableDatabaseId value to set.public String provisioningState()
public SqlPoolInner withProvisioningState(String provisioningState)
provisioningState
- the provisioningState value to set.public String status()
public SqlPoolInner withStatus(String status)
status
- the status value to set.public OffsetDateTime restorePointInTime()
public SqlPoolInner withRestorePointInTime(OffsetDateTime restorePointInTime)
restorePointInTime
- the restorePointInTime value to set.public String createMode()
public SqlPoolInner withCreateMode(String createMode)
createMode
- the createMode value to set.public OffsetDateTime creationDate()
public SqlPoolInner withCreationDate(OffsetDateTime creationDate)
creationDate
- the creationDate value to set.public StorageAccountType storageAccountType()
public SqlPoolInner withStorageAccountType(StorageAccountType storageAccountType)
storageAccountType
- the storageAccountType value to set.public OffsetDateTime sourceDatabaseDeletionDate()
public SqlPoolInner withSourceDatabaseDeletionDate(OffsetDateTime sourceDatabaseDeletionDate)
sourceDatabaseDeletionDate
- the sourceDatabaseDeletionDate value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.