public static final class MandatoryAccessControlProperties.Builder
extends java.lang.Object
MandatoryAccessControlProperties
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
MandatoryAccessControlProperties . |
Modifier and Type | Method and Description |
---|---|
MandatoryAccessControlProperties |
build() |
MandatoryAccessControlProperties.Builder |
setEnabled(java.lang.Boolean enabled)
Enabled can be True/False
|
MandatoryAccessControlProperties.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
MandatoryAccessControlProperties.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
MandatoryAccessControlProperties.Builder |
setSelf(SelfResourceLink self) |
MandatoryAccessControlProperties.Builder |
setStatus(java.lang.String status)
Possible values are:
MandatoryAccessControlProperties.STATUS_ENABLED
MandatoryAccessControlProperties.STATUS_DISABLED
MandatoryAccessControlProperties.STATUS_ENABLED_PENDING_REBOOT
current status of Mandatory Access Control
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
public Builder()
MandatoryAccessControlProperties
.public MandatoryAccessControlProperties.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public MandatoryAccessControlProperties.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public MandatoryAccessControlProperties.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public MandatoryAccessControlProperties.Builder setEnabled(java.lang.Boolean enabled)
enabled
- New value for the property.public MandatoryAccessControlProperties.Builder setStatus(java.lang.String status)
status
- New value for the property.public MandatoryAccessControlProperties build()