Package odata.msgraph.client.beta.entity
Class CertificateConnectorDetails
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.CertificateConnectorDetails
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class CertificateConnectorDetails extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity used to retrieve information about Intune Certificate Connectors.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCertificateConnectorDetails.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringconnectorNameprotected OffsetDateTimeenrollmentDateTimeprotected OffsetDateTimelastCheckinDateTimeprotected StringmachineName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCertificateConnectorDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateConnectorDetails.BuilderbuilderCertificateConnectorDetails()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>getConnectorName()“Connector name (set during enrollment).”Optional<OffsetDateTime>getEnrollmentDateTime()“Date/time when this connector was enrolled.”com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<KeyLongValuePair>getHealthMetrics(List<String> metricNames)com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<CertificateConnectorHealthMetricValue>getHealthMetricTimeSeries(TimeSeriesParameter timeSeries)Optional<OffsetDateTime>getLastCheckinDateTime()“Date/time when this connector last connected to the service.”Optional<String>getMachineName()“Name of the machine hosting this connector service.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()CertificateConnectorDetailspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)CertificateConnectorDetailsput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()CertificateConnectorDetailswithConnectorName(String connectorName)Returns an immutable copy ofthiswith just theconnectorNamefield changed.CertificateConnectorDetailswithEnrollmentDateTime(OffsetDateTime enrollmentDateTime)Returns an immutable copy ofthiswith just theenrollmentDateTimefield changed.CertificateConnectorDetailswithLastCheckinDateTime(OffsetDateTime lastCheckinDateTime)Returns an immutable copy ofthiswith just thelastCheckinDateTimefield changed.CertificateConnectorDetailswithMachineName(String machineName)Returns an immutable copy ofthiswith just themachineNamefield changed.CertificateConnectorDetailswithUnmappedField(String name, String value)
-
-
-
Field Detail
-
connectorName
protected String connectorName
-
enrollmentDateTime
protected OffsetDateTime enrollmentDateTime
-
lastCheckinDateTime
protected OffsetDateTime lastCheckinDateTime
-
machineName
protected String machineName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderCertificateConnectorDetails
public static CertificateConnectorDetails.Builder builderCertificateConnectorDetails()
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
-
getConnectorName
public Optional<String> getConnectorName()
“Connector name (set during enrollment).”- Returns:
- property connectorName
-
withConnectorName
public CertificateConnectorDetails withConnectorName(String connectorName)
Returns an immutable copy ofthiswith just theconnectorNamefield 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.“Connector name (set during enrollment).”
- Parameters:
connectorName- new value ofconnectorNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconnectorNamefield changed
-
getEnrollmentDateTime
public Optional<OffsetDateTime> getEnrollmentDateTime()
“Date/time when this connector was enrolled.”- Returns:
- property enrollmentDateTime
-
withEnrollmentDateTime
public CertificateConnectorDetails withEnrollmentDateTime(OffsetDateTime enrollmentDateTime)
Returns an immutable copy ofthiswith just theenrollmentDateTimefield 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.“Date/time when this connector was enrolled.”
- Parameters:
enrollmentDateTime- new value ofenrollmentDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenrollmentDateTimefield changed
-
getLastCheckinDateTime
public Optional<OffsetDateTime> getLastCheckinDateTime()
“Date/time when this connector last connected to the service.”- Returns:
- property lastCheckinDateTime
-
withLastCheckinDateTime
public CertificateConnectorDetails withLastCheckinDateTime(OffsetDateTime lastCheckinDateTime)
Returns an immutable copy ofthiswith just thelastCheckinDateTimefield 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.“Date/time when this connector last connected to the service.”
- Parameters:
lastCheckinDateTime- new value oflastCheckinDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastCheckinDateTimefield changed
-
getMachineName
public Optional<String> getMachineName()
“Name of the machine hosting this connector service.”- Returns:
- property machineName
-
withMachineName
public CertificateConnectorDetails withMachineName(String machineName)
Returns an immutable copy ofthiswith just themachineNamefield 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.“Name of the machine hosting this connector service.”
- Parameters:
machineName- new value ofmachineNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themachineNamefield changed
-
withUnmappedField
public CertificateConnectorDetails 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 CertificateConnectorDetails patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public CertificateConnectorDetails put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
getHealthMetrics
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<KeyLongValuePair> getHealthMetrics(List<String> metricNames)
-
getHealthMetricTimeSeries
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<CertificateConnectorHealthMetricValue> getHealthMetricTimeSeries(TimeSeriesParameter timeSeries)
-
-