Class CertificateConnectorSetting
- java.lang.Object
-
- odata.msgraph.client.beta.complex.CertificateConnectorSetting
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class CertificateConnectorSetting extends Object implements com.github.davidmoten.odata.client.ODataType
“Certificate connector settings.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCertificateConnectorSetting.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecertExpiryTimeprotected StringconnectorVersionprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringenrollmentErrorprotected OffsetDateTimelastConnectorConnectionTimeprotected LonglastUploadVersionprotected StringodataTypeprotected Integerstatusprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedCertificateConnectorSetting()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateConnectorSetting.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<OffsetDateTime>getCertExpiryTime()“Certificate expire time”Optional<String>getConnectorVersion()“Version of certificate connector”Optional<String>getEnrollmentError()“Certificate connector enrollment error”Optional<OffsetDateTime>getLastConnectorConnectionTime()“Last time certificate connector connected”Optional<Long>getLastUploadVersion()“Version of last uploaded certificate connector”Optional<Integer>getStatus()“Certificate connector status”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()CertificateConnectorSettingwithCertExpiryTime(OffsetDateTime certExpiryTime)Returns an immutable copy ofthiswith just thecertExpiryTimefield changed.CertificateConnectorSettingwithConnectorVersion(String connectorVersion)Returns an immutable copy ofthiswith just theconnectorVersionfield changed.CertificateConnectorSettingwithEnrollmentError(String enrollmentError)Returns an immutable copy ofthiswith just theenrollmentErrorfield changed.CertificateConnectorSettingwithLastConnectorConnectionTime(OffsetDateTime lastConnectorConnectionTime)Returns an immutable copy ofthiswith just thelastConnectorConnectionTimefield changed.CertificateConnectorSettingwithLastUploadVersion(Long lastUploadVersion)Returns an immutable copy ofthiswith just thelastUploadVersionfield changed.CertificateConnectorSettingwithStatus(Integer status)Returns an immutable copy ofthiswith just thestatusfield changed.CertificateConnectorSettingwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
certExpiryTime
protected OffsetDateTime certExpiryTime
-
connectorVersion
protected String connectorVersion
-
enrollmentError
protected String enrollmentError
-
lastConnectorConnectionTime
protected OffsetDateTime lastConnectorConnectionTime
-
lastUploadVersion
protected Long lastUploadVersion
-
status
protected Integer status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getCertExpiryTime
public Optional<OffsetDateTime> getCertExpiryTime()
“Certificate expire time”- Returns:
- property certExpiryTime
-
withCertExpiryTime
public CertificateConnectorSetting withCertExpiryTime(OffsetDateTime certExpiryTime)
Returns an immutable copy ofthiswith just thecertExpiryTimefield 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.“Certificate expire time”
- Parameters:
certExpiryTime- new value ofcertExpiryTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertExpiryTimefield changed
-
getConnectorVersion
public Optional<String> getConnectorVersion()
“Version of certificate connector”- Returns:
- property connectorVersion
-
withConnectorVersion
public CertificateConnectorSetting withConnectorVersion(String connectorVersion)
Returns an immutable copy ofthiswith just theconnectorVersionfield 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.“Version of certificate connector”
- Parameters:
connectorVersion- new value ofconnectorVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconnectorVersionfield changed
-
getEnrollmentError
public Optional<String> getEnrollmentError()
“Certificate connector enrollment error”- Returns:
- property enrollmentError
-
withEnrollmentError
public CertificateConnectorSetting withEnrollmentError(String enrollmentError)
Returns an immutable copy ofthiswith just theenrollmentErrorfield 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.“Certificate connector enrollment error”
- Parameters:
enrollmentError- new value ofenrollmentErrorfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenrollmentErrorfield changed
-
getLastConnectorConnectionTime
public Optional<OffsetDateTime> getLastConnectorConnectionTime()
“Last time certificate connector connected”- Returns:
- property lastConnectorConnectionTime
-
withLastConnectorConnectionTime
public CertificateConnectorSetting withLastConnectorConnectionTime(OffsetDateTime lastConnectorConnectionTime)
Returns an immutable copy ofthiswith just thelastConnectorConnectionTimefield 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 certificate connector connected”
- Parameters:
lastConnectorConnectionTime- new value oflastConnectorConnectionTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastConnectorConnectionTimefield changed
-
getLastUploadVersion
public Optional<Long> getLastUploadVersion()
“Version of last uploaded certificate connector”- Returns:
- property lastUploadVersion
-
withLastUploadVersion
public CertificateConnectorSetting withLastUploadVersion(Long lastUploadVersion)
Returns an immutable copy ofthiswith just thelastUploadVersionfield 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.“Version of last uploaded certificate connector”
- Parameters:
lastUploadVersion- new value oflastUploadVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastUploadVersionfield changed
-
getStatus
public Optional<Integer> getStatus()
“Certificate connector status”- Returns:
- property status
-
withStatus
public CertificateConnectorSetting withStatus(Integer status)
Returns an immutable copy ofthiswith just thestatusfield 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.“Certificate connector status”
- Parameters:
status- new value ofstatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatusfield changed
-
withUnmappedField
public CertificateConnectorSetting withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static CertificateConnectorSetting.Builder builder()
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
-
-