Package odata.msgraph.client.beta.entity
Class DeviceManagementDomainJoinConnector
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementDomainJoinConnector
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementDomainJoinConnector extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“A Domain Join Connector is a connector that is responsible to allocate (and delete) machine account blobs”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementDomainJoinConnector.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringdisplayNameprotected OffsetDateTimelastConnectionDateTimeprotected DeviceManagementDomainJoinConnectorStatestateprotected Stringversion-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementDomainJoinConnector()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementDomainJoinConnector.BuilderbuilderDeviceManagementDomainJoinConnector()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDisplayName()“The connector display name.”Optional<OffsetDateTime>getLastConnectionDateTime()“Last time connector contacted Intune.”Optional<DeviceManagementDomainJoinConnectorState>getState()“The connector state.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getVersion()“The version of the connector.”StringodataTypeName()DeviceManagementDomainJoinConnectorpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementDomainJoinConnectorput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementDomainJoinConnectorwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.DeviceManagementDomainJoinConnectorwithLastConnectionDateTime(OffsetDateTime lastConnectionDateTime)Returns an immutable copy ofthiswith just thelastConnectionDateTimefield changed.DeviceManagementDomainJoinConnectorwithState(DeviceManagementDomainJoinConnectorState state)Returns an immutable copy ofthiswith just thestatefield changed.DeviceManagementDomainJoinConnectorwithUnmappedField(String name, String value)DeviceManagementDomainJoinConnectorwithVersion(String version)Returns an immutable copy ofthiswith just theversionfield changed.
-
-
-
Field Detail
-
displayName
protected String displayName
-
lastConnectionDateTime
protected OffsetDateTime lastConnectionDateTime
-
state
protected DeviceManagementDomainJoinConnectorState state
-
version
protected String version
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceManagementDomainJoinConnector
public static DeviceManagementDomainJoinConnector.Builder builderDeviceManagementDomainJoinConnector()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getDisplayName
public Optional<String> getDisplayName()
“The connector display name.”- Returns:
- property displayName
-
withDisplayName
public DeviceManagementDomainJoinConnector withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The connector display name.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getLastConnectionDateTime
public Optional<OffsetDateTime> getLastConnectionDateTime()
“Last time connector contacted Intune.”- Returns:
- property lastConnectionDateTime
-
withLastConnectionDateTime
public DeviceManagementDomainJoinConnector withLastConnectionDateTime(OffsetDateTime lastConnectionDateTime)
Returns an immutable copy ofthiswith just thelastConnectionDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Last time connector contacted Intune.”
- Parameters:
lastConnectionDateTime- new value oflastConnectionDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastConnectionDateTimefield changed
-
getState
public Optional<DeviceManagementDomainJoinConnectorState> getState()
“The connector state.”- Returns:
- property state
-
withState
public DeviceManagementDomainJoinConnector withState(DeviceManagementDomainJoinConnectorState state)
Returns an immutable copy ofthiswith just thestatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The connector state.”
- Parameters:
state- new value ofstatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatefield changed
-
getVersion
public Optional<String> getVersion()
“The version of the connector.”- Returns:
- property version
-
withVersion
public DeviceManagementDomainJoinConnector withVersion(String version)
Returns an immutable copy ofthiswith just theversionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The version of the connector.”
- Parameters:
version- new value ofversionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionfield changed
-
withUnmappedField
public DeviceManagementDomainJoinConnector withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DeviceManagementDomainJoinConnector patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementDomainJoinConnector put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-