Class MicrosoftGraphOpenShift


public final class MicrosoftGraphOpenShift extends MicrosoftGraphChangeTrackedEntity
openShift.
  • Constructor Details

    • MicrosoftGraphOpenShift

      public MicrosoftGraphOpenShift()
      Creates an instance of MicrosoftGraphOpenShift class.
  • Method Details

    • draftOpenShift

      public MicrosoftGraphOpenShiftItem draftOpenShift()
      Get the draftOpenShift property: openShiftItem.
      Returns:
      the draftOpenShift value.
    • withDraftOpenShift

      public MicrosoftGraphOpenShift withDraftOpenShift(MicrosoftGraphOpenShiftItem draftOpenShift)
      Set the draftOpenShift property: openShiftItem.
      Parameters:
      draftOpenShift - the draftOpenShift value to set.
      Returns:
      the MicrosoftGraphOpenShift object itself.
    • schedulingGroupId

      public String schedulingGroupId()
      Get the schedulingGroupId property: ID for the scheduling group that the open shift belongs to.
      Returns:
      the schedulingGroupId value.
    • withSchedulingGroupId

      public MicrosoftGraphOpenShift withSchedulingGroupId(String schedulingGroupId)
      Set the schedulingGroupId property: ID for the scheduling group that the open shift belongs to.
      Parameters:
      schedulingGroupId - the schedulingGroupId value to set.
      Returns:
      the MicrosoftGraphOpenShift object itself.
    • sharedOpenShift

      public MicrosoftGraphOpenShiftItem sharedOpenShift()
      Get the sharedOpenShift property: openShiftItem.
      Returns:
      the sharedOpenShift value.
    • withSharedOpenShift

      public MicrosoftGraphOpenShift withSharedOpenShift(MicrosoftGraphOpenShiftItem sharedOpenShift)
      Set the sharedOpenShift property: openShiftItem.
      Parameters:
      sharedOpenShift - the sharedOpenShift value to set.
      Returns:
      the MicrosoftGraphOpenShift object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: openShift.
      Overrides:
      additionalProperties in class MicrosoftGraphChangeTrackedEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphOpenShift withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: openShift.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphChangeTrackedEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphOpenShift object itself.
    • withCreatedDateTime

      public MicrosoftGraphOpenShift withCreatedDateTime(OffsetDateTime createdDateTime)
      Set the createdDateTime property: 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'.
      Overrides:
      withCreatedDateTime in class MicrosoftGraphChangeTrackedEntity
      Parameters:
      createdDateTime - the createdDateTime value to set.
      Returns:
      the MicrosoftGraphChangeTrackedEntity object itself.
    • withLastModifiedBy

      public MicrosoftGraphOpenShift withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
      Set the lastModifiedBy property: identitySet.
      Overrides:
      withLastModifiedBy in class MicrosoftGraphChangeTrackedEntity
      Parameters:
      lastModifiedBy - the lastModifiedBy value to set.
      Returns:
      the MicrosoftGraphChangeTrackedEntity object itself.
    • withLastModifiedDateTime

      public MicrosoftGraphOpenShift withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
      Set the lastModifiedDateTime property: 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'.
      Overrides:
      withLastModifiedDateTime in class MicrosoftGraphChangeTrackedEntity
      Parameters:
      lastModifiedDateTime - the lastModifiedDateTime value to set.
      Returns:
      the MicrosoftGraphChangeTrackedEntity object itself.
    • withId

      public MicrosoftGraphOpenShift withId(String id)
      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphChangeTrackedEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphChangeTrackedEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.