DscReportResource Class

  • java.lang.Object
    • com.azure.resourcemanager.automation.models.DscReportResource

public final class DscReportResource

Definition of the DSC Report Resource.

Constructor Summary

Constructor Description
DscReportResource()

Method Summary

Modifier and Type Method and Description
List<DscReportResourceNavigation> dependsOn()

Get the dependsOn property: Gets or sets the Resource Navigation values for resources the resource depends on.

Double durationInSeconds()

Get the durationInSeconds property: Gets or sets the duration in seconds for the resource.

String error()

Get the error property: Gets or sets the error of the resource.

String moduleName()

Get the moduleName property: Gets or sets the module name of the resource.

String moduleVersion()

Get the moduleVersion property: Gets or sets the module version of the resource.

String resourceId()

Get the resourceId property: Gets or sets the ID of the resource.

String resourceName()

Get the resourceName property: Gets or sets the name of the resource.

String sourceInfo()

Get the sourceInfo property: Gets or sets the source info of the resource.

OffsetDateTime startDate()

Get the startDate property: Gets or sets the start date of the resource.

String status()

Get the status property: Gets or sets the status of the resource.

void validate()

Validates the instance.

DscReportResource withDependsOn(List<DscReportResourceNavigation> dependsOn)

Set the dependsOn property: Gets or sets the Resource Navigation values for resources the resource depends on.

DscReportResource withDurationInSeconds(Double durationInSeconds)

Set the durationInSeconds property: Gets or sets the duration in seconds for the resource.

DscReportResource withError(String error)

Set the error property: Gets or sets the error of the resource.

DscReportResource withModuleName(String moduleName)

Set the moduleName property: Gets or sets the module name of the resource.

DscReportResource withModuleVersion(String moduleVersion)

Set the moduleVersion property: Gets or sets the module version of the resource.

DscReportResource withResourceId(String resourceId)

Set the resourceId property: Gets or sets the ID of the resource.

DscReportResource withResourceName(String resourceName)

Set the resourceName property: Gets or sets the name of the resource.

DscReportResource withSourceInfo(String sourceInfo)

Set the sourceInfo property: Gets or sets the source info of the resource.

DscReportResource withStartDate(OffsetDateTime startDate)

Set the startDate property: Gets or sets the start date of the resource.

DscReportResource withStatus(String status)

Set the status property: Gets or sets the status of the resource.

Methods inherited from java.lang.Object

Constructor Details

DscReportResource

public DscReportResource()

Method Details

dependsOn

public List dependsOn()

Get the dependsOn property: Gets or sets the Resource Navigation values for resources the resource depends on.

Returns:

the dependsOn value.

durationInSeconds

public Double durationInSeconds()

Get the durationInSeconds property: Gets or sets the duration in seconds for the resource.

Returns:

the durationInSeconds value.

error

public String error()

Get the error property: Gets or sets the error of the resource.

Returns:

the error value.

moduleName

public String moduleName()

Get the moduleName property: Gets or sets the module name of the resource.

Returns:

the moduleName value.

moduleVersion

public String moduleVersion()

Get the moduleVersion property: Gets or sets the module version of the resource.

Returns:

the moduleVersion value.

resourceId

public String resourceId()

Get the resourceId property: Gets or sets the ID of the resource.

Returns:

the resourceId value.

resourceName

public String resourceName()

Get the resourceName property: Gets or sets the name of the resource.

Returns:

the resourceName value.

sourceInfo

public String sourceInfo()

Get the sourceInfo property: Gets or sets the source info of the resource.

Returns:

the sourceInfo value.

startDate

public OffsetDateTime startDate()

Get the startDate property: Gets or sets the start date of the resource.

Returns:

the startDate value.

status

public String status()

Get the status property: Gets or sets the status of the resource.

Returns:

the status value.

validate

public void validate()

Validates the instance.

withDependsOn

public DscReportResource withDependsOn(List dependsOn)

Set the dependsOn property: Gets or sets the Resource Navigation values for resources the resource depends on.

Parameters:

dependsOn - the dependsOn value to set.

Returns:

the DscReportResource object itself.

withDurationInSeconds

public DscReportResource withDurationInSeconds(Double durationInSeconds)

Set the durationInSeconds property: Gets or sets the duration in seconds for the resource.

Parameters:

durationInSeconds - the durationInSeconds value to set.

Returns:

the DscReportResource object itself.

withError

public DscReportResource withError(String error)

Set the error property: Gets or sets the error of the resource.

Parameters:

error - the error value to set.

Returns:

the DscReportResource object itself.

withModuleName

public DscReportResource withModuleName(String moduleName)

Set the moduleName property: Gets or sets the module name of the resource.

Parameters:

moduleName - the moduleName value to set.

Returns:

the DscReportResource object itself.

withModuleVersion

public DscReportResource withModuleVersion(String moduleVersion)

Set the moduleVersion property: Gets or sets the module version of the resource.

Parameters:

moduleVersion - the moduleVersion value to set.

Returns:

the DscReportResource object itself.

withResourceId

public DscReportResource withResourceId(String resourceId)

Set the resourceId property: Gets or sets the ID of the resource.

Parameters:

resourceId - the resourceId value to set.

Returns:

the DscReportResource object itself.

withResourceName

public DscReportResource withResourceName(String resourceName)

Set the resourceName property: Gets or sets the name of the resource.

Parameters:

resourceName - the resourceName value to set.

Returns:

the DscReportResource object itself.

withSourceInfo

public DscReportResource withSourceInfo(String sourceInfo)

Set the sourceInfo property: Gets or sets the source info of the resource.

Parameters:

sourceInfo - the sourceInfo value to set.

Returns:

the DscReportResource object itself.

withStartDate

public DscReportResource withStartDate(OffsetDateTime startDate)

Set the startDate property: Gets or sets the start date of the resource.

Parameters:

startDate - the startDate value to set.

Returns:

the DscReportResource object itself.

withStatus

public DscReportResource withStatus(String status)

Set the status property: Gets or sets the status of the resource.

Parameters:

status - the status value to set.

Returns:

the DscReportResource object itself.

Applies to