Class ProjectInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.datamigration.fluent.models.ProjectInner
public final class ProjectInner
extends com.azure.core.management.Resource
A project resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the creationTime property: UTC Date and time when project was created.Get the databasesInfo property: List of DatabaseInfo.Get the provisioningState property: The project's provisioning state.Get the sourceConnectionInfo property: Information for connecting to source.Get the sourcePlatform property: Source platform for the project.Get the targetConnectionInfo property: Information for connecting to target.Get the targetPlatform property: Target platform for the project.void
validate()
Validates the instance.withDatabasesInfo
(List<DatabaseInfo> databasesInfo) Set the databasesInfo property: List of DatabaseInfo.withLocation
(String location) withSourceConnectionInfo
(ConnectionInfo sourceConnectionInfo) Set the sourceConnectionInfo property: Information for connecting to source.withSourcePlatform
(ProjectSourcePlatform sourcePlatform) Set the sourcePlatform property: Source platform for the project.withTargetConnectionInfo
(ConnectionInfo targetConnectionInfo) Set the targetConnectionInfo property: Information for connecting to target.withTargetPlatform
(ProjectTargetPlatform targetPlatform) Set the targetPlatform property: Target platform for the project.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ProjectInner
public ProjectInner()Creates an instance of ProjectInner class.
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
sourcePlatform
Get the sourcePlatform property: Source platform for the project.- Returns:
- the sourcePlatform value.
-
withSourcePlatform
Set the sourcePlatform property: Source platform for the project.- Parameters:
sourcePlatform
- the sourcePlatform value to set.- Returns:
- the ProjectInner object itself.
-
targetPlatform
Get the targetPlatform property: Target platform for the project.- Returns:
- the targetPlatform value.
-
withTargetPlatform
Set the targetPlatform property: Target platform for the project.- Parameters:
targetPlatform
- the targetPlatform value to set.- Returns:
- the ProjectInner object itself.
-
creationTime
Get the creationTime property: UTC Date and time when project was created.- Returns:
- the creationTime value.
-
sourceConnectionInfo
Get the sourceConnectionInfo property: Information for connecting to source.- Returns:
- the sourceConnectionInfo value.
-
withSourceConnectionInfo
Set the sourceConnectionInfo property: Information for connecting to source.- Parameters:
sourceConnectionInfo
- the sourceConnectionInfo value to set.- Returns:
- the ProjectInner object itself.
-
targetConnectionInfo
Get the targetConnectionInfo property: Information for connecting to target.- Returns:
- the targetConnectionInfo value.
-
withTargetConnectionInfo
Set the targetConnectionInfo property: Information for connecting to target.- Parameters:
targetConnectionInfo
- the targetConnectionInfo value to set.- Returns:
- the ProjectInner object itself.
-
databasesInfo
Get the databasesInfo property: List of DatabaseInfo.- Returns:
- the databasesInfo value.
-
withDatabasesInfo
Set the databasesInfo property: List of DatabaseInfo.- Parameters:
databasesInfo
- the databasesInfo value to set.- Returns:
- the ProjectInner object itself.
-
provisioningState
Get the provisioningState property: The project's provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-