Class MicrosoftGraphOpenShift
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChangeTrackedEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOpenShift
-
public final class MicrosoftGraphOpenShift extends MicrosoftGraphChangeTrackedEntity
openShift.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOpenShift()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: openShift.MicrosoftGraphOpenShiftItem
draftOpenShift()
Get the draftOpenShift property: openShiftItem.String
schedulingGroupId()
Get the schedulingGroupId property: ID for the scheduling group that the open shift belongs to.MicrosoftGraphOpenShiftItem
sharedOpenShift()
Get the sharedOpenShift property: openShiftItem.void
validate()
Validates the instance.MicrosoftGraphOpenShift
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: openShift.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.MicrosoftGraphOpenShift
withDraftOpenShift(MicrosoftGraphOpenShiftItem draftOpenShift)
Set the draftOpenShift property: openShiftItem.MicrosoftGraphOpenShift
withId(String id)
Set the id property: Read-only.MicrosoftGraphOpenShift
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.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.MicrosoftGraphOpenShift
withSchedulingGroupId(String schedulingGroupId)
Set the schedulingGroupId property: ID for the scheduling group that the open shift belongs to.MicrosoftGraphOpenShift
withSharedOpenShift(MicrosoftGraphOpenShiftItem sharedOpenShift)
Set the sharedOpenShift property: openShiftItem.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChangeTrackedEntity
createdDateTime, lastModifiedBy, lastModifiedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
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 classMicrosoftGraphChangeTrackedEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOpenShift withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: openShift.- Overrides:
withAdditionalProperties
in classMicrosoftGraphChangeTrackedEntity
- 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 classMicrosoftGraphChangeTrackedEntity
- 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 classMicrosoftGraphChangeTrackedEntity
- 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 classMicrosoftGraphChangeTrackedEntity
- 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 classMicrosoftGraphChangeTrackedEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphChangeTrackedEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-