ProjectProperties Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. fluent. models. ProjectProperties
- com.
Implements
public final class ProjectProperties
implements JsonSerializable<ProjectProperties>
Project-specific properties.
Constructor Summary
| Constructor | Description |
|---|---|
| ProjectProperties() |
Creates an instance of Project |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Azure |
azureAuthenticationInfo()
Get the azure |
|
Offset |
creationTime()
Get the creation |
|
List<Database |
databasesInfo()
Get the databases |
|
static
Project |
fromJson(JsonReader jsonReader)
Reads an instance of Project |
|
Project |
provisioningState()
Get the provisioning |
|
Connection |
sourceConnectionInfo()
Get the source |
|
Project |
sourcePlatform()
Get the source |
|
Connection |
targetConnectionInfo()
Get the target |
|
Project |
targetPlatform()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Project |
withAzureAuthenticationInfo(AzureActiveDirectoryApp azureAuthenticationInfo)
Set the azure |
|
Project |
withDatabasesInfo(List<DatabaseInfo> databasesInfo)
Set the databases |
|
Project |
withSourceConnectionInfo(ConnectionInfo sourceConnectionInfo)
Set the source |
|
Project |
withSourcePlatform(ProjectSourcePlatform sourcePlatform)
Set the source |
|
Project |
withTargetConnectionInfo(ConnectionInfo targetConnectionInfo)
Set the target |
|
Project |
withTargetPlatform(ProjectTargetPlatform targetPlatform)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
ProjectProperties
public ProjectProperties()
Creates an instance of ProjectProperties class.
Method Details
azureAuthenticationInfo
public AzureActiveDirectoryApp azureAuthenticationInfo()
Get the azureAuthenticationInfo property: Field that defines the Azure active directory application info, used to connect to the target Azure resource.
Returns:
creationTime
public OffsetDateTime creationTime()
Get the creationTime property: UTC Date and time when project was created.
Returns:
databasesInfo
public List<DatabaseInfo> databasesInfo()
Get the databasesInfo property: List of DatabaseInfo.
Returns:
fromJson
public static ProjectProperties fromJson(JsonReader jsonReader)
Reads an instance of ProjectProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ProjectProvisioningState provisioningState()
Get the provisioningState property: The project's provisioning state.
Returns:
sourceConnectionInfo
public ConnectionInfo sourceConnectionInfo()
Get the sourceConnectionInfo property: Information for connecting to source.
Returns:
sourcePlatform
public ProjectSourcePlatform sourcePlatform()
Get the sourcePlatform property: Source platform for the project.
Returns:
targetConnectionInfo
public ConnectionInfo targetConnectionInfo()
Get the targetConnectionInfo property: Information for connecting to target.
Returns:
targetPlatform
public ProjectTargetPlatform targetPlatform()
Get the targetPlatform property: Target platform for the project.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAzureAuthenticationInfo
public ProjectProperties withAzureAuthenticationInfo(AzureActiveDirectoryApp azureAuthenticationInfo)
Set the azureAuthenticationInfo property: Field that defines the Azure active directory application info, used to connect to the target Azure resource.
Parameters:
Returns:
withDatabasesInfo
public ProjectProperties withDatabasesInfo(List<DatabaseInfo> databasesInfo)
Set the databasesInfo property: List of DatabaseInfo.
Parameters:
Returns:
withSourceConnectionInfo
public ProjectProperties withSourceConnectionInfo(ConnectionInfo sourceConnectionInfo)
Set the sourceConnectionInfo property: Information for connecting to source.
Parameters:
Returns:
withSourcePlatform
public ProjectProperties withSourcePlatform(ProjectSourcePlatform sourcePlatform)
Set the sourcePlatform property: Source platform for the project.
Parameters:
Returns:
withTargetConnectionInfo
public ProjectProperties withTargetConnectionInfo(ConnectionInfo targetConnectionInfo)
Set the targetConnectionInfo property: Information for connecting to target.
Parameters:
Returns:
withTargetPlatform
public ProjectProperties withTargetPlatform(ProjectTargetPlatform targetPlatform)
Set the targetPlatform property: Target platform for the project.
Parameters:
Returns: