DscConfigurationParameter Class

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

public final class DscConfigurationParameter

Definition of the configuration parameter type.

Constructor Summary

Constructor Description
DscConfigurationParameter()

Method Summary

Modifier and Type Method and Description
String defaultValue()

Get the defaultValue property: Gets or sets the default value of parameter.

Boolean isMandatory()

Get the isMandatory property: Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.

Integer position()

Get the position property: Get or sets the position of the parameter.

String type()

Get the type property: Gets or sets the type of the parameter.

void validate()

Validates the instance.

DscConfigurationParameter withDefaultValue(String defaultValue)

Set the defaultValue property: Gets or sets the default value of parameter.

DscConfigurationParameter withIsMandatory(Boolean isMandatory)

Set the isMandatory property: Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.

DscConfigurationParameter withPosition(Integer position)

Set the position property: Get or sets the position of the parameter.

DscConfigurationParameter withType(String type)

Set the type property: Gets or sets the type of the parameter.

Methods inherited from java.lang.Object

Constructor Details

DscConfigurationParameter

public DscConfigurationParameter()

Method Details

defaultValue

public String defaultValue()

Get the defaultValue property: Gets or sets the default value of parameter.

Returns:

the defaultValue value.

isMandatory

public Boolean isMandatory()

Get the isMandatory property: Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.

Returns:

the isMandatory value.

position

public Integer position()

Get the position property: Get or sets the position of the parameter.

Returns:

the position value.

type

public String type()

Get the type property: Gets or sets the type of the parameter.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDefaultValue

public DscConfigurationParameter withDefaultValue(String defaultValue)

Set the defaultValue property: Gets or sets the default value of parameter.

Parameters:

defaultValue - the defaultValue value to set.

Returns:

the DscConfigurationParameter object itself.

withIsMandatory

public DscConfigurationParameter withIsMandatory(Boolean isMandatory)

Set the isMandatory property: Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.

Parameters:

isMandatory - the isMandatory value to set.

Returns:

the DscConfigurationParameter object itself.

withPosition

public DscConfigurationParameter withPosition(Integer position)

Set the position property: Get or sets the position of the parameter.

Parameters:

position - the position value to set.

Returns:

the DscConfigurationParameter object itself.

withType

public DscConfigurationParameter withType(String type)

Set the type property: Gets or sets the type of the parameter.

Parameters:

type - the type value to set.

Returns:

the DscConfigurationParameter object itself.

Applies to