Class DeliveryOptimizationMaxCacheSizePercentage
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeliveryOptimizationMaxCacheSize
-
- odata.msgraph.client.beta.complex.DeliveryOptimizationMaxCacheSizePercentage
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeliveryOptimizationMaxCacheSizePercentage extends DeliveryOptimizationMaxCacheSize implements com.github.davidmoten.odata.client.ODataType
“Delivery Optimization Max cache size percentage types.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeliveryOptimizationMaxCacheSizePercentage.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegermaximumCacheSizePercentage-
Fields inherited from class odata.msgraph.client.beta.complex.DeliveryOptimizationMaxCacheSize
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeliveryOptimizationMaxCacheSizePercentage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeliveryOptimizationMaxCacheSizePercentage.BuilderbuilderDeliveryOptimizationMaxCacheSizePercentage()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getMaximumCacheSizePercentage()“Specifies the maximum cache size that Delivery Optimization can utilize, as a percentage of disk size (1-100).com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeliveryOptimizationMaxCacheSizePercentagewithMaximumCacheSizePercentage(Integer maximumCacheSizePercentage)Returns an immutable copy ofthiswith just themaximumCacheSizePercentagefield changed.DeliveryOptimizationMaxCacheSizePercentagewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
maximumCacheSizePercentage
protected Integer maximumCacheSizePercentage
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeliveryOptimizationMaxCacheSize
-
getMaximumCacheSizePercentage
public Optional<Integer> getMaximumCacheSizePercentage()
“Specifies the maximum cache size that Delivery Optimization can utilize, as a percentage of disk size (1-100). Valid values 1 to 100”- Returns:
- property maximumCacheSizePercentage
-
withMaximumCacheSizePercentage
public DeliveryOptimizationMaxCacheSizePercentage withMaximumCacheSizePercentage(Integer maximumCacheSizePercentage)
Returns an immutable copy ofthiswith just themaximumCacheSizePercentagefield 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.“Specifies the maximum cache size that Delivery Optimization can utilize, as a percentage of disk size (1-100). Valid values 1 to 100”
- Parameters:
maximumCacheSizePercentage- new value ofmaximumCacheSizePercentagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themaximumCacheSizePercentagefield changed
-
withUnmappedField
public DeliveryOptimizationMaxCacheSizePercentage withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeliveryOptimizationMaxCacheSize
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeliveryOptimizationMaxCacheSize
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeliveryOptimizationMaxCacheSize
-
builderDeliveryOptimizationMaxCacheSizePercentage
public static DeliveryOptimizationMaxCacheSizePercentage.Builder builderDeliveryOptimizationMaxCacheSizePercentage()
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
-
toString
public String toString()
- Overrides:
toStringin classDeliveryOptimizationMaxCacheSize
-
-