Class SourceControlInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.fluent.models.SourceControlInner
Represents a SourceControl in Azure Security Insights.
-
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.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 etag property: Etag of the azure resource.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.Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SourceControlInner
public SourceControlInner()
-
-
Method Details
-
withEtag
Set the etag property: Etag of the azure resource.- Overrides:
withEtag
in classResourceWithEtag
- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceWithEtag object itself.
-
idPropertiesId
Get the id property: The id (a Guid) of the source control.- Returns:
- the id value.
-
withIdPropertiesId
Set the id property: The id (a Guid) of the source control.- Parameters:
id
- the id value to set.- Returns:
- the SourceControlInner 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 SourceControlInner 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 SourceControlInner 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 SourceControlInner 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 SourceControlInner 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 SourceControlInner 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 SourceControlInner object itself.
-
repositoryResourceInfo
Get the repositoryResourceInfo property: Information regarding the resources created in user's repository.- Returns:
- the repositoryResourceInfo value.
-
withRepositoryResourceInfo
Set the repositoryResourceInfo property: Information regarding the resources created in user's repository.- Parameters:
repositoryResourceInfo
- the repositoryResourceInfo value to set.- Returns:
- the SourceControlInner 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 SourceControlInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classResourceWithEtag
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-