Class SourceControlProperties
java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.SourceControlProperties
Describes source control properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the contentTypes property: Array of source control content types.Get the description property: A description of the source control.Get the displayName property: The display name of the source control.id()
Get the id property: The id (a Guid) of the source control.Get the lastDeploymentInfo property: Information regarding the latest deployment for the source control.Get the repository property: Repository metadata.Get the repositoryResourceInfo property: Information regarding the resources created in user's repository.repoType()
Get the repoType property: The repository type of the source control.void
validate()
Validates the instance.version()
Get the version property: The version number associated with the source control.withContentTypes
(List<ContentType> contentTypes) Set the contentTypes property: Array of source control content types.withDescription
(String description) Set the description property: A description of the source control.withDisplayName
(String displayName) Set the displayName property: The display name of the source control.Set the id property: The id (a Guid) of the source control.withLastDeploymentInfo
(DeploymentInfo lastDeploymentInfo) Set the lastDeploymentInfo property: Information regarding the latest deployment for the source control.withRepository
(Repository repository) Set the repository property: Repository metadata.withRepositoryResourceInfo
(RepositoryResourceInfo repositoryResourceInfo) Set the repositoryResourceInfo property: Information regarding the resources created in user's repository.withRepoType
(RepoType repoType) Set the repoType property: The repository type of the source control.withVersion
(Version version) Set the version property: The version number associated with the source control.
-
Constructor Details
-
SourceControlProperties
public SourceControlProperties()
-
-
Method Details
-
id
Get the id property: The id (a Guid) of the source control.- Returns:
- the id value.
-
withId
Set the id property: The id (a Guid) of the source control.- Parameters:
id
- the id value to set.- Returns:
- the SourceControlProperties object itself.
-
version
Get the version property: The version number associated with the source control.- Returns:
- the version value.
-
withVersion
Set the version property: The version number associated with the source control.- Parameters:
version
- the version value to set.- Returns:
- the SourceControlProperties object itself.
-
displayName
Get the displayName property: The display name of the source control.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name of the source control.- Parameters:
displayName
- the displayName value to set.- Returns:
- the SourceControlProperties object itself.
-
description
Get the description property: A description of the source control.- Returns:
- the description value.
-
withDescription
Set the description property: A description of the source control.- Parameters:
description
- the description value to set.- Returns:
- the SourceControlProperties object itself.
-
repoType
Get the repoType property: The repository type of the source control.- Returns:
- the repoType value.
-
withRepoType
Set the repoType property: The repository type of the source control.- Parameters:
repoType
- the repoType value to set.- Returns:
- the SourceControlProperties object itself.
-
contentTypes
Get the contentTypes property: Array of source control content types.- Returns:
- the contentTypes value.
-
withContentTypes
Set the contentTypes property: Array of source control content types.- Parameters:
contentTypes
- the contentTypes value to set.- Returns:
- the SourceControlProperties object itself.
-
repository
Get the repository property: Repository metadata.- Returns:
- the repository value.
-
withRepository
Set the repository property: Repository metadata.- Parameters:
repository
- the repository value to set.- Returns:
- the SourceControlProperties object itself.
-
repositoryResourceInfo
Get the repositoryResourceInfo property: Information regarding the resources created in user's repository.- Returns:
- the repositoryResourceInfo value.
-
withRepositoryResourceInfo
public SourceControlProperties withRepositoryResourceInfo(RepositoryResourceInfo repositoryResourceInfo) Set the repositoryResourceInfo property: Information regarding the resources created in user's repository.- Parameters:
repositoryResourceInfo
- the repositoryResourceInfo value to set.- Returns:
- the SourceControlProperties object itself.
-
lastDeploymentInfo
Get the lastDeploymentInfo property: Information regarding the latest deployment for the source control.- Returns:
- the lastDeploymentInfo value.
-
withLastDeploymentInfo
Set the lastDeploymentInfo property: Information regarding the latest deployment for the source control.- Parameters:
lastDeploymentInfo
- the lastDeploymentInfo value to set.- Returns:
- the SourceControlProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-