Interface KeyReference

All Superinterfaces:
WithKey
All Known Subinterfaces:
AssociateRoleKeyReference, BusinessUnitKeyReference, StoreKeyReference
All Known Implementing Classes:
AssociateRoleKeyReferenceImpl, BusinessUnitKeyReferenceImpl, KeyReferenceImpl, StoreKeyReferenceImpl

public interface KeyReference extends WithKey

A KeyReference represents a loose reference to another resource in the same Project identified by the resource's key field. If available, the key is immutable and mandatory. KeyReferences do not support Reference Expansion.


Example to create a subtype instance using the builder pattern

     KeyReference keyReference = KeyReference.associateRoleBuilder()
             key("{key}")
             .build()