Class MicrosoftGraphOrganizationInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOrganizationInner
-
public final class MicrosoftGraphOrganizationInner extends MicrosoftGraphDirectoryObjectInner
The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOrganizationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.List<MicrosoftGraphAssignedPlan>assignedPlans()Get the assignedPlans property: The collection of service plans associated with the tenant.List<String>businessPhones()Get the businessPhones property: Telephone number for the organization.List<MicrosoftGraphCertificateBasedAuthConfiguration>certificateBasedAuthConfiguration()Get the certificateBasedAuthConfiguration property: Navigation property to manage certificate-based authentication configuration.Stringcity()Get the city property: City name of the address for the organization.Stringcountry()Get the country property: Country/region name of the address for the organization.StringcountryLetterCode()Get the countryLetterCode property: Country/region abbreviation for the organization.OffsetDateTimecreatedDateTime()Get the createdDateTime property: Timestamp of when the organization was created.StringdisplayName()Get the displayName property: The display name for the tenant.List<MicrosoftGraphExtensionInner>extensions()Get the extensions property: The collection of open extensions defined for the organization.List<String>marketingNotificationEmails()Get the marketingNotificationEmails property: Not nullable.MicrosoftGraphMdmAuthoritymobileDeviceManagementAuthority()Get the mobileDeviceManagementAuthority property: mdmAuthority.OffsetDateTimeonPremisesLastSyncDateTime()Get the onPremisesLastSyncDateTime property: The time and date at which the tenant was last synced with the on-premise directory.BooleanonPremisesSyncEnabled()Get the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default).StringpostalCode()Get the postalCode property: Postal code of the address for the organization.StringpreferredLanguage()Get the preferredLanguage property: The preferred language for the organization.MicrosoftGraphPrivacyProfileprivacyProfile()Get the privacyProfile property: privacyProfile.List<MicrosoftGraphProvisionedPlan>provisionedPlans()Get the provisionedPlans property: Not nullable.List<String>securityComplianceNotificationMails()Get the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.List<String>securityComplianceNotificationPhones()Get the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.Stringstate()Get the state property: State name of the address for the organization.Stringstreet()Get the street property: Street name of the address for organization.List<String>technicalNotificationMails()Get the technicalNotificationMails property: Not nullable.StringtenantType()Get the tenantType property: The tenantType property.voidvalidate()Validates the instance.List<MicrosoftGraphVerifiedDomain>verifiedDomains()Get the verifiedDomains property: The collection of domains associated with this tenant.MicrosoftGraphOrganizationInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.MicrosoftGraphOrganizationInnerwithAssignedPlans(List<MicrosoftGraphAssignedPlan> assignedPlans)Set the assignedPlans property: The collection of service plans associated with the tenant.MicrosoftGraphOrganizationInnerwithBusinessPhones(List<String> businessPhones)Set the businessPhones property: Telephone number for the organization.MicrosoftGraphOrganizationInnerwithCertificateBasedAuthConfiguration(List<MicrosoftGraphCertificateBasedAuthConfiguration> certificateBasedAuthConfiguration)Set the certificateBasedAuthConfiguration property: Navigation property to manage certificate-based authentication configuration.MicrosoftGraphOrganizationInnerwithCity(String city)Set the city property: City name of the address for the organization.MicrosoftGraphOrganizationInnerwithCountry(String country)Set the country property: Country/region name of the address for the organization.MicrosoftGraphOrganizationInnerwithCountryLetterCode(String countryLetterCode)Set the countryLetterCode property: Country/region abbreviation for the organization.MicrosoftGraphOrganizationInnerwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: Timestamp of when the organization was created.MicrosoftGraphOrganizationInnerwithDeletedDateTime(OffsetDateTime deletedDateTime)Set the deletedDateTime property: The deletedDateTime property.MicrosoftGraphOrganizationInnerwithDisplayName(String displayName)Set the displayName property: The display name for the tenant.MicrosoftGraphOrganizationInnerwithExtensions(List<MicrosoftGraphExtensionInner> extensions)Set the extensions property: The collection of open extensions defined for the organization.MicrosoftGraphOrganizationInnerwithId(String id)Set the id property: Read-only.MicrosoftGraphOrganizationInnerwithMarketingNotificationEmails(List<String> marketingNotificationEmails)Set the marketingNotificationEmails property: Not nullable.MicrosoftGraphOrganizationInnerwithMobileDeviceManagementAuthority(MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority)Set the mobileDeviceManagementAuthority property: mdmAuthority.MicrosoftGraphOrganizationInnerwithOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)Set the onPremisesLastSyncDateTime property: The time and date at which the tenant was last synced with the on-premise directory.MicrosoftGraphOrganizationInnerwithOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)Set the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default).MicrosoftGraphOrganizationInnerwithPostalCode(String postalCode)Set the postalCode property: Postal code of the address for the organization.MicrosoftGraphOrganizationInnerwithPreferredLanguage(String preferredLanguage)Set the preferredLanguage property: The preferred language for the organization.MicrosoftGraphOrganizationInnerwithPrivacyProfile(MicrosoftGraphPrivacyProfile privacyProfile)Set the privacyProfile property: privacyProfile.MicrosoftGraphOrganizationInnerwithProvisionedPlans(List<MicrosoftGraphProvisionedPlan> provisionedPlans)Set the provisionedPlans property: Not nullable.MicrosoftGraphOrganizationInnerwithSecurityComplianceNotificationMails(List<String> securityComplianceNotificationMails)Set the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.MicrosoftGraphOrganizationInnerwithSecurityComplianceNotificationPhones(List<String> securityComplianceNotificationPhones)Set the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.MicrosoftGraphOrganizationInnerwithState(String state)Set the state property: State name of the address for the organization.MicrosoftGraphOrganizationInnerwithStreet(String street)Set the street property: Street name of the address for organization.MicrosoftGraphOrganizationInnerwithTechnicalNotificationMails(List<String> technicalNotificationMails)Set the technicalNotificationMails property: Not nullable.MicrosoftGraphOrganizationInnerwithTenantType(String tenantType)Set the tenantType property: The tenantType property.MicrosoftGraphOrganizationInnerwithVerifiedDomains(List<MicrosoftGraphVerifiedDomain> verifiedDomains)Set the verifiedDomains property: The collection of domains associated with this tenant.-
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
-
assignedPlans
public List<MicrosoftGraphAssignedPlan> assignedPlans()
Get the assignedPlans property: The collection of service plans associated with the tenant. Not nullable.- Returns:
- the assignedPlans value.
-
withAssignedPlans
public MicrosoftGraphOrganizationInner withAssignedPlans(List<MicrosoftGraphAssignedPlan> assignedPlans)
Set the assignedPlans property: The collection of service plans associated with the tenant. Not nullable.- Parameters:
assignedPlans- the assignedPlans value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
businessPhones
public List<String> businessPhones()
Get the businessPhones property: Telephone number for the organization. NOTE: Although this is a string collection, only one number can be set for this property.- Returns:
- the businessPhones value.
-
withBusinessPhones
public MicrosoftGraphOrganizationInner withBusinessPhones(List<String> businessPhones)
Set the businessPhones property: Telephone number for the organization. NOTE: Although this is a string collection, only one number can be set for this property.- Parameters:
businessPhones- the businessPhones value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
city
public String city()
Get the city property: City name of the address for the organization.- Returns:
- the city value.
-
withCity
public MicrosoftGraphOrganizationInner withCity(String city)
Set the city property: City name of the address for the organization.- Parameters:
city- the city value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
country
public String country()
Get the country property: Country/region name of the address for the organization.- Returns:
- the country value.
-
withCountry
public MicrosoftGraphOrganizationInner withCountry(String country)
Set the country property: Country/region name of the address for the organization.- Parameters:
country- the country value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
countryLetterCode
public String countryLetterCode()
Get the countryLetterCode property: Country/region abbreviation for the organization.- Returns:
- the countryLetterCode value.
-
withCountryLetterCode
public MicrosoftGraphOrganizationInner withCountryLetterCode(String countryLetterCode)
Set the countryLetterCode property: Country/region abbreviation for the organization.- Parameters:
countryLetterCode- the countryLetterCode value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: Timestamp of when the organization was created. The value cannot be modified and is automatically populated when the organization is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.- Returns:
- the createdDateTime value.
-
withCreatedDateTime
public MicrosoftGraphOrganizationInner withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: Timestamp of when the organization was created. The value cannot be modified and is automatically populated when the organization is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
displayName
public String displayName()
Get the displayName property: The display name for the tenant.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphOrganizationInner withDisplayName(String displayName)
Set the displayName property: The display name for the tenant.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
marketingNotificationEmails
public List<String> marketingNotificationEmails()
Get the marketingNotificationEmails property: Not nullable.- Returns:
- the marketingNotificationEmails value.
-
withMarketingNotificationEmails
public MicrosoftGraphOrganizationInner withMarketingNotificationEmails(List<String> marketingNotificationEmails)
Set the marketingNotificationEmails property: Not nullable.- Parameters:
marketingNotificationEmails- the marketingNotificationEmails value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
onPremisesLastSyncDateTime
public OffsetDateTime onPremisesLastSyncDateTime()
Get the onPremisesLastSyncDateTime property: The time and date at which the tenant was last synced with the on-premise directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.- Returns:
- the onPremisesLastSyncDateTime value.
-
withOnPremisesLastSyncDateTime
public MicrosoftGraphOrganizationInner withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
Set the onPremisesLastSyncDateTime property: The time and date at which the tenant was last synced with the on-premise directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.- Parameters:
onPremisesLastSyncDateTime- the onPremisesLastSyncDateTime value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
onPremisesSyncEnabled
public Boolean onPremisesSyncEnabled()
Get the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default).- Returns:
- the onPremisesSyncEnabled value.
-
withOnPremisesSyncEnabled
public MicrosoftGraphOrganizationInner withOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)
Set the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default).- Parameters:
onPremisesSyncEnabled- the onPremisesSyncEnabled value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
postalCode
public String postalCode()
Get the postalCode property: Postal code of the address for the organization.- Returns:
- the postalCode value.
-
withPostalCode
public MicrosoftGraphOrganizationInner withPostalCode(String postalCode)
Set the postalCode property: Postal code of the address for the organization.- Parameters:
postalCode- the postalCode value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
preferredLanguage
public String preferredLanguage()
Get the preferredLanguage property: The preferred language for the organization. Should follow ISO 639-1 Code; for example 'en'.- Returns:
- the preferredLanguage value.
-
withPreferredLanguage
public MicrosoftGraphOrganizationInner withPreferredLanguage(String preferredLanguage)
Set the preferredLanguage property: The preferred language for the organization. Should follow ISO 639-1 Code; for example 'en'.- Parameters:
preferredLanguage- the preferredLanguage value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
privacyProfile
public MicrosoftGraphPrivacyProfile privacyProfile()
Get the privacyProfile property: privacyProfile.- Returns:
- the privacyProfile value.
-
withPrivacyProfile
public MicrosoftGraphOrganizationInner withPrivacyProfile(MicrosoftGraphPrivacyProfile privacyProfile)
Set the privacyProfile property: privacyProfile.- Parameters:
privacyProfile- the privacyProfile value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
provisionedPlans
public List<MicrosoftGraphProvisionedPlan> provisionedPlans()
Get the provisionedPlans property: Not nullable.- Returns:
- the provisionedPlans value.
-
withProvisionedPlans
public MicrosoftGraphOrganizationInner withProvisionedPlans(List<MicrosoftGraphProvisionedPlan> provisionedPlans)
Set the provisionedPlans property: Not nullable.- Parameters:
provisionedPlans- the provisionedPlans value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
securityComplianceNotificationMails
public List<String> securityComplianceNotificationMails()
Get the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.- Returns:
- the securityComplianceNotificationMails value.
-
withSecurityComplianceNotificationMails
public MicrosoftGraphOrganizationInner withSecurityComplianceNotificationMails(List<String> securityComplianceNotificationMails)
Set the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.- Parameters:
securityComplianceNotificationMails- the securityComplianceNotificationMails value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
securityComplianceNotificationPhones
public List<String> securityComplianceNotificationPhones()
Get the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.- Returns:
- the securityComplianceNotificationPhones value.
-
withSecurityComplianceNotificationPhones
public MicrosoftGraphOrganizationInner withSecurityComplianceNotificationPhones(List<String> securityComplianceNotificationPhones)
Set the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.- Parameters:
securityComplianceNotificationPhones- the securityComplianceNotificationPhones value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
state
public String state()
Get the state property: State name of the address for the organization.- Returns:
- the state value.
-
withState
public MicrosoftGraphOrganizationInner withState(String state)
Set the state property: State name of the address for the organization.- Parameters:
state- the state value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
street
public String street()
Get the street property: Street name of the address for organization.- Returns:
- the street value.
-
withStreet
public MicrosoftGraphOrganizationInner withStreet(String street)
Set the street property: Street name of the address for organization.- Parameters:
street- the street value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
technicalNotificationMails
public List<String> technicalNotificationMails()
Get the technicalNotificationMails property: Not nullable.- Returns:
- the technicalNotificationMails value.
-
withTechnicalNotificationMails
public MicrosoftGraphOrganizationInner withTechnicalNotificationMails(List<String> technicalNotificationMails)
Set the technicalNotificationMails property: Not nullable.- Parameters:
technicalNotificationMails- the technicalNotificationMails value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
tenantType
public String tenantType()
Get the tenantType property: The tenantType property.- Returns:
- the tenantType value.
-
withTenantType
public MicrosoftGraphOrganizationInner withTenantType(String tenantType)
Set the tenantType property: The tenantType property.- Parameters:
tenantType- the tenantType value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
verifiedDomains
public List<MicrosoftGraphVerifiedDomain> verifiedDomains()
Get the verifiedDomains property: The collection of domains associated with this tenant. Not nullable.- Returns:
- the verifiedDomains value.
-
withVerifiedDomains
public MicrosoftGraphOrganizationInner withVerifiedDomains(List<MicrosoftGraphVerifiedDomain> verifiedDomains)
Set the verifiedDomains property: The collection of domains associated with this tenant. Not nullable.- Parameters:
verifiedDomains- the verifiedDomains value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
mobileDeviceManagementAuthority
public MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority()
Get the mobileDeviceManagementAuthority property: mdmAuthority.- Returns:
- the mobileDeviceManagementAuthority value.
-
withMobileDeviceManagementAuthority
public MicrosoftGraphOrganizationInner withMobileDeviceManagementAuthority(MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority)
Set the mobileDeviceManagementAuthority property: mdmAuthority.- Parameters:
mobileDeviceManagementAuthority- the mobileDeviceManagementAuthority value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
certificateBasedAuthConfiguration
public List<MicrosoftGraphCertificateBasedAuthConfiguration> certificateBasedAuthConfiguration()
Get the certificateBasedAuthConfiguration property: Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection.- Returns:
- the certificateBasedAuthConfiguration value.
-
withCertificateBasedAuthConfiguration
public MicrosoftGraphOrganizationInner withCertificateBasedAuthConfiguration(List<MicrosoftGraphCertificateBasedAuthConfiguration> certificateBasedAuthConfiguration)
Set the certificateBasedAuthConfiguration property: Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection.- Parameters:
certificateBasedAuthConfiguration- the certificateBasedAuthConfiguration value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
extensions
public List<MicrosoftGraphExtensionInner> extensions()
Get the extensions property: The collection of open extensions defined for the organization. Read-only. Nullable.- Returns:
- the extensions value.
-
withExtensions
public MicrosoftGraphOrganizationInner withExtensions(List<MicrosoftGraphExtensionInner> extensions)
Set the extensions property: The collection of open extensions defined for the organization. Read-only. Nullable.- Parameters:
extensions- the extensions value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.- Overrides:
additionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOrganizationInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOrganizationInner object itself.
-
withDeletedDateTime
public MicrosoftGraphOrganizationInner withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.- Overrides:
withDeletedDateTimein classMicrosoftGraphDirectoryObjectInner- Parameters:
deletedDateTime- the deletedDateTime value to set.- Returns:
- the MicrosoftGraphDirectoryObjectInner object itself.
-
withId
public MicrosoftGraphOrganizationInner withId(String id)
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphDirectoryObjectInner- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphDirectoryObjectInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-