Package microsoft.graph.security.complex
Class AddWatermarkAction
- java.lang.Object
-
- microsoft.graph.security.complex.InformationProtectionAction
-
- microsoft.graph.security.complex.AddWatermarkAction
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AddWatermarkAction extends InformationProtectionAction implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddWatermarkAction.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringfontColorprotected StringfontNameprotected IntegerfontSizeprotected WatermarkLayoutlayoutprotected Stringtextprotected StringuiElementName-
Fields inherited from class microsoft.graph.security.complex.InformationProtectionAction
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAddWatermarkAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddWatermarkAction.BuilderbuilderAddWatermarkAction()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getFontColor()Optional<String>getFontName()Optional<Integer>getFontSize()Optional<WatermarkLayout>getLayout()Optional<String>getText()Optional<String>getUiElementName()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AddWatermarkActionwithFontColor(String fontColor)AddWatermarkActionwithFontName(String fontName)AddWatermarkActionwithFontSize(Integer fontSize)AddWatermarkActionwithLayout(WatermarkLayout layout)AddWatermarkActionwithText(String text)AddWatermarkActionwithUiElementName(String uiElementName)AddWatermarkActionwithUnmappedField(String name, String value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classInformationProtectionAction
-
withFontColor
public AddWatermarkAction withFontColor(String fontColor)
-
withFontName
public AddWatermarkAction withFontName(String fontName)
-
withFontSize
public AddWatermarkAction withFontSize(Integer fontSize)
-
getLayout
public Optional<WatermarkLayout> getLayout()
-
withLayout
public AddWatermarkAction withLayout(WatermarkLayout layout)
-
withText
public AddWatermarkAction withText(String text)
-
withUiElementName
public AddWatermarkAction withUiElementName(String uiElementName)
-
withUnmappedField
public AddWatermarkAction withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classInformationProtectionAction
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classInformationProtectionAction
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classInformationProtectionAction
-
builderAddWatermarkAction
public static AddWatermarkAction.Builder builderAddWatermarkAction()
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 classInformationProtectionAction
-
-