Class ConfigurationSnapshotJob

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ConfigurationSnapshotJob
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class ConfigurationSnapshotJob extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • ConfigurationSnapshotJob

      public ConfigurationSnapshotJob()
      Instantiates a new ConfigurationSnapshotJob and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static ConfigurationSnapshotJob createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a ConfigurationSnapshotJob
    • getCompletedDateTime

      @Nullable public OffsetDateTime getCompletedDateTime()
      Gets the completedDateTime property value. The date and time when the snapshot job was completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby.
      Returns:
      a OffsetDateTime
    • getCreatedBy

      @Nullable public IdentitySet getCreatedBy()
      Gets the createdBy property value. The createdBy property
      Returns:
      a IdentitySet
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The date and time when the snapshot job was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby.
      Returns:
      a OffsetDateTime
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. User-friendly description of the snapshot given by the user. Supports $filter (eq, ne, startsWith) and $orderby.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. User-friendly name provided by the user during snapshot creation. Supports $filter (eq, ne, startsWith) and $orderby.
      Returns:
      a String
    • getErrorDetails

      @Nullable public List<String> getErrorDetails()
      Gets the errorDetails property value. Details of errors related to the reasons why the snapshot can't complete. Requires $select to retrieve.
      Returns:
      a List<String>
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getResourceLocation

      @Nullable public String getResourceLocation()
      Gets the resourceLocation property value. The URL at which the snapshot file resides. Requires $select to retrieve.
      Returns:
      a String
    • getResources

      @Nullable public List<String> getResources()
      Gets the resources property value. The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. Requires $select to retrieve.
      Returns:
      a List<String>
    • getStatus

      @Nullable public SnapshotJobStatus getStatus()
      Gets the status property value. The status property
      Returns:
      a SnapshotJobStatus
    • getTenantId

      @Nullable public String getTenantId()
      Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the snapshot is created. Supports $filter (eq, ne).
      Returns:
      a String
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCompletedDateTime

      public void setCompletedDateTime(@Nullable OffsetDateTime value)
      Sets the completedDateTime property value. The date and time when the snapshot job was completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby.
      Parameters:
      value - Value to set for the completedDateTime property.
    • setCreatedBy

      public void setCreatedBy(@Nullable IdentitySet value)
      Sets the createdBy property value. The createdBy property
      Parameters:
      value - Value to set for the createdBy property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The date and time when the snapshot job was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. User-friendly description of the snapshot given by the user. Supports $filter (eq, ne, startsWith) and $orderby.
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. User-friendly name provided by the user during snapshot creation. Supports $filter (eq, ne, startsWith) and $orderby.
      Parameters:
      value - Value to set for the displayName property.
    • setErrorDetails

      public void setErrorDetails(@Nullable List<String> value)
      Sets the errorDetails property value. Details of errors related to the reasons why the snapshot can't complete. Requires $select to retrieve.
      Parameters:
      value - Value to set for the errorDetails property.
    • setResourceLocation

      public void setResourceLocation(@Nullable String value)
      Sets the resourceLocation property value. The URL at which the snapshot file resides. Requires $select to retrieve.
      Parameters:
      value - Value to set for the resourceLocation property.
    • setResources

      public void setResources(@Nullable List<String> value)
      Sets the resources property value. The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. Requires $select to retrieve.
      Parameters:
      value - Value to set for the resources property.
    • setStatus

      public void setStatus(@Nullable SnapshotJobStatus value)
      Sets the status property value. The status property
      Parameters:
      value - Value to set for the status property.
    • setTenantId

      public void setTenantId(@Nullable String value)
      Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the snapshot is created. Supports $filter (eq, ne).
      Parameters:
      value - Value to set for the tenantId property.