Class MicrosoftGraphStsPolicy

    • Constructor Detail

      • MicrosoftGraphStsPolicy

        public MicrosoftGraphStsPolicy()
    • Method Detail

      • definition

        public List<String> definition()
        Get the definition property: A string collection containing a JSON string that defines the rules and settings for a policy. The syntax for the definition differs for each derived policy type. Required.
        Returns:
        the definition value.
      • withDefinition

        public MicrosoftGraphStsPolicy withDefinition​(List<String> definition)
        Set the definition property: A string collection containing a JSON string that defines the rules and settings for a policy. The syntax for the definition differs for each derived policy type. Required.
        Parameters:
        definition - the definition value to set.
        Returns:
        the MicrosoftGraphStsPolicy object itself.
      • isOrganizationDefault

        public Boolean isOrganizationDefault()
        Get the isOrganizationDefault property: If set to true, activates this policy. There can be many policies for the same policy type, but only one can be activated as the organization default. Optional, default value is false.
        Returns:
        the isOrganizationDefault value.
      • withIsOrganizationDefault

        public MicrosoftGraphStsPolicy withIsOrganizationDefault​(Boolean isOrganizationDefault)
        Set the isOrganizationDefault property: If set to true, activates this policy. There can be many policies for the same policy type, but only one can be activated as the organization default. Optional, default value is false.
        Parameters:
        isOrganizationDefault - the isOrganizationDefault value to set.
        Returns:
        the MicrosoftGraphStsPolicy object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
        Overrides:
        additionalProperties in class MicrosoftGraphPolicyBase
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphStsPolicy withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
        Overrides:
        withAdditionalProperties in class MicrosoftGraphPolicyBase
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphStsPolicy object itself.