Package microsoft.graph.security.complex
Class AddContentHeaderAction
- java.lang.Object
-
- microsoft.graph.security.complex.InformationProtectionAction
-
- microsoft.graph.security.complex.AddContentHeaderAction
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AddContentHeaderAction extends InformationProtectionAction implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddContentHeaderAction.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ContentAlignmentalignmentprotected StringfontColorprotected StringfontNameprotected IntegerfontSizeprotected Integermarginprotected Stringtextprotected StringuiElementName-
Fields inherited from class microsoft.graph.security.complex.InformationProtectionAction
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAddContentHeaderAction()
-
Method Summary
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classInformationProtectionAction
-
getAlignment
public Optional<ContentAlignment> getAlignment()
-
withAlignment
public AddContentHeaderAction withAlignment(ContentAlignment alignment)
-
withFontColor
public AddContentHeaderAction withFontColor(String fontColor)
-
withFontName
public AddContentHeaderAction withFontName(String fontName)
-
withFontSize
public AddContentHeaderAction withFontSize(Integer fontSize)
-
withMargin
public AddContentHeaderAction withMargin(Integer margin)
-
withText
public AddContentHeaderAction withText(String text)
-
withUiElementName
public AddContentHeaderAction withUiElementName(String uiElementName)
-
withUnmappedField
public AddContentHeaderAction 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
-
builderAddContentHeaderAction
public static AddContentHeaderAction.Builder builderAddContentHeaderAction()
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
-
-