Class SecureLocationRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.SecureLocationRequestBody
SecureLocationRequestBody carries the parameters for marking a location as secure.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the description of security at the site.getLevel()
Return the level of security.int
hashCode()
Return hash code for this objectvoid
setDescription
(String description) Set up description of security at the site.void
Set up the level of security.toString()
JSON-style toString
-
Constructor Details
-
SecureLocationRequestBody
public SecureLocationRequestBody()Default constructor -
SecureLocationRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getDescription
Return the description of security at the site.- Returns:
- text
-
setDescription
Set up description of security at the site.- Parameters:
description
- text
-
getLevel
Return the level of security.- Returns:
- string
-
setLevel
Set up the level of security.- Parameters:
level
- string
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-