Class SourceControlInner


  • public final class SourceControlInner
    extends ResourceWithEtag
    Represents a SourceControl in Azure Security Insights.
    • Constructor Detail

      • SourceControlInner

        public SourceControlInner()
    • Method Detail

      • withEtag

        public SourceControlInner withEtag​(String etag)
        Set the etag property: Etag of the azure resource.
        Overrides:
        withEtag in class ResourceWithEtag
        Parameters:
        etag - the etag value to set.
        Returns:
        the ResourceWithEtag object itself.
      • idPropertiesId

        public String idPropertiesId()
        Get the id property: The id (a Guid) of the source control.
        Returns:
        the id value.
      • withIdPropertiesId

        public SourceControlInner withIdPropertiesId​(String id)
        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

        public Version version()
        Get the version property: The version number associated with the source control.
        Returns:
        the version value.
      • withVersion

        public SourceControlInner withVersion​(Version version)
        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

        public String displayName()
        Get the displayName property: The display name of the source control.
        Returns:
        the displayName value.
      • withDisplayName

        public SourceControlInner withDisplayName​(String displayName)
        Set the displayName property: The display name of the source control.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the SourceControlInner object itself.
      • description

        public String description()
        Get the description property: A description of the source control.
        Returns:
        the description value.
      • withDescription

        public SourceControlInner withDescription​(String description)
        Set the description property: A description of the source control.
        Parameters:
        description - the description value to set.
        Returns:
        the SourceControlInner object itself.
      • repoType

        public RepoType repoType()
        Get the repoType property: The repository type of the source control.
        Returns:
        the repoType value.
      • withRepoType

        public SourceControlInner withRepoType​(RepoType repoType)
        Set the repoType property: The repository type of the source control.
        Parameters:
        repoType - the repoType value to set.
        Returns:
        the SourceControlInner object itself.
      • contentTypes

        public List<ContentType> contentTypes()
        Get the contentTypes property: Array of source control content types.
        Returns:
        the contentTypes value.
      • withContentTypes

        public SourceControlInner withContentTypes​(List<ContentType> contentTypes)
        Set the contentTypes property: Array of source control content types.
        Parameters:
        contentTypes - the contentTypes value to set.
        Returns:
        the SourceControlInner object itself.
      • repository

        public Repository repository()
        Get the repository property: Repository metadata.
        Returns:
        the repository value.
      • withRepository

        public SourceControlInner withRepository​(Repository repository)
        Set the repository property: Repository metadata.
        Parameters:
        repository - the repository value to set.
        Returns:
        the SourceControlInner object itself.
      • repositoryResourceInfo

        public RepositoryResourceInfo repositoryResourceInfo()
        Get the repositoryResourceInfo property: Information regarding the resources created in user's repository.
        Returns:
        the repositoryResourceInfo value.
      • withRepositoryResourceInfo

        public SourceControlInner 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 SourceControlInner object itself.
      • lastDeploymentInfo

        public DeploymentInfo lastDeploymentInfo()
        Get the lastDeploymentInfo property: Information regarding the latest deployment for the source control.
        Returns:
        the lastDeploymentInfo value.
      • withLastDeploymentInfo

        public SourceControlInner withLastDeploymentInfo​(DeploymentInfo lastDeploymentInfo)
        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.