Class AccessInformationContractProperties


  • public final class AccessInformationContractProperties
    extends Object
    Tenant access information contract of the API Management service.
    • Constructor Detail

      • AccessInformationContractProperties

        public AccessInformationContractProperties()
    • Method Detail

      • id

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

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

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

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

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

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

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