Class SourceConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.servicelinker.models.SourceConfiguration
-
public final class SourceConfiguration extends Object
A configuration item for source resource.
-
-
Constructor Summary
Constructors Constructor Description SourceConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: The name of setting.void
validate()
Validates the instance.String
value()
Get the value property: The value of setting.SourceConfiguration
withName(String name)
Set the name property: The name of setting.SourceConfiguration
withValue(String value)
Set the value property: The value of setting.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of setting.- Returns:
- the name value.
-
withName
public SourceConfiguration withName(String name)
Set the name property: The name of setting.- Parameters:
name
- the name value to set.- Returns:
- the SourceConfiguration object itself.
-
value
public String value()
Get the value property: The value of setting.- Returns:
- the value value.
-
withValue
public SourceConfiguration withValue(String value)
Set the value property: The value of setting.- Parameters:
value
- the value value to set.- Returns:
- the SourceConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-