Class MicrosoftGraphHomeRealmDiscoveryPolicyInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPolicyBase
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphStsPolicy
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphHomeRealmDiscoveryPolicyInner
-
public final class MicrosoftGraphHomeRealmDiscoveryPolicyInner extends MicrosoftGraphStsPolicy
Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphHomeRealmDiscoveryPolicyInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: Represents an Azure Active Directory object.void
validate()
Validates the instance.MicrosoftGraphHomeRealmDiscoveryPolicyInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an Azure Active Directory object.MicrosoftGraphHomeRealmDiscoveryPolicyInner
withAppliesTo(List<MicrosoftGraphDirectoryObjectInner> appliesTo)
Set the appliesTo property: The appliesTo property.MicrosoftGraphHomeRealmDiscoveryPolicyInner
withDefinition(List<String> definition)
Set the definition property: A string collection containing a JSON string that defines the rules and settings for a policy.MicrosoftGraphHomeRealmDiscoveryPolicyInner
withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.MicrosoftGraphHomeRealmDiscoveryPolicyInner
withDescription(String description)
Set the description property: Description for this policy.MicrosoftGraphHomeRealmDiscoveryPolicyInner
withDisplayName(String displayName)
Set the displayName property: Display name for this policy.MicrosoftGraphHomeRealmDiscoveryPolicyInner
withId(String id)
Set the id property: Read-only.MicrosoftGraphHomeRealmDiscoveryPolicyInner
withIsOrganizationDefault(Boolean isOrganizationDefault)
Set the isOrganizationDefault property: If set to true, activates this policy.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphStsPolicy
appliesTo, definition, isOrganizationDefault
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPolicyBase
description, displayName
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
deletedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
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 classMicrosoftGraphStsPolicy
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphHomeRealmDiscoveryPolicyInner 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 classMicrosoftGraphStsPolicy
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphHomeRealmDiscoveryPolicyInner object itself.
-
withDefinition
public MicrosoftGraphHomeRealmDiscoveryPolicyInner 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.- Overrides:
withDefinition
in classMicrosoftGraphStsPolicy
- Parameters:
definition
- the definition value to set.- Returns:
- the MicrosoftGraphStsPolicy object itself.
-
withIsOrganizationDefault
public MicrosoftGraphHomeRealmDiscoveryPolicyInner 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.- Overrides:
withIsOrganizationDefault
in classMicrosoftGraphStsPolicy
- Parameters:
isOrganizationDefault
- the isOrganizationDefault value to set.- Returns:
- the MicrosoftGraphStsPolicy object itself.
-
withAppliesTo
public MicrosoftGraphHomeRealmDiscoveryPolicyInner withAppliesTo(List<MicrosoftGraphDirectoryObjectInner> appliesTo)
Set the appliesTo property: The appliesTo property.- Overrides:
withAppliesTo
in classMicrosoftGraphStsPolicy
- Parameters:
appliesTo
- the appliesTo value to set.- Returns:
- the MicrosoftGraphStsPolicy object itself.
-
withDescription
public MicrosoftGraphHomeRealmDiscoveryPolicyInner withDescription(String description)
Set the description property: Description for this policy.- Overrides:
withDescription
in classMicrosoftGraphStsPolicy
- Parameters:
description
- the description value to set.- Returns:
- the MicrosoftGraphPolicyBase object itself.
-
withDisplayName
public MicrosoftGraphHomeRealmDiscoveryPolicyInner withDisplayName(String displayName)
Set the displayName property: Display name for this policy.- Overrides:
withDisplayName
in classMicrosoftGraphStsPolicy
- Parameters:
displayName
- the displayName value to set.- Returns:
- the MicrosoftGraphPolicyBase object itself.
-
withDeletedDateTime
public MicrosoftGraphHomeRealmDiscoveryPolicyInner withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.- Overrides:
withDeletedDateTime
in classMicrosoftGraphStsPolicy
- Parameters:
deletedDateTime
- the deletedDateTime value to set.- Returns:
- the MicrosoftGraphDirectoryObjectInner object itself.
-
withId
public MicrosoftGraphHomeRealmDiscoveryPolicyInner withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphStsPolicy
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphStsPolicy
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-