Class SetAssetResponsibilitiesRequest
- Object
-
- SetAssetResponsibilitiesRequest
-
- All Implemented Interfaces:
Serializable
public class SetAssetResponsibilitiesRequest extends Object implements Serializable
The properties of the asset responsibilities to be set.Existing responsibilities for given asset and of given role are replaced by relations presented in this request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SetAssetResponsibilitiesRequest.Builder
-
Constructor Summary
Constructors Constructor Description SetAssetResponsibilitiesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SetAssetResponsibilitiesRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
@NotNull UUID
getAssetId()
Required. The ID of the asset.@NotNull List<UUID>
getOwnerIds()
Required. The IDs of the owners.@NotNull UUID
getRoleId()
Required. The ID of the role for the responsibilities to be set.int
hashCode()
void
setAssetId(@NotNull UUID assetId)
Required. The ID of the asset.void
setOwnerIds(@NotNull List<UUID> ownerIds)
Required. The IDs of the owners.void
setRoleId(@NotNull UUID roleId)
Required. The ID of the role for the responsibilities to be set.String
toString()
-
-
-
Method Detail
-
builder
public static SetAssetResponsibilitiesRequest.Builder builder()
-
getAssetId
@NotNull public @NotNull UUID getAssetId()
Required. The ID of the asset.
-
getRoleId
@NotNull public @NotNull UUID getRoleId()
Required. The ID of the role for the responsibilities to be set.
-
getOwnerIds
@NotNull public @NotNull List<UUID> getOwnerIds()
Required. The IDs of the owners. An owner is either user or group.
-
setAssetId
public void setAssetId(@NotNull @NotNull UUID assetId)
Required. The ID of the asset.
-
setRoleId
public void setRoleId(@NotNull @NotNull UUID roleId)
Required. The ID of the role for the responsibilities to be set.
-
setOwnerIds
public void setOwnerIds(@NotNull @NotNull List<UUID> ownerIds)
Required. The IDs of the owners. An owner is either user or group.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classObject
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-