Class BuildResultUserSourceInfo
java.lang.Object
com.azure.resourcemanager.appplatform.models.UserSourceInfo
com.azure.resourcemanager.appplatform.models.BuildResultUserSourceInfo
Reference to a build result.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of BuildResultUserSourceInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the buildResultId property: Resource id of an existing succeeded build result under the same Spring instance.voidvalidate()Validates the instance.withBuildResultId(String buildResultId) Set the buildResultId property: Resource id of an existing succeeded build result under the same Spring instance.withVersion(String version) Set the version property: Version of the source.Methods inherited from class com.azure.resourcemanager.appplatform.models.UserSourceInfo
version
-
Constructor Details
-
BuildResultUserSourceInfo
public BuildResultUserSourceInfo()Creates an instance of BuildResultUserSourceInfo class.
-
-
Method Details
-
buildResultId
Get the buildResultId property: Resource id of an existing succeeded build result under the same Spring instance.- Returns:
- the buildResultId value.
-
withBuildResultId
Set the buildResultId property: Resource id of an existing succeeded build result under the same Spring instance.- Parameters:
buildResultId- the buildResultId value to set.- Returns:
- the BuildResultUserSourceInfo object itself.
-
withVersion
Set the version property: Version of the source.- Overrides:
withVersionin classUserSourceInfo- Parameters:
version- the version value to set.- Returns:
- the UserSourceInfo object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classUserSourceInfo- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-