public static EntityLinkOperation linkOptions(String contentKeyAuthorizationPolicyId,
            String contentKeyAuthorizationPolicyOptionId) {
        String escapedContentKeyId = null;
        try {
            escapedContentKeyId = URLEncoder.encode(contentKeyAuthorizationPolicyOptionId, "UTF-8");
        } catch (UnsupportedEncodingException e) {
            throw new InvalidParameterException("contentKeyId");
        }
        URI contentKeyUri = URI
                .create(String.format("ContentKeyAuthorizationPolicyOptions('%s')", escapedContentKeyId));
        return new EntityLinkOperation(ENTITY_SET, contentKeyAuthorizationPolicyId, "Options", contentKeyUri);
    }
public static EntityLinkOperation linkOptions ( String contentKeyAuthorizationPolicyId , String contentKeyAuthorizationPolicyOptionId ) { String escapedContentKeyId = null ; try { escapedContentKeyId = URLEncoder . encode ( contentKeyAuthorizationPolicyOptionId , "UTF-8" ) ; } catch ( UnsupportedEncodingException e ) { throw new InvalidParameterException ( "contentKeyId" ) ; } URI contentKeyUri = URI . create ( String . format ( "ContentKeyAuthorizationPolicyOptions('%s')" , escapedContentKeyId ) ) ; return new EntityLinkOperation ( ENTITY_SET , contentKeyAuthorizationPolicyId , "Options" , contentKeyUri ) ; }
Link a content key authorization policy options.

@param contentKeyAuthorizationPolicyId
the content key authorization policy id
@param contentKeyAuthorizationPolicyOptionId
the content key authorization policy option id
@return the entity action operation