Class MicrosoftGraphManagedAppOperation
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphManagedAppOperation
-
public final class MicrosoftGraphManagedAppOperation extends MicrosoftGraphEntity
Represents an operation applied against an app registration.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphManagedAppOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: Represents an operation applied against an app registration.String
displayName()
Get the displayName property: The operation name.OffsetDateTime
lastModifiedDateTime()
Get the lastModifiedDateTime property: The last time the app operation was modified.String
state()
Get the state property: The current state of the operation.void
validate()
Validates the instance.String
version()
Get the version property: Version of the entity.MicrosoftGraphManagedAppOperation
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an operation applied against an app registration.MicrosoftGraphManagedAppOperation
withDisplayName(String displayName)
Set the displayName property: The operation name.MicrosoftGraphManagedAppOperation
withId(String id)
Set the id property: Read-only.MicrosoftGraphManagedAppOperation
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The last time the app operation was modified.MicrosoftGraphManagedAppOperation
withState(String state)
Set the state property: The current state of the operation.MicrosoftGraphManagedAppOperation
withVersion(String version)
Set the version property: Version of the entity.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
displayName
public String displayName()
Get the displayName property: The operation name.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphManagedAppOperation withDisplayName(String displayName)
Set the displayName property: The operation name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the MicrosoftGraphManagedAppOperation object itself.
-
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: The last time the app operation was modified.- Returns:
- the lastModifiedDateTime value.
-
withLastModifiedDateTime
public MicrosoftGraphManagedAppOperation withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The last time the app operation was modified.- Parameters:
lastModifiedDateTime
- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphManagedAppOperation object itself.
-
state
public String state()
Get the state property: The current state of the operation.- Returns:
- the state value.
-
withState
public MicrosoftGraphManagedAppOperation withState(String state)
Set the state property: The current state of the operation.- Parameters:
state
- the state value to set.- Returns:
- the MicrosoftGraphManagedAppOperation object itself.
-
version
public String version()
Get the version property: Version of the entity.- Returns:
- the version value.
-
withVersion
public MicrosoftGraphManagedAppOperation withVersion(String version)
Set the version property: Version of the entity.- Parameters:
version
- the version value to set.- Returns:
- the MicrosoftGraphManagedAppOperation object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Represents an operation applied against an app registration.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphManagedAppOperation withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an operation applied against an app registration.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphManagedAppOperation object itself.
-
withId
public MicrosoftGraphManagedAppOperation withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-