Class AccessInformationContractInner


  • public final class AccessInformationContractInner
    extends com.azure.core.management.ProxyResource
    Tenant Settings.
    • Constructor Detail

      • AccessInformationContractInner

        public AccessInformationContractInner()
    • Method Detail

      • idPropertiesId

        public String idPropertiesId()
        Get the id property: Access Information type ('access' or 'gitAccess').
        Returns:
        the id value.
      • withIdPropertiesId

        public AccessInformationContractInner withIdPropertiesId​(String id)
        Set the id property: Access Information type ('access' or 'gitAccess').
        Parameters:
        id - the id value to set.
        Returns:
        the AccessInformationContractInner object itself.
      • principalId

        public String principalId()
        Get the principalId property: Principal (User) Identifier.
        Returns:
        the principalId value.
      • withPrincipalId

        public AccessInformationContractInner withPrincipalId​(String principalId)
        Set the principalId property: Principal (User) Identifier.
        Parameters:
        principalId - the principalId value to set.
        Returns:
        the AccessInformationContractInner object itself.
      • enabled

        public Boolean enabled()
        Get the enabled property: Determines whether direct access is enabled.
        Returns:
        the enabled value.
      • withEnabled

        public AccessInformationContractInner withEnabled​(Boolean enabled)
        Set the enabled property: Determines whether direct access is enabled.
        Parameters:
        enabled - the enabled value to set.
        Returns:
        the AccessInformationContractInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.