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.MicrosoftGraphOpenShiftItemdraftOpenShift()Get the draftOpenShift property: openShiftItem.StringschedulingGroupId()Get the schedulingGroupId property: ID for the scheduling group that the open shift belongs to.MicrosoftGraphOpenShiftItemsharedOpenShift()Get the sharedOpenShift property: openShiftItem.voidvalidate()Validates the instance.MicrosoftGraphOpenShiftwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: openShift.MicrosoftGraphOpenShiftwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.MicrosoftGraphOpenShiftwithDraftOpenShift(MicrosoftGraphOpenShiftItem draftOpenShift)Set the draftOpenShift property: openShiftItem.MicrosoftGraphOpenShiftwithId(String id)Set the id property: Read-only.MicrosoftGraphOpenShiftwithLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Set the lastModifiedBy property: identitySet.MicrosoftGraphOpenShiftwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.MicrosoftGraphOpenShiftwithSchedulingGroupId(String schedulingGroupId)Set the schedulingGroupId property: ID for the scheduling group that the open shift belongs to.MicrosoftGraphOpenShiftwithSharedOpenShift(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:
additionalPropertiesin classMicrosoftGraphChangeTrackedEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOpenShift withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: openShift.- Overrides:
withAdditionalPropertiesin 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:
withCreatedDateTimein 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:
withLastModifiedByin 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:
withLastModifiedDateTimein 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:
withIdin classMicrosoftGraphChangeTrackedEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphChangeTrackedEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-