ProjectInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. datamigration. fluent. models. ProjectInner
- com.
- com.
- com.
public final class ProjectInner
extends Resource
A project resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ProjectInner() |
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 |
| String |
etag()
Get the etag property: HTTP strong entity tag value. |
|
static
Project |
fromJson(JsonReader jsonReader)
Reads an instance of Project |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Project |
provisioningState()
Get the provisioning |
|
Connection |
sourceConnectionInfo()
Get the source |
|
Project |
sourcePlatform()
Get the source |
|
System |
systemData()
Get the system |
|
Connection |
targetConnectionInfo()
Get the target |
|
Project |
targetPlatform()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Project |
withAzureAuthenticationInfo(AzureActiveDirectoryApp azureAuthenticationInfo)
Set the azure |
|
Project |
withDatabasesInfo(List<DatabaseInfo> databasesInfo)
Set the databases |
|
Project |
withEtag(String etag)
Set the etag property: HTTP strong entity tag value. |
|
Project |
withLocation(String location) |
|
Project |
withSourceConnectionInfo(ConnectionInfo sourceConnectionInfo)
Set the source |
|
Project |
withSourcePlatform(ProjectSourcePlatform sourcePlatform)
Set the source |
|
Project |
withTags(Map<String,String> tags) |
|
Project |
withTargetConnectionInfo(ConnectionInfo targetConnectionInfo)
Set the target |
|
Project |
withTargetPlatform(ProjectTargetPlatform targetPlatform)
Set the target |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ProjectInner
public ProjectInner()
Creates an instance of ProjectInner 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:
etag
public String etag()
Get the etag property: HTTP strong entity tag value. This is ignored if submitted.
Returns:
fromJson
public static ProjectInner fromJson(JsonReader jsonReader)
Reads an instance of ProjectInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ProjectInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ProjectInner.name()Returns:
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:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
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
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ProjectInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ProjectInner.type()Returns:
validate
public void validate()
Validates the instance.
withAzureAuthenticationInfo
public ProjectInner 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 ProjectInner withDatabasesInfo(List<DatabaseInfo> databasesInfo)
Set the databasesInfo property: List of DatabaseInfo.
Parameters:
Returns:
withEtag
public ProjectInner withEtag(String etag)
Set the etag property: HTTP strong entity tag value. This is ignored if submitted.
Parameters:
Returns:
withLocation
public ProjectInner withLocation(String location)
Overrides:
ProjectInner.withLocation(String location)Parameters:
withSourceConnectionInfo
public ProjectInner withSourceConnectionInfo(ConnectionInfo sourceConnectionInfo)
Set the sourceConnectionInfo property: Information for connecting to source.
Parameters:
Returns:
withSourcePlatform
public ProjectInner withSourcePlatform(ProjectSourcePlatform sourcePlatform)
Set the sourcePlatform property: Source platform for the project.
Parameters:
Returns:
withTags
public ProjectInner withTags(Map<String,String> tags)
Overrides:
ProjectInner.withTags(Map<String,String> tags)Parameters:
withTargetConnectionInfo
public ProjectInner withTargetConnectionInfo(ConnectionInfo targetConnectionInfo)
Set the targetConnectionInfo property: Information for connecting to target.
Parameters:
Returns:
withTargetPlatform
public ProjectInner withTargetPlatform(ProjectTargetPlatform targetPlatform)
Set the targetPlatform property: Target platform for the project.
Parameters:
Returns: