Class DeliveryOptimizationGroupIdSourceOptions
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeliveryOptimizationGroupIdSource
-
- odata.msgraph.client.beta.complex.DeliveryOptimizationGroupIdSourceOptions
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeliveryOptimizationGroupIdSourceOptions extends DeliveryOptimizationGroupIdSource implements com.github.davidmoten.odata.client.ODataType
“Group id options type”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeliveryOptimizationGroupIdSourceOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DeliveryOptimizationGroupIdOptionsTypegroupIdSourceOption-
Fields inherited from class odata.msgraph.client.beta.complex.DeliveryOptimizationGroupIdSource
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeliveryOptimizationGroupIdSourceOptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeliveryOptimizationGroupIdSourceOptions.BuilderbuilderDeliveryOptimizationGroupIdSourceOptions()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<DeliveryOptimizationGroupIdOptionsType>getGroupIdSourceOption()“Set this policy to restrict peer selection to a specific source.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeliveryOptimizationGroupIdSourceOptionswithGroupIdSourceOption(DeliveryOptimizationGroupIdOptionsType groupIdSourceOption)Returns an immutable copy ofthiswith just thegroupIdSourceOptionfield changed.DeliveryOptimizationGroupIdSourceOptionswithUnmappedField(String name, String value)
-
-
-
Field Detail
-
groupIdSourceOption
protected DeliveryOptimizationGroupIdOptionsType groupIdSourceOption
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeliveryOptimizationGroupIdSource
-
getGroupIdSourceOption
public Optional<DeliveryOptimizationGroupIdOptionsType> getGroupIdSourceOption()
“Set this policy to restrict peer selection to a specific source.”- Returns:
- property groupIdSourceOption
-
withGroupIdSourceOption
public DeliveryOptimizationGroupIdSourceOptions withGroupIdSourceOption(DeliveryOptimizationGroupIdOptionsType groupIdSourceOption)
Returns an immutable copy ofthiswith just thegroupIdSourceOptionfield 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.“Set this policy to restrict peer selection to a specific source.”
- Parameters:
groupIdSourceOption- new value ofgroupIdSourceOptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thegroupIdSourceOptionfield changed
-
withUnmappedField
public DeliveryOptimizationGroupIdSourceOptions withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeliveryOptimizationGroupIdSource
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeliveryOptimizationGroupIdSource
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeliveryOptimizationGroupIdSource
-
builderDeliveryOptimizationGroupIdSourceOptions
public static DeliveryOptimizationGroupIdSourceOptions.Builder builderDeliveryOptimizationGroupIdSourceOptions()
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 classDeliveryOptimizationGroupIdSource
-
-