public class ManagedDatabaseUpdate extends Object
| Constructor and Description |
|---|
ManagedDatabaseUpdate() |
| Modifier and Type | Method and Description |
|---|---|
CatalogCollationType |
catalogCollation()
Get collation of the metadata catalog.
|
String |
collation()
Get collation of the managed database.
|
ManagedDatabaseCreateMode |
createMode()
Get managed database create mode.
|
org.joda.time.DateTime |
creationDate()
Get creation date of the database.
|
String |
defaultSecondaryLocation()
Get geo paired region.
|
org.joda.time.DateTime |
earliestRestorePoint()
Get earliest restore point in time for point in time restore.
|
String |
failoverGroupId()
Get instance Failover Group resource identifier that this managed database belongs to.
|
String |
recoverableDatabaseId()
Get the resource identifier of the recoverable database associated with create operation of this database.
|
String |
restorableDroppedDatabaseId()
Get the restorable dropped database resource id to restore when creating this database.
|
org.joda.time.DateTime |
restorePointInTime()
Get conditional.
|
String |
sourceDatabaseId()
Get the resource identifier of the source database associated with create operation of this database.
|
ManagedDatabaseStatus |
status()
Get status of the database.
|
String |
storageContainerSasToken()
Get conditional.
|
String |
storageContainerUri()
Get conditional.
|
Map<String,String> |
tags()
Get resource tags.
|
ManagedDatabaseUpdate |
withCatalogCollation(CatalogCollationType catalogCollation)
Set collation of the metadata catalog.
|
ManagedDatabaseUpdate |
withCollation(String collation)
Set collation of the managed database.
|
ManagedDatabaseUpdate |
withCreateMode(ManagedDatabaseCreateMode createMode)
Set managed database create mode.
|
ManagedDatabaseUpdate |
withRecoverableDatabaseId(String recoverableDatabaseId)
Set the resource identifier of the recoverable database associated with create operation of this database.
|
ManagedDatabaseUpdate |
withRestorableDroppedDatabaseId(String restorableDroppedDatabaseId)
Set the restorable dropped database resource id to restore when creating this database.
|
ManagedDatabaseUpdate |
withRestorePointInTime(org.joda.time.DateTime restorePointInTime)
Set conditional.
|
ManagedDatabaseUpdate |
withSourceDatabaseId(String sourceDatabaseId)
Set the resource identifier of the source database associated with create operation of this database.
|
ManagedDatabaseUpdate |
withStorageContainerSasToken(String storageContainerSasToken)
Set conditional.
|
ManagedDatabaseUpdate |
withStorageContainerUri(String storageContainerUri)
Set conditional.
|
ManagedDatabaseUpdate |
withTags(Map<String,String> tags)
Set resource tags.
|
public String collation()
public ManagedDatabaseUpdate withCollation(String collation)
collation - the collation value to setpublic ManagedDatabaseStatus status()
public org.joda.time.DateTime creationDate()
public org.joda.time.DateTime earliestRestorePoint()
public org.joda.time.DateTime restorePointInTime()
public ManagedDatabaseUpdate withRestorePointInTime(org.joda.time.DateTime restorePointInTime)
restorePointInTime - the restorePointInTime value to setpublic String defaultSecondaryLocation()
public CatalogCollationType catalogCollation()
public ManagedDatabaseUpdate withCatalogCollation(CatalogCollationType catalogCollation)
catalogCollation - the catalogCollation value to setpublic ManagedDatabaseCreateMode createMode()
public ManagedDatabaseUpdate withCreateMode(ManagedDatabaseCreateMode createMode)
createMode - the createMode value to setpublic String storageContainerUri()
public ManagedDatabaseUpdate withStorageContainerUri(String storageContainerUri)
storageContainerUri - the storageContainerUri value to setpublic String sourceDatabaseId()
public ManagedDatabaseUpdate withSourceDatabaseId(String sourceDatabaseId)
sourceDatabaseId - the sourceDatabaseId value to setpublic String restorableDroppedDatabaseId()
public ManagedDatabaseUpdate withRestorableDroppedDatabaseId(String restorableDroppedDatabaseId)
restorableDroppedDatabaseId - the restorableDroppedDatabaseId value to setpublic String storageContainerSasToken()
public ManagedDatabaseUpdate withStorageContainerSasToken(String storageContainerSasToken)
storageContainerSasToken - the storageContainerSasToken value to setpublic String failoverGroupId()
public String recoverableDatabaseId()
public ManagedDatabaseUpdate withRecoverableDatabaseId(String recoverableDatabaseId)
recoverableDatabaseId - the recoverableDatabaseId value to setpublic ManagedDatabaseUpdate withTags(Map<String,String> tags)
tags - the tags value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/