Class IosEduCertificateSettings
- java.lang.Object
-
- odata.msgraph.client.beta.complex.IosEduCertificateSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class IosEduCertificateSettings extends Object implements com.github.davidmoten.odata.client.ODataType
“Trusted Root and PFX certificates for iOS EDU.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosEduCertificateSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcertFileNameprotected StringcertificateTemplateNameprotected CertificateValidityPeriodScalecertificateValidityPeriodScaleprotected IntegercertificateValidityPeriodValueprotected StringcertificationAuthorityprotected StringcertificationAuthorityNameprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected IntegerrenewalThresholdPercentageprotected byte[]trustedRootCertificateprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedIosEduCertificateSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosEduCertificateSettings.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getCertFileName()“File name to display in UI.”Optional<String>getCertificateTemplateName()“PKCS Certificate Template Name.”Optional<CertificateValidityPeriodScale>getCertificateValidityPeriodScale()“Scale for the Certificate Validity Period.”Optional<Integer>getCertificateValidityPeriodValue()“Value for the Certificate Validity Period.”Optional<String>getCertificationAuthority()“PKCS Certification Authority.”Optional<String>getCertificationAuthorityName()“PKCS Certification Authority Name.”Optional<Integer>getRenewalThresholdPercentage()“Certificate renewal threshold percentage.Optional<byte[]>getTrustedRootCertificate()“Trusted Root Certificate.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()IosEduCertificateSettingswithCertFileName(String certFileName)Returns an immutable copy ofthiswith just thecertFileNamefield changed.IosEduCertificateSettingswithCertificateTemplateName(String certificateTemplateName)Returns an immutable copy ofthiswith just thecertificateTemplateNamefield changed.IosEduCertificateSettingswithCertificateValidityPeriodScale(CertificateValidityPeriodScale certificateValidityPeriodScale)Returns an immutable copy ofthiswith just thecertificateValidityPeriodScalefield changed.IosEduCertificateSettingswithCertificateValidityPeriodValue(Integer certificateValidityPeriodValue)Returns an immutable copy ofthiswith just thecertificateValidityPeriodValuefield changed.IosEduCertificateSettingswithCertificationAuthority(String certificationAuthority)Returns an immutable copy ofthiswith just thecertificationAuthorityfield changed.IosEduCertificateSettingswithCertificationAuthorityName(String certificationAuthorityName)Returns an immutable copy ofthiswith just thecertificationAuthorityNamefield changed.IosEduCertificateSettingswithRenewalThresholdPercentage(Integer renewalThresholdPercentage)Returns an immutable copy ofthiswith just therenewalThresholdPercentagefield changed.IosEduCertificateSettingswithTrustedRootCertificate(byte[] trustedRootCertificate)Returns an immutable copy ofthiswith just thetrustedRootCertificatefield changed.IosEduCertificateSettingswithUnmappedField(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
-
certFileName
protected String certFileName
-
certificateTemplateName
protected String certificateTemplateName
-
certificateValidityPeriodScale
protected CertificateValidityPeriodScale certificateValidityPeriodScale
-
certificateValidityPeriodValue
protected Integer certificateValidityPeriodValue
-
certificationAuthority
protected String certificationAuthority
-
certificationAuthorityName
protected String certificationAuthorityName
-
renewalThresholdPercentage
protected Integer renewalThresholdPercentage
-
trustedRootCertificate
protected byte[] trustedRootCertificate
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getCertFileName
public Optional<String> getCertFileName()
“File name to display in UI.”- Returns:
- property certFileName
-
withCertFileName
public IosEduCertificateSettings withCertFileName(String certFileName)
Returns an immutable copy ofthiswith just thecertFileNamefield 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.“File name to display in UI.”
- Parameters:
certFileName- new value ofcertFileNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertFileNamefield changed
-
getCertificateTemplateName
public Optional<String> getCertificateTemplateName()
“PKCS Certificate Template Name.”- Returns:
- property certificateTemplateName
-
withCertificateTemplateName
public IosEduCertificateSettings withCertificateTemplateName(String certificateTemplateName)
Returns an immutable copy ofthiswith just thecertificateTemplateNamefield 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.“PKCS Certificate Template Name.”
- Parameters:
certificateTemplateName- new value ofcertificateTemplateNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateTemplateNamefield changed
-
getCertificateValidityPeriodScale
public Optional<CertificateValidityPeriodScale> getCertificateValidityPeriodScale()
“Scale for the Certificate Validity Period.”- Returns:
- property certificateValidityPeriodScale
-
withCertificateValidityPeriodScale
public IosEduCertificateSettings withCertificateValidityPeriodScale(CertificateValidityPeriodScale certificateValidityPeriodScale)
Returns an immutable copy ofthiswith just thecertificateValidityPeriodScalefield 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.“Scale for the Certificate Validity Period.”
- Parameters:
certificateValidityPeriodScale- new value ofcertificateValidityPeriodScalefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateValidityPeriodScalefield changed
-
getCertificateValidityPeriodValue
public Optional<Integer> getCertificateValidityPeriodValue()
“Value for the Certificate Validity Period.”- Returns:
- property certificateValidityPeriodValue
-
withCertificateValidityPeriodValue
public IosEduCertificateSettings withCertificateValidityPeriodValue(Integer certificateValidityPeriodValue)
Returns an immutable copy ofthiswith just thecertificateValidityPeriodValuefield 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.“Value for the Certificate Validity Period.”
- Parameters:
certificateValidityPeriodValue- new value ofcertificateValidityPeriodValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateValidityPeriodValuefield changed
-
getCertificationAuthority
public Optional<String> getCertificationAuthority()
“PKCS Certification Authority.”- Returns:
- property certificationAuthority
-
withCertificationAuthority
public IosEduCertificateSettings withCertificationAuthority(String certificationAuthority)
Returns an immutable copy ofthiswith just thecertificationAuthorityfield 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.“PKCS Certification Authority.”
- Parameters:
certificationAuthority- new value ofcertificationAuthorityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificationAuthorityfield changed
-
getCertificationAuthorityName
public Optional<String> getCertificationAuthorityName()
“PKCS Certification Authority Name.”- Returns:
- property certificationAuthorityName
-
withCertificationAuthorityName
public IosEduCertificateSettings withCertificationAuthorityName(String certificationAuthorityName)
Returns an immutable copy ofthiswith just thecertificationAuthorityNamefield 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.“PKCS Certification Authority Name.”
- Parameters:
certificationAuthorityName- new value ofcertificationAuthorityNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificationAuthorityNamefield changed
-
getRenewalThresholdPercentage
public Optional<Integer> getRenewalThresholdPercentage()
“Certificate renewal threshold percentage. Valid values 1 to 99”- Returns:
- property renewalThresholdPercentage
-
withRenewalThresholdPercentage
public IosEduCertificateSettings withRenewalThresholdPercentage(Integer renewalThresholdPercentage)
Returns an immutable copy ofthiswith just therenewalThresholdPercentagefield 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 renewal threshold percentage. Valid values 1 to 99”
- Parameters:
renewalThresholdPercentage- new value ofrenewalThresholdPercentagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therenewalThresholdPercentagefield changed
-
getTrustedRootCertificate
public Optional<byte[]> getTrustedRootCertificate()
“Trusted Root Certificate.”- Returns:
- property trustedRootCertificate
-
withTrustedRootCertificate
public IosEduCertificateSettings withTrustedRootCertificate(byte[] trustedRootCertificate)
Returns an immutable copy ofthiswith just thetrustedRootCertificatefield 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.“Trusted Root Certificate.”
- Parameters:
trustedRootCertificate- new value oftrustedRootCertificatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetrustedRootCertificatefield changed
-
withUnmappedField
public IosEduCertificateSettings 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 IosEduCertificateSettings.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
-
-