Class FactoryIdentity


  • public class FactoryIdentity
    extends Object
    Identity properties of the factory resource.
    • Constructor Detail

      • FactoryIdentity

        public FactoryIdentity()
    • Method Detail

      • type

        public FactoryIdentityType type()
        Get the type property: The identity type.
        Returns:
        the type value.
      • withType

        public FactoryIdentity withType​(FactoryIdentityType type)
        Set the type property: The identity type.
        Parameters:
        type - the type value to set.
        Returns:
        the FactoryIdentity object itself.
      • principalId

        public UUID principalId()
        Get the principalId property: The principal id of the identity.
        Returns:
        the principalId value.
      • tenantId

        public UUID tenantId()
        Get the tenantId property: The client tenant id of the identity.
        Returns:
        the tenantId value.
      • userAssignedIdentities

        public Map<String,​Object> userAssignedIdentities()
        Get the userAssignedIdentities property: List of user assigned identities for the factory.
        Returns:
        the userAssignedIdentities value.
      • withUserAssignedIdentities

        public FactoryIdentity withUserAssignedIdentities​(Map<String,​Object> userAssignedIdentities)
        Set the userAssignedIdentities property: List of user assigned identities for the factory.
        Parameters:
        userAssignedIdentities - the userAssignedIdentities value to set.
        Returns:
        the FactoryIdentity object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.